Networking
Networking
Topology:
The physical Layout of network is called topology.
The following are the main topologies used in network,
Mesh:
In a mesh topology, every device has a dedicated point-to-point link to every
other device.
Advantages
Mesh Topology offers high reliability .
It allows data to take multiple paths.
Disadvantages:
It is expensive to install
It is complex to maintain.
Star Topology:
In a star topology, each device has a dedicated
point-to-point link only to a central controller,
usually called a Hub/Switch.
Advantages:
Star Topology is easy to manage.
A failure in one cable does not affect others.
Disadvantages:
it is expensive due to the central hub.
if the hub fails, the entire network goes down.
Bus Topology:
A bus topology, on the other hand, is multipoint. One long cable acts as a
backbone to link all the devices in a network.
Advantages:
Bus Topology cost-effective.
It is easy to install
Disadvantages:
It is difficult to troubleshoot.
A break in the cable disrupts the entire network.
Ring Topology:
In a ring topology, each device has a dedicated point-to-point connection
with only the two devices on either side of it.
Advantages:
Ring Topology is easy to install
It works well for small networks.
Disadvantages:
A failure in any cable or device breaks the loop
It makes troubleshooting harder.
OSI Model:
o OSI stands for Open System Interconnection is a reference model that describes
how information from a software application in one computer moves through a
physical medium to the software application in another computer.
o OSI model was developed by the International Organization for Standardization
(ISO) in 1984, and it is now considered as an architectural model for the inter-
computer communications.
o OSI model divides the whole task into seven smaller and manageable tasks. Each
layer is assigned a particular task.
The data link layer is responsible for moving frames from one hop (node) to the next.
1. **Framing**: The data link layer breaks the stream of bits from the network layer into
smaller units called frames.
4. **Error Control**: The data link layer improves reliability by detecting and retransmitting
damaged or lost frames. It also prevents sending duplicate frames. This is done by adding
a trailer at the end of each frame for error checking.
5. **Access Control**: When multiple devices share the same link, the data link layer
protocols decide which device can use the link at any given time.
Network Layer:
The network layer is responsible for the delivery of individual packets from the source
host to the destination host.
o It is a layer 3 that manages device addressing, tracks the location of devices on the
network.
o It determines the best path to move data from source to the destination based on
the network conditions, the priority of service, and other factors.
1. Logical Addressing: The data link layer handles local addressing, but when a packet
moves across network boundaries, we need another addressing system to distinguish the
source and destination systems. The network layer adds a header to the packet that
includes logical addresses of the sender and receiver.
2. **Routing**: When different networks or links are connected to form a larger network
or an internetwork, devices like routers or switches help route or switch packets to their
final destination. The network layer is responsible for managing this process.