全套英文版《计算机网络》PPT电子课件教案-Chapter4NetworkLayer.ppt

大小 3.5MB 页数 82 页 格式 PPT

Chapter 4: Network Layer

Chapter goals:

runderstand principles behind network layer services:

m routing (path selection) m dealing with scale m how a router works m advanced topics: IPv6, multicast

rinstantiation and implementation in the Internet

Overview:

rnetwork layer services rrouting principle: path selection

rhierarchical routing rIP

rInternet routing protocols reliable transfer

m intra-domain m inter-domain

rwhat’s inside a router? rIPv6

rmulticast routing

4: Network Layer

11

Network layer functions

rtransport packet from sending to receiving hosts rnetwork layer protocols in every host, router three important functions: rpath determination: route taken by packets from source to dest. Routing algorithms rswitching: move packets from router’s input to appropriate router output rcall setup: some network architectures require router call setup along path before data flows

application
transport
network
data link
net wor k
physical netw or k data li nk netw or k
data lin k physical dat a l ink
physical physical
netw or k
data link
physical netw or k
data li nk
physical
netw or k
netw or k data li nk
dat a l ink physical
physical
net wor k
data link application
physical tr ansport
network
data link
physical

4: Network Layer

22

Network service model

Q: What service model for “channel” transporting packets from sender to receiver? rguaranteed bandwidth? rpreservation of interpacket timing (no jitter)? rloss-free delivery? rin-order delivery? rcongestion feedback to sender?

The most important abstraction provided by network layer: virtual circuit or datagram? ? ? ?

4: Network Layer

33

Virtual circuits

“source-to-dest path behaves much like telephone circuit”

m performance-wise

m network actions along source-to-dest path

rcall setup, teardown for each call before data can flow reach packet carries VC identifier (not destination host OD)

revery router on source-dest path s maintain “state” for each passing connection

m transport-layer connection only involved two end systems rlink, router resources (bandwidth, buffers) may be allocated to VC

m

to get circuit-like perf.

4: Network Layer

44

Virtual circuits: signaling protocols

rused to setup, maintain teardown VC rused in ATM, frame-relay, X.25 rnot used in today’s Internet

application 5. Data flow begins transport 4. Call connected network 1. Initiate call data link physical

  1. Receive data application
    transport
    3. Accept call
    network
    2. incoming call
    data link
    physical

4: Network Layer

55

Datagram networks: the Internet model

rno call setup at network layer rrouters: no state about end-to-end connections

m no network-level concept of “connection” rpackets typically routed using destination host ID m packets between same source-dest pair may take different paths

application transport network 1. Send data data link physical

  1. Receive data

application transport network data link physical

4: Network Layer

66

Network layer service models:

Network Service Guara ntees ? Congestion
Architecture Model Bandwidth Loss Order Timing feedback
Internet best effort none no no no no (inferred
via loss)
ATM CBR constant
rate
yes yes yes no
congestion
ATM VBR guaranteed
rate
yes yes yes no
congestion
ATM ABR guaranteed
minimum
no yes no yes
ATM UBR none no yes no no

r Internet model being extented: Intserv, Diffserv m Chapter 6

4: Network Layer

77

Datagram or VC network: why?

Internet

rdata exchange among computers

m “elastic” service, no strict timing req. r“smart” end systems (computers)

m can adapt, perform control, error recovery

m simple inside network, complexity at “edge” rmany link types m different characteristics

ATM

revolved from telephony rhuman conversation: m strict timing, reliability requirements m need for guaranteed service

r“dumb” end systems m telephones m complexity inside network

m uniform service difficult

4: Network Layer

88

Routing

Routing protocol

Goal: determine “good” path (sequence of routers) thru network from source to dest.

Graph abstraction for routing algorithms: rgraph nodes are routers

rgraph edges are physical links m link cost: delay, $ cost, or congestion level

5
3
B C
5
2
A
2 1 F
3
1
2
D E
1

r “good” path:

m typically means minimum cost path m other def’s possible

4: Network Layer

99

Routing Algorithm classification

Global or decentralized information? Global:

rall routers have complete topology, link cost info r“link state” algorithms Decentralized:

rrouter knows physicallyconnected neighbors, link costs to neighbors riterative process of computation, exchange of info with neighbors r“distance vector” algorithms

Static or dynamic? Static:

rroutes change slowly over time Dynamic:

rroutes change more quickly m periodic update m in response to link cost changes

4: Network Layer

1010

预览结束 · 共 82 页