Download presentation
Presentation is loading. Please wait.
Published byBeatrice Griffin Modified over 9 years ago
1
1 Computer Networks & The Internet Lecture 4 Imran Ahmed University of Management & Technology
2
2 Agenda Network & its types What’s the Internet? What’s a protocol? History Network edge Network core Access net, physical media Internet/ISP structure Performance: loss, delay Protocol layers, service models
3
3 How do loss and delay occur? packets queue in router buffers packet arrival rate to link exceeds output link capacity packets queue, wait for turn A B packet being transmitted (delay) packets queueing (delay) free (available) buffers: arriving packets dropped (loss) if no free buffers
4
4 Four sources of packet delay 1. nodal processing: –check bit errors –determine output link A B propagation transmission nodal processing queueing 2. queueing –time waiting at output link for transmission –depends on congestion level of router
5
5 Delay in packet-switched networks 3. Transmission delay: R=link bandwidth (bps) L=packet length (bits) time to send bits into link = L/R 4. Propagation delay: d = length of physical link s = propagation speed in medium (~2x10 8 m/sec) propagation delay = d/s A B propagation transmission nodal processing queueing
6
6 Caravan analogy Cars “propagate” at 100 km/hr Toll booth takes 12 sec to service a car (transmission time) car~bit; caravan ~ packet Q: How long until caravan is lined up before 2nd toll booth? Time to “push” entire caravan through toll booth onto highway = 12*10 = 120 sec Time for last car to propagate from 1st to 2nd toll both: 100km/(100km/hr)= 1 hr A: 62 minutes toll booth toll booth ten-car caravan 100 km
7
7 Caravan analogy (more) Cars now “propagate” at 1000 km/hr Toll booth now takes 1 min to service a car Q: Will cars arrive to 2nd booth before all cars serviced at 1st booth? Yes! After 7 min, 1st car at 2nd booth and 3 cars still at 1st booth. 1st bit of packet can arrive at 2nd router before packet is fully transmitted at 1st router! –See Ethernet applet at AWL Web site toll booth toll booth ten-car caravan 100 km
8
8 Nodal delay d proc = processing delay –typically a few microsecs or less d queue = queuing delay –depends on congestion d trans = transmission delay –= L/R, significant for low-speed links d prop = propagation delay –a few microsecs to hundreds of msecs
9
9 Queuing delay R = link bandwidth (bps) L = packet length (bits) a = average packet arrival rate traffic intensity = La/R
10
10 Agenda Network & its types What’s the Internet? What’s a protocol? History Network edge Network core Access net, physical media Internet/ISP structure Performance: loss, delay Protocol layers, service models
11
11 Why layering? Dealing with complex systems: Explicit structure allows identification, relationship of complex system’s pieces –layered reference model for discussion Modularization eases maintenance, updating of system –change of implementation of layer’s service transparent to rest of system –e.g., change in gate procedure doesn't affect rest of system
12
12 Organization of air travel a series of steps ticket (purchase) baggage (check) gates (load) runway takeoff airplane routing ticket (complain) baggage (claim) gates (unload) runway landing airplane routing
13
13 ticket (purchase) baggage (check) gates (load) runway (takeoff) airplane routing departure airport arrival airport intermediate air-traffic control centers airplane routing ticket (complain) baggage (claim gates (unload) runway (land) airplane routing ticket baggage gate takeoff/landing airplane routing Layering of airline functionality Layers: each layer implements a service –via its own internal-layer actions –relying on services provided by layer below
14
14 OSI model vs TCP/IP model 5. Application 4. Transport 3. Network 2. Link layer 1. Physical 7. Application 6. Presentation 5. Session 4. Transport 3. Network 2. Data link 1. Physical Vs OSI model TCP/IP model
15
15 Internet protocol stack application: supporting network applications –FTP, SMTP, STTP transport: host-host data transfer –TCP, UDP network: routing of datagrams from source to destination –IP, routing protocols link: data transfer between neighboring network elements –PPP, Ethernet physical: bits “on the wire” application transport network link physical
16
16 message segment datagram frame source application transport network link physical HtHt HnHn HlHl M HtHt HnHn M HtHt M M destination application transport network link physical HtHt HnHn HlHl M HtHt HnHn M HtHt M M network link physical link physical HtHt HnHn HlHl M HtHt HnHn M HtHt HnHn HlHl M HtHt HnHn M HtHt HnHn HlHl M HtHt HnHn HlHl M router switch Encapsulation
17
17 Internet layer model AliKhan Leland.Stanford.edu Athena.MIT.edu Network Layer Link Layer Application Layer Transport Layer O.S. HeaderDataHeaderData Datagram
18
18 Summary We studies about ISP architecture in detail. Some performance related issues: Loss, delay etc. OSI layer model & Internet layer model.
19
19 Computer Networks & The Internet: Summary Covered a “ton” of material! Internet overview what’s a protocol? network edge, core, access network –packet-switching versus circuit-switching Internet/ISP structure performance: loss, delay layering and service models history You now have: context, overview, “feel” of networking more depth, detail to follow!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.