Assignment 2
Assignment 2
Assignment 2
Bus Topology
A topology in which all of the computers in a network are attached to the continuous
cable or segments that are connects them in a straight line is called bus topology. In a
bus topology a set of clients are connected through a shared communication line called
bus. Terminators are used at the both end of cable to absorb the singles so it doesn’t
reflect back across the bus.
Advantages:
It is simple, reliable, and easy to use and understand.
The bus requires least amount of cabling to connect the computer together
therefore less expensive than other cabling arrangement.
It is easy to extend a bus, two cable can be joined into one long cable with a BNC
barrel network connector, making a longer cable and allowing more computer to
join the network.
Failure of one computer does not affect other.
Easiest network topology for connecting computer or peripherals in a linear
fashion and required less cable then star topology.
Disadvantages
Difficult to identify the problems of the whole network goes down.
Not great for large network as additional devices slow down the network.
Entire network shuts down if there is a break in the main cable.
Terminator are required for both ends of the main cable.
Ring topology
Ring topology, also known as ring network, is the type of network topology where each
node exactly connected to two other nodes, forward and backward, thus forming a
single continuous path for signal transmission. In this topology computers are arranged
In a circle and data moves around the ring in one direction. It has token passing method
to provide access to the devices in the network. The protocols used to implement ring
topology are token ring.
Advantages
All the data flows in one direction, reducing the chance of packet collisions.
A network server is not needed to control network connectivity between each
workstation.
Data can transfer between workstation at high speed.
Additional workstation can be added without impacting performance of the
network.
Because of every computer is given equal access to the token, no one computer
can monopolize the network.
Disadvantages
All data being transferred over the network must pass through each
workstation on the network, which can make it slower than star topology.
The entire network will be impacted if one workstation shuts down.
The hardware needed to connect each workstation to the network is more
expensive than Ethernet cards and hubs/switches.
More cabling is needed than a bus network.
Very hard to find out error.
Star topology
A network topology in which each of the devices and computers on a network connect
to a central hub or switch is called star topology. In a star topology network all cables
run from the computer to central location, where they are all connected by a device
called hub. Stars are used in concentrated network, where the end points are directly
reachable from the central location. A star network is best suited for smaller network
and work efficiently when there are a limited number of nodes. The common protocol
used in star topology are Ethernet, Token Ring, and LocalTalk.
Advantages
It is easy to remove and add new computers to star network without disturbing
the rest of the network.
Single computer failure does not necessarily bring down the whole star
network. The hub can be detect the problematic computer or network cable
and allow the rest of the network to continue functioning.
Centralized control.
Higher security.
Disadvantages
If the central hub fails, the whole network fails or stop.
It costs more to cable a star network because all network cable must be pulled
to one central point requiring more cable than other network topologies and
cost of hub.
Data collision rate is high.
Unguided media:
Unguided transmission media consist of a means for the data signals to travel but
nothing to guide them along a specific path. I.e. the data signals are not bound to a
cabling media so it is also called unbounded media. Unbounded media transmit data
through the open air. Radio waves, infrared signals and earth and satellite based
microwaves are all unbounded media.
Simplex:
The simplex transmission is the one that travels in only one direction. Out of the two
linked devices, only one of them can send data and the other one can only receive
data. This way of transmission can be also called unidirectional or one-way
transmission.
For example:
◦ Radio broadcasts
◦ Television broadcasts
◦ Internet streaming
Half duplex:
Half-duplex is a type of communication in which data can flow back and forth between
two devices but not simultaneously. Each device in a half-duplex system can send and
receive data but only one devices can transmit at a time.
For example:
◦ Walkie-talkie
◦ Fax machines
◦ Automatic teller machine
Full duplex
In the full duplex mode of transmission, the communication is bi-directional, and the
channel is used by both the connected devices simultaneously. If the transmission is
possible in two ways at a time then it is called full duplex transmission. In this
transmission signal going in either direction share the capacity of link.
Example:
◦ Telephone network
◦ Mobile communication
◦ Satellite communication
Circuit Switching
Circuit switching is a method of implementing a telecommunication network in which
two network nodes establish a dedicated communication cannel (circuit) route
network before the nodes may communicate. The circuit guarantees the full
bandwidth of cannel remains connected for duration of communication. The path gets
reserved during the duration of the connection. Circuit switching is commonly used in
the telephone communication network.
Message Switching
Message switching is a network switching technique in which data is routed in its
entirety from the source node to the destination node, one hope at a time. In this
switching, every intermediate switch in the network stores the whole message. If the
entire network's resources are engaged or the network becomes blocked, the
message-switched network stores and delays the message until ample resources
become available for effective transmission of the message.
Packet Switching
Packet switching is a digital network transmission process in which data is broken into
suitably- sized pieces or blocks for fast and efficient transfer via different network
devices. When a computer attempts to send a file to another computer, the file is
broken into packets of defined size so that it can be sent across the network in the
most efficient way. These packets are then routed by network devices to the
destination. Each packet is numbered.
A packet is a self-contained part of data that can be sent over the network. It contains
the data to be transmitted and a header that contains information about the packet,
like the source and destination addresses, size of packet, error checking bytes etc.
Since the path through which the packets travel is not reserved, the packets may travel
through different paths in the network and may not reach the destination in order. At
the destination, the received packets are reassembled (according to the packet
number), and the complete message is constructed. Packet switching is suited for
interactive traffic. Packet switching limits the size of the packet and does not block a
network node for a long Time. Moreover, a node can transmit a packet before the
arrival of another full packet, thus reducing the delay. Packet switching is commonly
used for computer networks, including the Internet.
Physical Layer:
The physical layer is primarily concerned with transmitting raw bits over a
communication channel and other physical aspects of media being used to transmit
the data. This layer specifies the basic network hardware. Some of the characteristics
defined in the specification are - interface between transmission media and device,
encoding of bits, bit rate, error detection parameters, network topology, and the mode
of transmission (duplex, half-duplex or simplex).
Network Layer:
This layer is responsible for source to destination delivery of a packet across
the multiple networks. It is responsible for providing connections and for routing
packets in the communication network. It ensures that each packet gets from its point
of origin to its final destination. The network layer specifies the assignment of IP
addresses (address structure, length of address etc.) to the packets and forwarding of
packets to the destination i.e. routing.
Transport Layer:
The transport layer is responsible for process to process delivery, which is source to
destination delivery of the entire message. This layer is also responsible for the
ordering and reassembly of packets that may have been broken up to travel across
certain media. It specifies the details to handle reliable transfer of data. It handles end-
to-end error control and flow control, breaking up data into frames and reassembling
the frames.
Session Layer:
The session layer allows the user on separate machines to establishes, manages,
maintains and terminates communication channels between software programs on
network nodes. Communication sessions consist of service a request and service
response that occurs between applications located in different network devices. The
session layer maintains a session between the communicating devices. It includes
specifications for password and authentication, and maintaining synchronization
between the sender and the receiver.
Presentation Layer:
The presentation layer is concerned with the syntax and semantics of the information
transmitted. It also concerned with other aspects of information representation such
as data compression which can be used to reduce the size of information that have to
be transmitted. This layer specifies the presentation and representation of data. Its
functions include translation of the representation of the data into an identifiable
format at the receiver end, encryption, and decryption of data etc.
Application Layer:
The application layer is closest to the end users and it provides application services for
remote login, file transfer, electronic mail. The application layer is used when
application on one machine starts communicating with another machine. This layer
specifies how an application uses a network. It deals with the services attached to the
data. It contains the protocols used by users like HTTP, protocol for file transfer and
electronic mail.
A Network Interface Card (NIC) is a hardware device through which the computer
connects to a network. NIC is an expansion card it can be either ISA or PCI, or can be
on-board integrated on a chipset. NIC work at both the data link layer and physical
layer of the OSI reference model. At the data link layer, NIC converts the data packets
into data frames, adds the Media Access address (MAC address) to data frames. At the
physical layer, it converts the data into signals and transmits it across the
communication medium. The MAC address is a globally unique hardware number
present on the IC and is specified by the NIC manufacturer. NIC depends upon the
configuration of the computer, unlike hub or switches that perform independently.
Bridge
Bridge is used to connect two LAN segments like a repeater; it forwards complete and
correct frames to the other segment. It does not forward any electrical interference
signals to the other segment. Bridge forwards a copy of the frame to the other
segment, only if necessary. If a frame is meant for a computer on the same segment,
then bridge does not forward a copy of the frame to other Bridge connects networks
that use different protocol at the Data Link Layer. The frame format or data in the two
networks is different. A bridge is also used to divide a network into separate broadcast
domains to reduce network graphic while maintaining connectivity between the
computers.
Switch
A data frame contains the MAC address of the destination computer. A switch receives
a signal as a data frame from a source computer on a port, checks the MAC address of
the frame, forwards the frame to the port connected to the destination computer
having the same MAC addresses, reconverts the frame back into signal and sends to
the destination computer. (Switching is a technique that reads the MAC address of the
data frame and forwards the data to the appropriate port). Switches, thus, regenerate
the signals.
Router
Hub:
It is like a repeater with multiple ports. But, hub does not amplify the incoming signal.
Hub operates at the Physical layer of OSI reference model, hence treats data as a
signal. Hubs are used to connect multiple segments of the same network. Hubs are
also used to connect computers to network that use Star topology. The port on the
hubs can also be used to connect another hub, switch, bridge or router. Hubs increase
the network traffic because they broadcast data to all the device connected all the
ports of the hub. It is preferable to use a hub in a small LAN having about 8-10
computers connected to it.