计算机网络讲义.ppt

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

4: Network Layer 4a-2
Network service model
Q: What service model
for “channel” transporting packets from sender to receiver?
guaranteed bandwidth?
preservation of inter-packet timing (no jitter)?
strict timing, reliability requirements
“smart” end systems (computers)
need for guaranteed service
can adapt, perform control, error recovery
“dumb” end systems
other def’s possible
4: Network Layer 4a-9
Routing Algorithm classification
Global or decentralized information?
Global:
all routers have complete topology, link cost info
loss-free delivery?
in-order delivery?
congestion feedback to sender?
The most important
abstraction provided by network layer:
virtual circuit
? or ? ? datagram?
Notation:
c(i,j): link cost from node i
to j. cost infinite if not direct neighbors
advanced topics: IPv6, multicast
instantiation and implementation in the Internet
Overview:
network layer services routing principle: path
selection hierarchical routing IP Internet routing protocols
“distance vector” algorithms
Static or dynamic?
Static: routes change slowly over
time Dynamic: routes change more quickly
periodic update in response to link cost
reliable transfer
intra-domain inter-domain
what’s inside a router? IPv6 multicast
4: Network Layer 4a-1
Network layer functions
transport packet from sending to receiving hosts
transport network data link
physical
4: Network Layer 4a-5
Datagram networks: the Internet model
no call setup at network layer routers: no state about end-to-end connections
Chapter 4: Network Layer
Chapter goals:
understand principles behind network layer services:
routing (path selection)
dealing with scale
how a router works
no network-level concept of “connection”
packets typically routed using destination host ID
packets between same source-dest pair may take different paths
“link state” algorithms
Decentralized:
router knows physicallyconnected neighbors, link costs to neighbors
iterative process of computation, exchange of info with neighbors
switching: move packets from
router’s input to appropriate router output
call setup: some network
architectures require router call setup along path before data flows
call setup, teardown for each call before data can flow
each packet carries VC identifier (not destination host ID)
every router on source-dest paths maintain “state” for
network layer protocols in
every host, router
three important functions:
path determination: route
taken by packets from source
to dest. Routing algorithms
constant yes yes yes
rate
guaranteed yes yes yes
rate
guaranteed no yes no
minimum
none
no yes no
no (inferred via loss) no congestion no congestion yes
no
Internet model being extented: Intserv, Diffserv Chapter 6
simple inside network,
telephones
complexity at “edge”
complexity inside
many link types
network
different characteristics
uniform service difficult
changes
4: Network Layer 4a-10
A Link-State Routing Algorithm
Dijkstra’s algorithm
net topology, link costs known to all nodes
accomplished via “link state broadcast”
graph nodes are routers
graph edges are physical links
link cost: delay, $ cost, or congestion level
5
B 3C
2
5
A
2 31
F
1D
E2
1
“good” path:
typically means minimum cost path
application transport 5. Data flow begins network 4. Call connected data link 1. Initiate call physical
6. Receive data application
3. Accept call 2. incoming call
Network Service Architecture Model
Guarantees ?
Congestion
Bandwidth Loss Order Timing feedback
Internet best effort none
no no no
ATM CBR ATM VBR ATM ABRቤተ መጻሕፍቲ ባይዱATM UBR
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
application transport network data link physical
4: Network Layer 4a-3
Virtual circuits
“source-to-dest path behaves much like telephone circuit”
performance-wise network actions along source-to-dest path
each passing connection
transport-layer connection only involved two end systems
link, router resources (bandwidth, buffers) may be
allocated to VC
to get circuit-like perf.
application transport network data link 1. Send data physical
application
transport
2. Receive data
network data link
physical
4: Network Layer 4a-6
Network layer service models:
4: Network Layer 4a-7
Datagram or VC network: why?
Internet
ATM
data exchange among
evolved from telephony
computers
human conversation:
“elastic” service, no strict timing req.
all nodes have same info
computes least cost paths from one node (‘source”) to all other nodes
gives routing table for that node
iterative: after k iterations, know least cost path to k dest.’s
4: Network Layer 4a-8
Routing
Routing protocol
Goal: determine “good” path (sequence of routers) thru network from source to dest.
Graph abstraction for routing algorithms:
4: Network Layer 4a-4
Virtual circuits: signaling protocols
used to setup, maintain teardown VC used in ATM, frame-relay, X.25 not used in today’s Internet
相关文档
最新文档