ACN Chapter 1 - Part 2 Notes
ACN Chapter 1 - Part 2 Notes
The "Advanced Computer Network" subject in a diploma or engineering program typically covers in-
depth topics related to computer networking. The curriculum aims to provide students with a
comprehensive understanding of advanced networking concepts, protocols, and technologies.
Chapters / Syllabus
2. Next Generation IP
In advanced computer networks, the Internet Protocol (IP) is a critical component that
enables devices to communicate across diverse networks. It’s the foundation of the Internet,
responsible for addressing, routing, and delivering packets of data from a source to a
destination.
IP determines the best path for data to travel from the source to the destination. Routers,
devices that connect different networks, use routing tables and protocols (like OSPF, BGP) to
manage and optimize this process.
1. IP Addressing:
Each device on a network is assigned a unique IP address, which acts like a postal address for
data packets. There are two main versions: IPv4 and IPv6.
▪ IPv4: Uses 32-bit addresses, allowing for about 4.3 billion unique addresses (e.g.,
192.168.1.1).
▪ IPv6: Uses 128-bit addresses, vastly expanding the number of possible addresses
(e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334).
In advanced computer networks, a datagram is a basic unit of data that is transmitted across a
network, particularly in connectionless communication protocols like the Internet Protocol
(IP). The datagram format is crucial for understanding how data is structured and transmitted
between devices on a network.
1. Header: Contains control information such as source and destination addresses, error
checking, and other metadata.
2. Payload: Contains the actual data being transmitted, often referred to as the "data
field."
1. Version (4 bits):
o Indicates the IP version being used. For IPv4, this value is 4.
2. Header Length (4 bits):
o Specifies the length of the IP header in 32-bit words. This is important because
the header can include optional fields that extend its length beyond the
standard 20 bytes.
3. Type of Service (8 bits):
o Also known as the Differentiated Services (DS) field, this specifies the priority
of the datagram and can be used to define Quality of Service (QoS) settings,
such as prioritizing voice or video traffic.
4. Total Length (16 bits):
o Indicates the total length of the IP datagram, including the header and payload.
The maximum size is 65,535 bytes.
5. Identification (16 bits):
o A unique identifier assigned to each datagram, used in the fragmentation and
reassembly process. If a datagram is fragmented, all fragments carry the same
identification number to be correctly reassembled by the destination.
6. Flags (3 bits):
o Controls fragmentation. The first bit is reserved, the second bit (Don't
Fragment, DF) indicates whether the datagram can be fragmented, and the
third bit (More Fragments, MF) indicates whether more fragments are coming.
7. Fragment Offset (13 bits):
o Indicates the position of a fragment within the original datagram. This is used
to reassemble the datagram correctly at the destination.
8. Time to Live (TTL) (8 bits):
o Limits the datagram's lifespan, measured in hops (i.e., the number of routers
the datagram can pass through). Each router that forwards the datagram
decreases the TTL by one. If TTL reaches zero, the datagram is discarded to
prevent it from circulating indefinitely.
9. Protocol (8 bits):
1. Creation:
o The sender’s network stack creates the datagram, encapsulating the payload
with the appropriate header information.
2. Fragmentation (if necessary):
o If the datagram exceeds the Maximum Transmission Unit (MTU) of the
network path, it’s fragmented into smaller pieces, each with its own header but
sharing the same identification number.
3. Transmission:
o The datagram (or its fragments) is routed through the network, with each
router examining the header to forward it toward its destination.
• Efficiency: The datagram format ensures efficient use of network resources, allowing
data to be routed independently of the sender or receiver's state.
• Scalability: Datagram networks can easily scale, as each datagram is self-contained
and can be handled independently.
• Flexibility: The use of fragmentation and reassembly allows datagrams to traverse
networks with different MTU sizes, ensuring data delivery even in complex
environments.
2.3 Fragmentation -:
Fragmentation in advanced computer networks refers to the process of breaking down a large
data packet into smaller fragments so that it can be transmitted over a network that has a
smaller maximum transmission unit (MTU) size than the original packet. This process is
necessary when a packet is larger than the MTU supported by the network layer or the data
link layer of the underlying network.
1. Overhead:
o Fragmentation adds overhead because each fragment requires its own headers.
This increases the total amount of data sent across the network.