




























































































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-
Network Layer 4-
Network layer
in every host, router
application transport network data link physical
application transport network data link physical
network data link physical (^) network data link physical
network data link physical network data link physical
network data link physical
network data link physical
network data link physical
network data link physical
network data link physical
network data link network physical data link physical
Network Layer 4-
Two Key Network-Layer Functions
packets from router’s input to appropriate router output
route taken by packets from source to dest.
routing algorithms
analogy:
routing: process of planning trip from source to dest
forwarding: process of getting through single interchange
Network Layer 4-
3 rd^ important function in some network architectures:
before datagrams flow, two end hosts and intervening
Network Layer 4-
Q: What service model for “channel” transporting
Network Layer 4-
Datagram format IPv4 addressing ICMP IPv
Link state Distance Vector Hierarchical routing
Network Layer 4-
Network layer connection and
connection-less service
datagram network provides network-layer
connectionless service
VC network provides network-layer
connection service
analogous to the transport-layer services,
but:
Network Layer 4-
Network Layer 4-
12 22 32 1 2 3
VC number
interface number
Incoming interface Incoming VC # Outgoing interface Outgoing VC #
1 12 3 22 2 63 1 18 3 7 2 17 1 97 3 87 … … … …
Network Layer 4-
Datagram networks
no network-level concept of “connection”
packets between same source-dest pair may take different paths
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 11111111
11001000 00010111 00011000 00000000 through 1 11001000 00010111 00011000 11111111
11001000 00010111 00011001 00000000 through 2 11001000 00010111 00011111 11111111
otherwise 3
Network Layer 4-
Datagram or VC network: why?
data exchange among computers “elastic” service, no strict timing req. “smart” end systems (computers) can adapt, perform control, error recovery simple inside network, complexity at “edge” many link types different characteristics uniform service difficult
evolved from telephony human conversation: strict timing, reliability requirements need for guaranteed service “dumb” end systems telephones complexity inside network
Network Layer 4-
Datagram format IPv4 addressing ICMP IPv
Link state Distance Vector Hierarchical routing