




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Network Layer
4-
Network Layer
4-
Datagram format
IPv4 addressing
IPv
Link state
Distance Vector
Hierarchical routing
Network Layer
4-
Routing algorithms
Network Layer
4-
1
2
3
0111
value in arrivingpacket’s header
routing algorithm
local forwarding table
header value output link
01000101
0111 1001
3 2 2 1
Interplay between routing and forwarding
Network Layer
4-
service model for “channel” transporting
Network Layer
4-
Network layer service models:
Network
Architecture
Internet
ServiceModelbest effortCBR VBR ABR UBR
Bandwidthnoneconstantrateguaranteedrateguaranteedminimumnone
Loss no yes yes no no
Orderno yes yes yes yes
Timingno yes yes no no
Congestionfeedbackno (inferredvia loss)nocongestionnocongestionyes no
Guarantees?
Network Layer
4-
Network layer connection andconnection-less service
Datagram network provides network-layerconnectionless service
VC network provides network-layerconnection service
Analogous to the transport-layer services,but:
Network Layer
4-
call setup, teardown for each call
each packet carries VC identifier (not destination hostaddress)
performance-wise
network actions along source-to-dest path
Network Layer
4-
12
22
32
1
2
3
VC number
interfacenumber
Incoming interface
Incoming VC #
Outgoing interface
Outgoing VC #
1
12
2
22
2
63
1
18
3
7
2
17
1
97
3
87
…
…
…
…
Network Layer
4-
Virtual circuits: signaling protocols
application
transport
network data link
physical
application
transport
network data link
physical
Network Layer
4-
Destination Address Range
Link Interface
11001000 00010111 00010000 00000000
through
0
11001000 00010111 00010111 1111111111001000 00010111 00011000 00000000
through
1
11001000 00010111 00011000 1111111111001000 00010111 00011001 00000000
through
2
11001000 00010111 00011111 11111111
otherwise
3
Network Layer
4-
Prefix Match
Link Interface
11001000 00010111 00010
0
11001000 00010111 00011000
1
11001000 00010111 00011
2
otherwise
3
DA: 11001000
00010111
00011000
10101010
Examples
DA: 11001000
00010111
00010110
10100001
Which interface?
Which interface?
Network Layer
4-
Datagram format
IPv4 addressing
IPv
Link state
Distance Vector
Hierarchical routing
Network Layer
4-
Router Architecture Overview
Two key router functions:
forwarding datagrams from incoming to outgoing link