Docsity

Network Fundamental in Basic, Cheat Sheet of Computer Networks

Partial preview of the text

Download Network Fundamental in Basic and more Cheat Sheet Computer Networks in PDF only on Docsity!

Network

Fundamental

Class 01

Network

Fundamental

What is a Computer Network?

A set of communication elements
connetcted by
Communication links

OSI Model

 Bus Topology: In a bus topology, all devices are connected to a single communication channel, called a bus. Data is transmitted on the bus, and each device receives the data intended for it. However, if the bus fails, the entire network can be affected.  Star Topology: In a star topology, each device is connected to a central hub or switch using individual point-to-point connections. All communication between devices passes through the central hub. If one device fails, it does not impact the rest of the network, but the failure of the central hub can bring down the entire network.  Ring Topology: In a ring topology, devices are connected in a closed loop, where the output of one device is connected to the input of the next device, forming a ring. Each device receives data from its preceding device and forwards it to the next device in the ring. The failure of a single device can disrupt the entire network.  Mesh Topology: In a mesh topology, each device is connected to every other device in the network, creating multiple paths for data transmission. This redundancy improves network reliability and fault tolerance, as there are alternative routes available if one link or device fails. However, mesh topologies can be expensive to implement and require more cabling.  Hybrid Topology: A hybrid topology combines two or more different topologies. For example, a network may have a main star topology with multiple branches that use a bus or ring topology. Hybrid topologies are used to achieve specific requirements, such as scalability, fault tolerance, or optimizing network performance.

Common Network devices

Hub:

A hub is a basic network device that works at the physical layer of the OSI model. It consists of multiple ports
to which network devices can be connected. When a hub receives a data packet on one port, it broadcasts the
packet to all other ports. In other words, the hub replicates and sends incoming traffic to all connected
devices, irrespective of the intended recipient. As a result, all devices on a hub share the available bandwidth,
and collisions can occur if multiple devices attempt to transmit data simultaneously. Hubs are considered
shared media devices, and they do not have any intelligence to selectively forward traffic based on MAC
addresses.

Bridge

A bridge is a network device
that operates at the data link
layer (Layer 2) of the OSI
model.

It connects two or more network segments, such as LANs, and selectively forwards data packets between them. Bridges use MAC (Media Access Control) addresses to make forwarding decisions.

Key characteristics of bridges include:

 MAC Address Filtering: Bridges maintain a table called the MAC address table or bridge table, which maps MAC addresses to specific ports. When a data frame arrives, the bridge examines the destination MAC address and forwards the frame only to the port associated with that address, allowing communication between devices on different segments while reducing unnecessary traffic.  Segmentation: Bridges help to segment networks into smaller collision domains, reducing congestion and improving network performance.  Transparent Operation: Bridges operate transparently, meaning that connected devices are unaware of their presence. They do not require any configuration or IP addressing and simply forward data packets based on MAC addresses.

Router A router is a networking device that operates at the network layer (Layer 3) of the OSI model. It connects multiple networks together and makes decisions on how to forward data packets based on the destination IP address. Routers are commonly used in TCP/IP networks, such as the internet or corporate networks.

Key characteristics of routers include:

IP Address Forwarding: Routers use IP addresses to determine the best path for forwarding packets between networks. They maintain a routing table that contains information about network destinations and their associated next-hop routers. This allows routers to make intelligent routing decisions based on the destination IP address of the packet.

Path Determination: Routers determine the most efficient path for data transmission by considering factors such as network congestion, link quality, and other metrics. They choose the optimal path to ensure packets reach their intended destinations with minimal delay and maximum efficiency.

Interconnect Networks: Routers connect networks with different IP address ranges or protocols. They provide connectivity between local area networks (LANs), wide area networks (WANs), and the internet.

Network Address Translation (NAT): Routers often include NAT functionality, which allows private IP addresses within a local network to be translated into a single public IP address for communication with the internet. NAT helps conserve IP addresses and provides an additional layer of security.

Gateway:
A gateway is a network device or a software system that serves as an entrance or exit point between different networks
or network protocols. It acts as an interface between networks that use different communication protocols and can
perform various functions such as protocol translation, data format conversion, and network interconnection.
Key characteristics of gateways include:

 Protocol Translation: Gateways can translate data between different communication protocols, allowing devices or networks that use incompatible protocols to communicate with each other. For example, a gateway may translate data between TCP/IP and a legacy protocol like X.25.  Interconnect Networks with Different Protocols: Gateways enable communication between networks that use different protocols, such as connecting a local Ethernet network to a remote network that uses Token Ring.  Security and Access Control: Gateways often include security features such as firewall functionality, intrusion detection, and access control. They can enforce security policies and filter network traffic to protect network resources.  Application Layer Functions: Gateways can provide application layer services, such as email gateways that handle email routing between different email systems or web gateways that perform content filtering and caching for web traffic.

Data Link

Layer

It is responsible for node to node delivery of messages

Check if data is error free

Packets receive from Network layer is further into frames depending on frame size of NIC

When frame buffer is full it stops transmitting the signal

We use Switch & Bridge as a DLL Device