Professional Documents
Culture Documents
IP routers
host
HTTP message
HTTP
TCP segment
TCP
router
IP
Ethernet
interface
HTTP
IP packet
Ethernet
interface
IP
TCP
router
IP packet
SONET
interface
SONET
interface
IP
IP packet
Ethernet
interface
IP
Ethernet
interface
Socket abstraction
HyperText Transfer Protocol, File Transfer Protocol (FTP)
Name/address translation
host ...
DNS
host
host ...
DNS
5.6.7.0/24
1.2.3.0/24
1.2.3.19
router
router
router
host ...
DNS
host
host ...
DNS
5.6.7.0/24
1.2.3.0/24
1.2.3.19
router
router
router
IP addresses
LAN
71-65-F7-2B-08-53
= adapter
58-23-D7-FA-20-B0
0C-C4-11-6F-E3-98
10
Bootstrapping Problem
Host doesnt have an IP address yet
host ...
host
DHCP server
11
Broadcasting
Broadcasting: sending to everyone
12
disco
ver
(broa
dc a s
t)
arriving
client
fer
o
P
DHC
DHCP
(broa
reque
dc a s
t)
DHCP server
233.1.2.5
st
ACK
P
C
DH
14
Performance trade-offs
Short lease time: returns inactive addresses quickly
Long lease time: avoids overhead of frequent renewals
16
IP packet
host
host ...
1.2.3.156
Web
1.2.3.53
1.2.3.156
router
19
20
B 21
B 22
B 23
R Sends Packet to B
Router Rs learns the MAC address of host B
B 24
IP Routers
25
Line card
Line card
Line card
Line card
Switching
Fabric
Line card
Line card
26
Crossbar
Linecards
Cisco 12000
27
Physical link
Switching fabric
to/from link
lookup
Transmit
Packet forwarding
Decrement time-to-live
Buffer management
Link scheduling
Packet filtering
Rate limiting
Packet marking
Measurement
Receive
Packet handling
to/from switch
28
Switching Fabric
Deliver packet inside the router
Implementation techniques
Bus, crossbar, interconnection network,
Running at a faster speed (e.g., 2X) than links
Dividing variable-length packets into cells
29
Packet Switching
4 Link 1, ingress
Choose
Egress
Link 1, egress
Link 2, ingress
Choose
Egress
Link 2, egress
Link 3, ingress
Choose
Egress
Link 3, egress
Link 4, ingress
Choose
Egress
Link 4, egress
Link 2
Link 1
R14
Link 3
Link 4
30
Router Processor
So-called Loopback interface
Control-plane software
31
Error Reporting
Examples of errors a router may see
32
Diagnostics
33
1.2.3.7
host
host ...
Time exceeded
5.6.7.156
DNS
host ...
host
DNS
8.9.10.11
router
router
router
34
TTL=2
Time
exceeded
destination
Send packets with TTL=1, 2, and record source of time exceeded message
35
Ping tool
Pinging a host
Conclusion
Important control functions
Bootstrapping
Error reporting and monitoring
Components of an IP router