4 Network Layer

Computer Networks · Unit 4 · 10 hrs

Network Layer

Exam-focused notes for Network Layer (Computer Networks, CSC263): what the TU syllabus asks and how it has actually been tested, with 20 solved past questions from this unit.

Network Layer in short

This chapter is the addressing and routing core of the course: how the network layer moves packets between different networks, how IPv4 and IPv6 addresses are structured and subnetted, how a router picks the best path, and the protocols, transition mechanisms and security controls that keep that path working.

Network Layer: notes

Introduction and Functions

The network layer selects and manages the best logical path for data between hosts on different networks. It translates a logical (IP) address into the physical address needed for local delivery, manages device addressing and tracks where devices sit on the network, and determines the best route to move data, work carried out by routers and gateways. It also breaks oversized packets into smaller ones when a link cannot carry the original size, and provides connection services such as network-layer flow control, error control and packet sequencing.

IPv4 Addressing and Subnetting

An IPv4 address is a 32-bit number, usually written in dotted decimal notation as four 8-bit octets, that uniquely identifies one connection to a network; no two devices can hold the same address on the same network at the same time. Addresses are allocated by the Internet Assigned Numbers Authority (IANA). Every address splits into a network part and a host part.

Subnetting divides one network into several smaller subnetworks by borrowing bits from the host part and adding them to the network part, which is why it is implemented through a variable-length subnet mask. It exists because a single very large network becomes hard to manage and route efficiently, so an administrator borrows host bits to create a subnet mask, a 32-bit pattern of 1s (network/subnet bits) and 0s (host bits) that tells a device which portion of an address is the network.

Subnetting is easiest to work through with a worked example. Take the address $200.100.10.66/26$.

$$ \begin{aligned} \text{Subnet mask (binary)} &= 11111111.11111111.11111111.11000000 \ &= 255.255.255.192 \end{aligned} $$

With 6 host bits remaining ($32-26$), the block size in the last octet is $2^6=64$, so the subnets of $200.100.10.0/24$ step in blocks of 64:

Subnet (network address)First usable hostLast usable hostBroadcast address
200.100.10.0/26200.100.10.1200.100.10.62200.100.10.63
200.100.10.64/26200.100.10.65200.100.10.126200.100.10.127
200.100.10.128/26200.100.10.129200.100.10.190200.100.10.191
200.100.10.192/26200.100.10.193200.100.10.254200.100.10.255

The address $200.100.10.66$ falls in the second block, so: it is a host address (not a network or broadcast address); the network address is $200.100.10.64$; the broadcast address is $200.100.10.127$; the first usable host is $200.100.10.65$ and the last is $200.100.10.126$; the number of usable hosts is $2^6-2=62$ (all-0s host bits are the network address and all-1s host bits are the broadcast address, so neither is assignable to a host); and the next subnet begins at $200.100.10.128$.

The same method applies with more host bits borrowed from a larger block. For $172.16.0.0/17$, 15 host bits remain, giving a mask of $255.255.128.0$, blocks of $2^{15}=32{,}768$ addresses, a network address of $172.16.0.0$, a broadcast address of $172.16.127.255$, a usable host range of $172.16.0.1$ to $172.16.127.254$, and $2^{15}-2=32{,}766$ usable hosts.

For $10.1.0.0/9$, 23 host bits remain, giving a mask of $255.128.0.0$. This splits $10.0.0.0/8$ into exactly two /9 blocks:

SubnetUsable host rangeBroadcast
10.0.0.0/910.0.0.1 to 10.127.255.25410.127.255.255
10.128.0.0/910.128.0.1 to 10.255.255.25410.255.255.255

The address $10.1.0.0$ falls in the first block, so its network address is $10.0.0.0$, its broadcast address is $10.127.255.255$, and it has $2^{23}-2=8{,}388{,}606$ usable hosts.

A host address does not need to be manually configured for every device: Dynamic Host Configuration Protocol (DHCP) lets a host request an address, subnet mask, default gateway and DNS server automatically from a DHCP server when it joins the network, instead of an administrator assigning every address by hand.

Classful and Classless Addressing

Classful addressing splits the whole IPv4 address space into five classes, identified by the leading bits of the first octet:

ClassLeading bitsFirst octet rangeDefault maskNetwork/host bits
A00 to 127255.0.0.0 (/8)8 / 24
B10128 to 191255.255.0.0 (/16)16 / 16
C110192 to 223255.255.255.0 (/24)24 / 8
D (multicast)1110224 to 239not definednot defined
E (reserved)1111240 to 255not definednot defined

A host ID of all 0s denotes the network itself and an all-1s host ID is the broadcast address, so neither can be assigned to a host; a network ID cannot be all 0s or all 1s either, and $127.x.x.x$ is reserved for the loopback address rather than a real network. This scheme wastes addresses badly (a single host needing more than 254 addresses had to be given an entire Class B network of over 65,000 addresses), which motivated classless addressing.

Classless Inter-Domain Routing (CIDR) drops the fixed class boundaries and instead lets a network's prefix length be any value, written as /n after the address, so a block can be sized to what a customer actually needs rather than to the nearest whole class. The address is split into a prefix (network) and suffix (host), and any valid CIDR block must have its addresses contiguous, its size a power of two, and its first address exactly divisible by that size.

Take $205.16.37.29/28$: the mask is $255.255.255.240$ (28 ones, 4 host bits, block size 16). Masking the address against the mask (bitwise AND) gives the network address $205.16.37.16$; OR-ing the address with the complement of the mask gives the broadcast address $205.16.37.31$; and the number of addresses in the block is $2^4=16$ (14 usable hosts, from $205.16.37.17$ to $205.16.37.30$).

Supernetting works in the opposite direction to subnetting: several small, equally sized, contiguous networks are combined into one larger routing entry, reducing the number of rows a router must hold in its routing table. It is valid only when the blocks are contiguous, the same size (a power of two), and the first network's address is exactly divisible by the combined block size, checked by confirming that the low-order bits corresponding to the combined block size are all zero in the first network's binary address.

What this unit covers

  • Introduction and Functions
  • IPv4 Addressing & Sub-netting
  • Class-full and Classless Addressing
  • IPv6 Addressing and its Features
  • IPv4 and IPv6 Datagram Formats
  • Comparison of IPv4 and IPv6 Addressing
  • Example Addresses: Unicast, Multicast and Broadcast
  • Routing
  • Introduction and Definition
  • Types of Routing (Static vs Dynamic, Unicast vs Multicast, Link State vs Distance Vector, Interior vs Exterior)
  • Path Computation Algorithms: Bellman Ford, Dijkstra's
  • Routing Protocols: RIP, OSPF & BGP
  • Overview of IPv4 to IPv6 Transition Mechanisms
  • Overview of ICMP/ICMPv6&NATing
  • Overview of Network Traffic Analysis
  • Security Concepts: Firewall & Router Access Control

IPv4 and IPv6 Datagram Formats

2081 · 10 marks

Provide reasons for transitions from IPv4 to IPv6. Describe the IPv6 datagram format.[10]

--- IPv4 uses 32-bit addresses, providing approximately 4.3 billion (2^32) unique addresses. With the explosive growth of internet-connected devices (smartphones, IoT devices, etc.), this address space has been exhausted. IPv6 uses 128-bit addresses, providing approximately 3.4 × 10^38 unique add...

Open this answer on its own page →

Overview of ICMP/ICMPv6&NATing

2081 · 5 marks

Write short notes on: a. ICMP b. IGMP [5]

--- Definition: ICMP stands for Internet Control Message Protocol. It is a network layer protocol that is responsible for providing hosts with information about network problems in a TCP/IP network. Key Points: - ICMP is part of the Internet layer (Network layer) of the TCP/IP model. - It does no...

Open this answer on its own page →

2076 · 5 marks

What is NAT? How does it work? What are its benefits? [5]

NAT (Network Address Translation) is a networking technique in which a router or firewall modifies the IP address information in packet headers as traffic passes through it. It allows multiple devices on a private (local) network to share a single public IP address when communicating with the out...

Open this answer on its own page →

IPv4 Addressing & Sub-netting

2081 · 5 marks

Assume a class C network and divide it into three subnets. What is the value of the new subnet? [5]

Show solved answer

Subnetting a Class C Network into Three Subnets

Given

  • Network Class: Class C
  • Default Subnet Mask: 255.255.255.0 (/24)
  • Network bits: 24, Host bits: 8
  • Required subnets: 3
  • Example network (for illustration, standard assumption): 192.168.1.0

No specific IP address is given in the question, so a representative network 192.168.1.0 is used only for demonstration.


Solution

Step 1: Bits to Borrow

Number of subnets = $2^n$, where $n$ = borrowed bits.

We need at least 3 subnets:

Borrowed bits $n$Subnets $2^n$Enough for 3?
12No
24Yes

So borrow $n = 2$ bits.

Step 2: New Subnet Mask

Remaining host bits = $8 - 2 = 6$.

$$ \text{New mask} = 11111111.11111111.11111111.\underline{11}000000 $$

$$ \boxed{255.255.255.192 ;(/26)} $$

Step 3: New Subnet Value (Block Size / Increment)

$$ \text{Block size} = 2^{\text{remaining host bits}} = 2^{6} = 64 $$

Alternatively, block size = $256 - 192 = 64$.

$$ \boxed{\text{Subnet value} = 64} $$

Step 4: Resulting Subnets (using 192.168.1.0)

SubnetNetworkHost RangeBroadcast
0192.168.1.0.1 - .62192.168.1.63
1192.168.1.64.65 - .126192.168.1.127
2192.168.1.128.129 - .190192.168.1.191
3192.168.1.192.193 - .254192.168.1.255

Three of these four subnets satisfy the requirement.

Step 5: Usable Hosts per Subnet

$$ 2^{6} - 2 = 64 - 2 = 62 \text{ hosts} $$


Summary

ParameterValue
Bits borrowed2
Subnets created4 (3 required)
New Subnet Mask255.255.255.192
New Subnet Value (block size)64
Usable hosts/subnet62
Open this answer on its own page →

2080 · 5 marks

Suppose you are given an IP address 172.16.0.0, perform subnetting and divide the given network into 2 subnets. Calculate total number of hosts that can be configured, range of the IP addresses. [5]

  • IP address: 172.16.0.0 - Required number of subnets: 2 First octet = 172, which lies in the range 128 to 191, so this is a Class B address. - Default subnet mask = 255.255.0.0 (/16) - Network bits = 16, Host bits = 16 To get 2 subnets, use $2^n \ge 2$: $$2^1 = 2 \ge 2 \Rightarrow n = 1 \text{ b...
Open this answer on its own page →

2079 · 5 marks

Write the subnet ID and broadcast address of each subnet if you divide a class C network (192.168.3.0 – 192.168.3.255) into 4 different subnets. What is the new subnet mask? [5]

Show solved answer

Subnetting Class C Network (192.168.3.0 - 192.168.3.255) into 4 Subnets

Given

  • Network: 192.168.3.0 - 192.168.3.255 (Class C, default mask /24 = 255.255.255.0)
  • Required subnets: 4

Step 2: Bits to Borrow

To create 4 subnets:

$$2^n \geq 4 \implies 2^2 = 4 \implies n = 2 \text{ bits}$$

Borrow 2 bits from the host portion.


Step 3: New Subnet Mask

Original:

11111111.11111111.11111111.00000000 = 255.255.255.0   (/24)

Borrow 2 host bits:

11111111.11111111.11111111.11000000 = 255.255.255.192 (/26)

New Subnet Mask = 255.255.255.192 (/26)


Step 4: Block Size

$$\text{Block Size} = 256 - 192 = 64$$

Remaining host bits $= 8 - 2 = 6 \Rightarrow 2^6 = 64$ addresses per subnet (62 usable).


Step 5: Subnet Table

SubnetSubnet ID (Network Address)Broadcast AddressUsable Host Range
1192.168.3.0192.168.3.63192.168.3.1 - 192.168.3.62
2192.168.3.64192.168.3.127192.168.3.65 - 192.168.3.126
3192.168.3.128192.168.3.191192.168.3.129 - 192.168.3.190
4192.168.3.192192.168.3.255192.168.3.193 - 192.168.3.254

Step 6: Rule

  • Subnet ID = first address of each block (host bits all 0).
  • Broadcast = last address of each block (host bits all 1).

Summary

ParameterValue
Original Network192.168.3.0/24
Subnets4
Bits Borrowed2
New Subnet Mask255.255.255.192 (/26)
Addresses / Subnet64 (62 usable)
Open this answer on its own page →

2078 · 5 marks

What subnet ID and broadcast address of each subnet if you divide a class B network (150.10.0.0 – 150.10.255.255) in 4 different subnets. What is the new subnet mask? [5]

Show solved answer

Subnetting Class B Network 150.10.0.0 into 4 Subnets

Given

  • Network: 150.10.0.0 to 150.10.255.255
  • Network Address: 150.10.0.0
  • Class B default mask: 255.255.0.0 (/16)
  • Host bits: 16 (last two octets)
  • Required subnets: 4

Step 2: Bits to Borrow

$$2^n \geq 4 \implies n = 2 \text{ bits}$$

Borrow 2 bits from the host portion (third octet).


Step 3: New Subnet Mask

New prefix = $16 + 2 = /18$

Third octet: $11000000_2 = 192$

$$\boxed{\text{New Subnet Mask} = 255.255.192.0 ;(/18)}$$


Step 4: Block Size

$$\text{Block Size} = 256 - 192 = 64$$

Subnets increment by 64 in the third octet.

Hosts per subnet: $2^{14} - 2 = 16382$ usable hosts.


Step 5: Subnet Details

SubnetSubnet IDFirst HostLast HostBroadcastMask
1150.10.0.0150.10.0.1150.10.63.254150.10.63.255255.255.192.0
2150.10.64.0150.10.64.1150.10.127.254150.10.127.255255.255.192.0
3150.10.128.0150.10.128.1150.10.191.254150.10.191.255255.255.192.0
4150.10.192.0150.10.192.1150.10.255.254150.10.255.255255.255.192.0

Summary

  • New Subnet Mask: 255.255.192.0 (/18)
  • Subnet IDs: 150.10.0.0, 150.10.64.0, 150.10.128.0, 150.10.192.0
  • Broadcast Addresses: 150.10.63.255, 150.10.127.255, 150.10.191.255, 150.10.255.255
Open this answer on its own page →

2076 · 5 marks

In a block of address, we know the IP Address of one host is 192.34.12.56/28. What are the first address(network address) and the last address (limited broadcast address) in this block? [5]

  • IP Address: $192.34.12.56/28$ - Prefix length: $/28$ (28 network bits) Only the last octet varies; first three octets remain $192.34.12$. --- $/28$ means 28 ones followed by 4 zeros: $$11111111.11111111.11111111.11110000 = 255.255.255.240$$ --- $$\text{Block size} = 256 - 240 = 16$$ Network bou...
Open this answer on its own page →

2080.1 · 5 marks

Write short notes on : a. IPv4 b. Infrared [5]

--- IPv4 is the fourth version of the Internet Protocol and is one of the core protocols of the Internet Protocol Suite. It is a connectionless protocol used for transmitting data packets across networks. - Address Size: IPv4 uses a 32-bit address, which allows for approximately 4.3 billion (2^32...

Open this answer on its own page →

2080.1 · 5 marks

Suppose you are given an IP address 192.168.0.0, perform subnetting and divide the given network in 2 subnets. Calculate total number of host that can be configured, range of IP address. [5]

  • IP address: 192.168.0.0 - Required number of subnets: 2 The first octet is 192, which lies in the range 192-223, so this is a Class C address. - Default subnet mask: $255.255.255.0$ (/24) - Network bits = 24, Host bits = 8 To create 2 subnets, use $2^n \ge$ number of subnets: $$2^1 = 2 \ge 2 \R...
Open this answer on its own page →

Class-full and Classless Addressing

2080 · 10 marks

What is classless addressing? Explain distance vector routing with a suitable example.[10]

--- Classless Inter-Domain Routing (CIDR) is a method used by Internet Service Providers (ISPs) to allocate IP addresses in variable-sized blocks, without being restricted to the traditional Class A, B, or C boundaries. It replaces the old classful addressing system and allows more efficient use ...

Open this answer on its own page →

2080.1 · 10 marks

What is classful addressing? Explain link state routing with a suitable example.[10]

--- Classful addressing is a method of organizing and allocating IPv4 addresses in which the 32-bit address space is divided into five fixed classes: A, B, C, D, and E. Each class occupies a specific portion of the address space, and the class of an address can be determined directly from the lea...

Open this answer on its own page →

Types of Routing

2080 · 5 marks

Differentiate between link state and distance vector routing. [5]

Distance Vector Routing: Each router maintains a table (vector) of minimum distances to every destination and shares this table only with its directly connected neighbors. It uses the Bellman-Ford algorithm to compute shortest paths. Link State Routing: Each router broadcasts information about it...

Open this answer on its own page →

2079 · 10 marks

Explain distance vector routing with example.[10]

Show solved answer

Distance Vector Routing

Definition

Distance Vector Routing is a dynamic routing algorithm where each router maintains a routing table (distance vector) that contains:

  • The destination network/node
  • The distance (cost/hop count) to reach that destination
  • The direction (vector) i.e., the next hop (outgoing interface) to reach that destination

Each router shares its routing table only with its directly connected neighbors at regular intervals. Based on the received information, each router updates its own table. This process continues until all routers have consistent, stable routing tables -- a state called convergence.

Distance Vector Routing uses the Bellman-Ford Algorithm to compute shortest paths.


Key Characteristics

FeatureDescription
Algorithm usedBellman-Ford
Information sharedOnly with direct neighbors
Traffic overheadLess (compared to Link State)
Convergence speedSlower
ConfigurationEasy
Hierarchical structureNo
Example protocolRIP (max 15 hops)

How It Works (Step-by-Step)

  1. Initialization: Each router knows only the cost to its directly connected neighbors. All other destinations are set to infinity (unknown).
  2. Advertisement: Each router sends its entire routing table to all directly connected neighbors periodically.
  3. Update: When a router receives a neighbor's table, it applies the Bellman-Ford equation:

$$D(x, y) = \min_{v} { c(x, v) + D(v, y) }$$

Where:

  • $D(x, y)$ = estimated cost from node $x$ to destination $y$
  • $c(x, v)$ = cost from $x$ to neighbor $v$
  • $D(v, y)$ = neighbor $v$'s advertised cost to reach $y$
  1. Repeat until no more updates occur (convergence).

Example

Consider the following network with 4 routers: A, B, C, D and the link costs shown below:

    A ---2--- B
    |         |
    4         1
    |         |
    D ---3--- C

Link costs:

  • A -- B = 2
  • A -- D = 4
  • B -- C = 1
  • D -- C = 3

Step 1: Initial Routing Tables (Each router knows only direct neighbors)

Router A:

DestinationCostNext Hop
A0-
B2B
Cinf-
D4D

Router B:

DestinationCostNext Hop
A2A
B0-
C1C
Dinf-

Router C:

DestinationCostNext Hop
Ainf-
B1B
C0-
D3D

Router D:

DestinationCostNext Hop
A4A
Binf-
C3C
D0-

Step 2: First Exchange -- Routers share tables with neighbors

Router A updates using tables received from B and D:

  • A to C via B: cost(A,B) + cost(B,C) = 2 + 1 = 3 (better than inf) --> update
  • A to C via D: cost(A,D) + cost(D,C) = 4 + 3 = 7 (worse than 3) --> ignore
  • A to D via B: cost(A,B) + cost(B,D) = 2 + inf = inf --> no update
  • A to B via D: cost(A,D) + cost(D,B) = 4 + inf = inf --> no update

Updated Router A Table:

DestinationCostNext Hop
A0-
B2B
C3B
D4D

Router B updates using tables from A and C:

  • B to D via A: cost(B,A) + cost(A,D) = 2 + 4 = 6 (better than inf) --> update
  • B to D via C: cost(B,C) + cost(C,D) = 1 + 3 = 4 (better than 6) --> update

Updated Router B Table:

DestinationCostNext Hop
A2A
B0-
C1C
D4C

Router C updates using tables from B and D:

  • C to A via B: cost(C,B) + cost(B,A) = 1 + 2 = 3 (better than inf) --> update
  • C to A via D: cost(C,D) + cost(D,A) = 3 + 4 = 7 --> ignore

Updated Router C Table:

DestinationCostNext Hop
A3B
B1B
C0-
D3D

Router D updates using tables from A and C:

  • D to B via A: cost(D,A) + cost(A,B) = 4 + 2 = 6 (better than inf) --> update
  • D to B via C: cost(D,C) + cost(C,B) = 3 + 1 = 4 (better than 6) --> update

Updated Router D Table:

DestinationCostNext Hop
A4
Open this answer on its own page →

2078 · 10 marks

Explain link state routing with example.[10]

Link state routing is a dynamic routing algorithm where each router has complete knowledge of the entire network topology. Every router independently computes the shortest path to every other router using Dijkstra's Algorithm. It is used by protocols such as OSPF (Open Shortest Path First), which...

Open this answer on its own page →

2078 · 5 marks

What is routing table? Differentiate static routing table with dynamic routing table. [5]

Show solved answer

Routing Table: Static vs Dynamic Routing

Routing Table

A routing table is a data structure stored in a router (or networked device) that lists the routes to particular network destinations. Routers use this table to make decisions on how to forward data packets based on their IP addresses. The routing table contains information such as destination network, next hop address, and interface to use. Routers normally connect LANs and WANs together and have a routing table based on which they make decisions on routing the data packets.


Static Routing Table

A static routing table is one in which routes are manually added and configured by a network administrator. The routes remain fixed unless manually updated or reconfigured.

Key characteristics:

  • Routes are configured manually by the administrator
  • Used when there are very few devices to configure
  • Suitable when routes are known and are unlikely to change
  • Does not handle network failures well, because any lost connectivity must be manually repaired or reconfigured
  • No routing protocol is needed

Dynamic Routing Table

A dynamic routing table is one in which routes are automatically adjusted according to the current state of the network. It uses routing protocols to discover network destinations and the best routes to reach them.

Key characteristics:

  • Routes are updated automatically based on current network conditions
  • Uses routing protocols such as RIP, OSPF, and BGP to discover routes
  • If one route goes down, automatic adjustment is made to find an alternate route
  • Suitable for large and complex networks
  • Requires more processing and bandwidth due to protocol overhead

Difference Between Static and Dynamic Routing Table

BasisStatic Routing TableDynamic Routing Table
ConfigurationManually configured by administratorAutomatically configured using protocols
AdaptabilityCannot adapt to network changes automaticallyAutomatically adapts to network changes
Failure HandlingPoor; requires manual reconfiguration on failureHandles failures automatically by finding alternate routes
Protocols UsedNo routing protocol requiredUses protocols like RIP, OSPF, BGP
ScalabilitySuitable for small networks with few devicesSuitable for large and complex networks
Administrative OverheadHigh (manual updates needed)Low (self-updating)
Resource UsageLess CPU and bandwidth usageMore CPU and bandwidth usage due to protocol overhead

Summary: Static routing is simple but inflexible, best for small stable networks. Dynamic routing is flexible and self-managing, best for large networks where topology may change frequently.

Open this answer on its own page →

2076 · 5 marks

Define routing table. Differentiate static routing table with dynamic routing table. [5]

Show solved answer

Routing Table: Definition and Static vs Dynamic Routing Table

Definition of Routing Table

A routing table is a data structure stored in a router (or networked device) that lists the routes to particular network destinations. It contains information such as destination network addresses, next-hop addresses, and interface information that a router uses to determine the best path for forwarding data packets. Routers normally maintain a dynamically updating routing table based on which they make decisions on routing the data packets.


Differentiation: Static Routing Table vs Dynamic Routing Table

BasisStatic Routing TableDynamic Routing Table
DefinitionRoutes are manually added and configured by the network administrator.Routes are automatically adjusted according to the current state of the network.
ConfigurationManual configuration is required for each route.Uses routing protocols (e.g., RIP, OSPF, BGP) to discover routes automatically.
AdaptabilityDoes not handle failures well; any lost connectivity must be fixed manually.Automatically adjusts routes if one path goes down, maintaining connectivity.
Use CaseUsed when there are very few devices to configure and routes are unlikely to change.Used in large, complex networks where routes frequently change.
Administrative OverheadHigh, since every change must be updated manually.Low, since the protocol handles updates automatically.
Examples of ProtocolsNo protocol required.RIP, OSPF, BGP, etc.
Network SizeSuitable for small networks.Suitable for medium to large networks.
ReliabilityLess reliable during network failures.More reliable as it responds to network changes dynamically.

Summary

  • Static routing is simple but inflexible; it requires manual intervention for any route change or failure.
  • Dynamic routing uses protocols to discover and maintain routes automatically, making it more scalable and fault-tolerant for larger networks.
Open this answer on its own page →

2080.1 · 5 marks

Differentiate between unicast and multicast routing. [5]

Routing is the process of selecting a path for traffic in a network, directing packet forwarding on the basis of routing tables that maintain records of routes to various network destinations. --- As stated in the notes, unicast is the simplest form of routing because the destination is already k...

Open this answer on its own page →

IPv6 Addressing and its Features

2080 · 5 marks

Write short notes on: a. IPV6 b. Microwave [5]

--- IPv6 is the most recent version of the Internet Protocol (IP), developed to replace IPv4 due to the exhaustion of IPv4 address space. Feature Description ------ Address Size 128-bit address (compared to 32-bit in IPv4) Address Format Written in hexadecimal, separated by colons (e.g., 2001:0db...

Open this answer on its own page →

Comparison of IPv4 and IPv6 Addressing

2078 · 5 marks

Explain the structure of IPv6 address. Compare IPv6 address with IPv4 address. [5]

IPv6 (Internet Protocol version 6) was developed to overcome the address exhaustion problem of IPv4. Its structure is as follows: - IPv6 addresses are 128 bits long (compared to 32 bits in IPv4). - They are written in hexadecimal colon notation (also called colon-hex notation), divided into 8 gro...

Open this answer on its own page →