Lect13 Intro Network Layer
Lect13 Intro Network Layer
Lect13 Intro Network Layer
SA DA Data SA DA Data
Virtual-Circuit Approach
A to B
A to B
A to B A to B
Figure : Sending acknowledgments in a virtual-circuit network
Figure : Flow of one packet in an established virtual circuit
Network Layer Design Isues
• Store-and-Forward Packet Switching
• Services Provided to the Transport Layer
• Implementation of Connectionless Service
• Implementation of Connection-Oriented
Service
• Comparison of Virtual-Circuit and Datagram
Subnets
Store-and-Forward Packet Switching
The environment of the network layer
protocols.
Implementation of Connectionless
Service
5-4
NETWORK-LAYER PERFORMANCE
addr1
RULE: addr15
addr2
If a protocol uses N bits to
…………..
define an address,addr41 addr226
addr31 space is 2N
the address
………….. …………..
because each bit can have two
different values (0 and 1)
and N bits can have 2N values.
The address space of IPv4 is
232
or
4,294,967,296.
Figure : Three different notations in IPv4 addressing
Figure : Hierarchy in addressing
Classful Addressing
Solution
129.11.11.239
Example 2
Solution
Solution
Solution
In dotted-decimal notation,
each number is less than or
equal to 255; 301 is outside this range.
Example 4
Solution
0X810B0BEF or 810B0BEF16
Finding the address class
Example 5
Solution
Solution
Solution
Solution
Solution
Solution
Solution