Lec 1 - Introduction - III
Lec 1 - Introduction - III
Communication Networks
EE-357
By Dr Mir Yasir Umair
Associate Professor, MCS, NUST
Introduction
Lecture 01
Accessing Internet
Accessing the Internet
• Dial up
• Ethernet
• FTTH
• DSL Service
• Cable Networks
• Wireless Access
Networks
o WI-FI
o Wide Area Wireless
Access
Ethernet & FTTH
Ethernet:
• LAN technology that uses twisted-pair
copper wire to connect computers on a
network
wired Ethernet
(100 Mbps)
central office telephone
network
cable splitter
modem
Frequency division
multiplexing:
Different channels C
transmitted V V V V V V
O
N
D D T
in different I
D
I
D
I
D
I
D
I
D
I
D A A R
T T O
frequency bands E
O
E
O
E
O
E
O
E
O
E
O A A L
Channels 1 2 3 4 5 6 7 8 9
Wireless Access Networks
• Wireless LAN:
o Transmission/ receipt of packets to/from an
access point.
o Wireless LAN access based on IEEE 802.11
technology is called Wi-Fi.
to Internet
• guided media:
signals propagate in solid media: copper, fiber, coax
o twisted pair (TP) copper wire
• two insulated copper wires
• Twist helps to reduce noise from outside sources.
o coaxial cable:
• two concentric copper conductors
• 80X more transmission capacity.
o terrestrial microwave
• e.g. up to 45 Mbps channels
o WLAN (e.g., WiFi)
• 11Mbps, 54 Mbps
o wide-area (e.g., cellular)
• 3G cellular: ~ few Mbps
o satellite
• Kbps to 45Mbps channel
Delay in Packet-Switched Networks
Packet-switching
• Host breaks message into smaller chunks (packets) of length L bits
• Packets are transmitted into access network at link transmission rate R.
• Packet transmission delay = time needed to transmit L-bit packet into
link = L/ R
• Store and forward: entire packet must arrive at router before it can be
transmitted on next link
one-hop numerical example:
▪ L = 7.5 Mbits R = 1.5 Mbps
▪ one-hop transmission delay = 5 sec
L bits
per packet
3 2 1
source destination
R bps R bps
routing algorithm
1
local forwarding table
header value output link
3 2
0100 3
0101 2
0111 2
1001 1
R = 100 Mb/s C
A
D
R = 1.5 Mb/s
B
queue of packets E
waiting for output link
Caravan analogy
100 km 100 km
10 cars caravan toll toll
booth booth
Hence after 7 mins, first car will arrive second toll booth, 6 cars
will be on way, and 3 will still be at 1st booth.
Four sources of packet delay
▪L: packet length (bits) ▪d: length of physical link
▪R: link bandwidth (bps) ▪s: propagation speed in medium
▪dtrans = L/R (~3x108 m/sec)
transmission ▪dprop = d/s
A propagation
B
processing
queueing
▪ check bit errors
▪ determine output link ▪ time waiting at output link for
▪ typically < msec transmission
▪ depends on congestion level of
router
dtotal = dproc + dqueue + dtrans + dprop
Four sources of packet delay
• Processing Delay: The time required to examine the
packet’s header and determine where to direct the packet
• Queuing delay as it waits to be transmitted onto the link.
• Transmission Delay: amount of time required to push
(that is, transmit) all of the packet’s bits into the link. it is a
function of the packet’s length and the transmission rate of
the link, but has nothing to do with the distance between
the two routers.
• Propagation Delay: Time required to propagate from the
beginning of the link to router B. it is a function of the
distance between the two routers, but has nothing to do
with the packet’s length or the transmission rate of the
link.
“Real” Internet delays and routes
• What do “real” Internet delay & loss look like?
• Traceroute program: provides delay measurement from source to
router along end-end Internet path towards destination. For all i:
o sends three packets that will reach router i on path towards
destination
o router i will return packets to sender
o sender times interval between transmission and reply.
3 probes 3 probes
3 probes
“Real” Internet delays, routes
traceroute: gaia.cs.umass.edu to www.eurecom.fr
3 delay measurements from
gaia.cs.umass.edu to cs-gw.cs.umass.edu
1 cs-gw (128.119.240.254) 1 ms 1 ms 2 ms
2 border1-rt-fa5-1-0.gw.umass.edu (128.119.3.145) 1 ms 1 ms 2 ms
3 cht-vbns.gw.umass.edu (128.119.3.130) 6 ms 5 ms 5 ms
4 jn1-at1-0-0-19.wor.vbns.net (204.147.132.129) 16 ms 11 ms 13 ms
5 jn1-so7-0-0-0.wae.vbns.net (204.147.136.136) 21 ms 18 ms 18 ms
6 abilene-vbns.abilene.ucaid.edu (198.32.11.9) 22 ms 18 ms 22 ms
7 nycm-wash.abilene.ucaid.edu (198.32.8.46) 22 ms 22 ms 22 ms trans-oceanic
8 62.40.103.253 (62.40.103.253) 104 ms 109 ms 106 ms
9 de2-1.de1.de.geant.net (62.40.96.129) 109 ms 102 ms 104 ms link
10 de.fr1.fr.geant.net (62.40.96.50) 113 ms 121 ms 114 ms
11 renater-gw.fr1.fr.geant.net (62.40.103.54) 112 ms 114 ms 112 ms
12 nio-n2.cssi.renater.fr (193.51.206.13) 111 ms 114 ms 116 ms
13 nice.cssi.renater.fr (195.220.98.102) 123 ms 125 ms 124 ms
14 r3t2-nice.cssi.renater.fr (195.220.98.110) 126 ms 126 ms 124 ms
15 eurecom-valbonne.r3t2.ft.net (193.48.50.54) 135 ms 128 ms 133 ms
16 194.214.211.25 (194.214.211.25) 126 ms 128 ms 126 ms
17 * * *
18 * * * * means no response (probe lost, router not replying)
19 fantasia.eurecom.fr (193.55.113.142) 132 ms 128 ms 136 ms
Understanding Bandwidth and Throughput
Bandwidth:
Ability of an electronic communications device or system to send and
receive information
Throughput:
The amount of data that enters and goes through a system within a
given time.