Finalcomputer Networks 1
Finalcomputer Networks 1
Network Protocols:
1. DHCP (Dynamic Host Configuration Protocol):
• DHCP is responsible for dynamically assigning IP addresses to devices on a
network.
• It allows for automatic IP address configuration, subnet mask assignment,
default gateway assignment, and DNS server assignment.
2. FTP (File Transfer Protocol):
• FTP is used for transferring files over a network.
• It provides functions for uploading, downloading, renaming, deleting, and
managing files on remote servers.
3. IP (Internet Protocol):
• IP is a network layer protocol that enables the routing of data packets across
different networks.
• It defines the format of IP addresses and is responsible for packet addressing,
fragmentation, and reassembly.
4. DNS (Domain Name System):
• DNS translates domain names (e.g., www.example.com) into IP addresses.
• It maintains a distributed database of domain names and their corresponding
IP addresses, allowing users to access websites using human-readable names.
Concepts:
1. End Systems:
• End systems, also known as hosts, refer to devices such as computers,
laptops, servers, or any other device connected to a network.
• They are the source or destination of data transmitted over the network.
2. End Devices:
• End devices are devices located at the network edges that interact directly
with users.
• Examples include computers, smartphones, tablets, printers, etc.
3. Network Edge:
• The network edge represents the boundary or interface between an end
system and the rest of the network.
• It is the point where end devices connect to the network infrastructure.
4. Network Core:
• The network core refers to the central part of a network.
• It consists of high-capacity routers and switches that interconnect multiple
networks and ensure data forwarding across the network.
Operation Functions and Principles of Network Layers:
1. OSI Model:
• The OSI (Open Systems Interconnection) model is a conceptual framework
that defines seven layers: Physical, Data Link, Network, Transport, Session,
Presentation, and Application.
• Each layer has specific functions and protocols to facilitate communication
between systems.
2. TCP/IP Model:
• The TCP/IP model is a widely used networking model that consists of four
layers: Network Interface, Internet, Transport, and Application.
• It is the foundation of the modern internet.
3. IP Stack:
• The IP stack refers to the combination of protocols and software that
implement the TCP/IP protocol suite.
• It enables communication between devices in a TCP/IP network.
Data Encapsulation Process:
• Data encapsulation involves adding headers, trailers, or other control information to
data as it moves down the protocol stack.
• Each layer adds its own protocol-specific information.
• Encapsulation allows data to be transmitted across different layers and received at
the destination.
Protocol Data Units (PDUs) at the Layers of the OSI Model:
• Physical Layer: Bits
• Data Link Layer: Frames
• Network Layer: Packets
• Transport Layer: Segments
• Session, Presentation, and Application Layers: Data, Messages, or Application-
specific units
Abbreviated Terms:
• NAT (Network Address Translation): A technique that allows multiple devices on
a local network to share a single public IP address.
• ARP (Address Resolution Protocol): Resolves IP addresses to MAC addresses on a
local network.
• RIP (Routing Information Protocol): A distance-vector routing protocol used to
exchange routing information between routers.
• DNS (Domain Name System): Translates domain names into IP addresses.
• IPS (Intrusion Prevention System): A network security device that monitors and
prevents potential threats.
Chapter 04: The Network Layer: Data Plane and Control Plane
Roles, Functions, and Operating Principles of the Router:
− Roles:
• Routers are networking devices that operate at the network layer (Layer 3)
of the OSI model.
• They connect multiple networks together and forward packets between them.
− Functions:
• Packet Forwarding: Routers examine the destination IP address of incoming
packets and determine the best path to forward them to their destinations.
• Routing Table Management: Routers maintain routing tables that contain
information about network topology and available paths.
• Path Selection: Routers use routing protocols and algorithms to select the
most efficient path for packet forwarding.
• Network Address Translation (NAT): Routers can perform NAT to translate
private IP addresses to public IP addresses and vice versa, allowing devices
with private addresses to communicate over the internet.
− Operating Principles:
• Routers use routing protocols (e.g., OSPF, BGP) to exchange routing
information and build a routing table.
• They use algorithms (e.g., shortest path, link-state) to determine the best path
for packet forwarding.
• Routers examine the destination IP address of each packet, perform table
lookups, and make forwarding decisions based on routing information.
Comparison between IPv4 and IPv6:
− IPv4:
• 32-bit addressing scheme.
• Address format: A.B.C.D, where A, B, C, and D are decimal numbers
ranging from 0 to 255.
• Limited address space (approximately 4.3 billion unique addresses).
• Widely used but facing address exhaustion issues.
• Uses subnet masks for network and host identification.
• Does not provide built-in security features.
− IPv6:
• 128-bit addressing scheme.
• Address format: Eight groups of four hexadecimal digits separated by colons
(e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334).
• Enormous address space (approximately 3.4×10^38 unique addresses).
• Designed to address the limitations of IPv4 and support future growth.
• Simplified header format and improved routing efficiency.
• Built-in support for security and QoS (Quality of Service).
Characteristics of IPv4 Classes and Identification:
− IPv4 Class A:
• Range: 1.0.0.0 to 126.255.255.255
• Network portion: First octet (A.x.x.x)
• Largest network size, smallest number of networks
• Default subnet mask: 255.0.0.0
− IPv4 Class B:
• Range: 128.0.0.0 to 191.255.255.255
• Network portion: First two octets (B.B.x.x)
• Moderate network size, moderate number of networks
• Default subnet mask: 255.255.0.0
− IPv4 Class C:
• Range: 192.0.0.0 to 223.255.255.255
• Network portion: First three octets (C.C.C.x)
• Smallest network size, largest number of networks
• Default subnet mask: 255.255.255.0
− IPv4 Class D:
• Range: 224.0.0.0 to 239.255.255.255
• Reserved for multicast addresses.
Private IPv4 Address vs. Public IPv4 Address:
− Private IPv4 Address:
• Used within private networks (e.g., home, office, internal networks).
• Not routable over the public
internet.
• Reserved address ranges: 10.0.0.0 to 10.255.255.255, 172.16.0.0 to
172.31.255.255, 192.168.0.0 to 192.168.255.255.
• Allows multiple devices to share a single public IP address using NAT.
− Public IPv4 Address:
• Used for devices connected to the public internet.
• Routable and globally unique.
• Limited availability due to IPv4 address exhaustion.
Data Unit at Network Layer:
• Packet: At the network layer, data is encapsulated into packets. A packet consists of
the network layer header (containing source and destination IP addresses, protocol
information, etc.) and the encapsulated data (payload).
Subnet Division, VLSM, and Subnet Mask Calculation:
• Subnet Division: Subnetting involves dividing a network into smaller subnetworks
to efficiently allocate IP addresses and manage network traffic. It allows for better
network organization and optimization.
• VLSM (Variable Length Subnet Masking): VLSM allows for the allocation of
different subnet masks to different subnets within a network, based on their size
requirements. It enables efficient utilization of IP address space.
• Subnet Mask Calculation: To calculate the subnet mask, you need to determine the
network and host portions of an IP address. The subnet mask contains a series of
contiguous 1s followed by contiguous 0s. The number of 1s determines the network
portion length.
Abbreviated Terms:
• NAT (Network Address Translation): NAT is a technique that translates IP
addresses between private and public networks, enabling communication between
devices with private addresses and the public internet.
• ARP (Address Resolution Protocol): ARP is used to map an IP address to a MAC
address on a local network. It resolves IP addresses to corresponding MAC
addresses.
• RIP (Routing Information Protocol): RIP is a dynamic routing protocol used to
exchange routing information between routers in a network. It helps routers
determine the best paths for packet forwarding.
• DNS (Domain Name System): DNS is a system that translates domain names (e.g.,
www.example.com) into IP addresses. It enables users to access resources on the
internet using domain names instead of IP addresses.
• IPS (Intrusion Prevention System): IPS is a security system that monitors network
traffic for potential threats or attacks and takes preventive measures to protect the
network.
Note: There may be additional terms related to the network layer, but these are some of the
commonly used ones.