Internetworking I: Basics April 13, 2000 15-213: Topics
Internetworking I: Basics April 13, 2000 15-213: Topics
Internetworking I: Basics April 13, 2000 15-213: Topics
Internetworking I: Basics
Topics
• Internetworking with repeaters, bridges
and gateways
• Internetworking with routers
– the Internet Protocol (IP)
– IP datagram delivery
– IP addresses
class24.ppt
The internetworking idea
(Kahn, 1972)
Build a single network (an interconnected set of
networks, or internetwork, or internet) out of a large
collection of separate networks.
• Each network must stand on its own, with no internal changes
allowed to connect to the internet.
• Communications should be on a best-effort basis.
• “black boxes” (later called routers) should be used to connect the
networks.
• No global control at the operations level.
transport transport
network network
b Selectively transfer
ethernet frames from their
inputs to their outputs.
transport transport
network network
bridge
port 2 Ethernet X
Unlike repeaters (which operate
at the physical level), bridges X Y Z
operate at the data link level
(or link level).
A B C
Ethernet A port 1
bridge
port 2 Ethernet X
X Y Z
Learning algorithm:
Forwarding algorithm:
Ethernet A 1 3 Ethernet P
bridge
2 Ethernet X
X Y Z
B1 B2 B1 B2 B1 B2
F1 F2 F2 F1
F1 F2
C D C D
B2 F B2 F
E E
B1 B1
interlink.sw.net backbone-1.net.cs
pitt.edu
AT&T Sprint
transport
network
host
host host
host
internet
internet
host
host host
host
AA BB CC XX YY ZZ
adapter
adapter adapter
adapter adapter
adapter adapter
adapter adapter
adapter adapter
adapter
Ethernet ATM
network 1 (SCS) network 2 (ECE)
AA BB CC(router)
(router) XX YY ZZ
adapter
adapter adapter
adapter adapter
adapter adapter
adapter adapter
adapter adapter
adapter adapter
adapter
128.2.250.0
IP addresses: 128.2.250.1 128.2.250.2 128.2.80.0 128.2.80.1 128.2.80.2 128.2.80.3
AA BB CC(router)
(router) XX YY ZZ
adapter
adapter adapter
adapter adapter
adapter adapter
adapter adapter
adapter adapter
adapter adapter
adapter
128.2.250.1 128.2.80.1
128.2.80.1
128.2.250.1
internet
internet
128.2.250.2 128.2.80.2
128.2.250.2 128.2.80.2
128.2.80.3
128.2.80.3
128.2.250.0
128.2.250.0
128.2.80.3
128.2.80.3
Telnet, FTP,
HTTP, email application application
transport transport
IP network network
User
Userapplication
applicationprogram
program(FTP,
(FTP,Telnet,
Telnet,WWW,
WWW,email)
email)
Reliable
Unreliable User
best effort Userdatagram
datagramprotocol
protocol Transmission
Transmissioncontrol
control byte stream
(UDP)
(UDP) protocol
protocol(TCP)
(TCP) delivery
datagram (process-
delivery Internet process)
(process- InternetProtocol
Protocol(IP)
(IP)
process)
Network
Networkinterface
interface(ethernet)
(ethernet)
Unreliable
best effort
hardware Physical
datagram hardware
connection
delivery
(host-host)
Network 1 (Ethernet)
H1 H2 H3
H7 R3 H8
Network 2
(Ethernet) R1 Network 4
R2
(Point-to-point)
Network 3 (FDDI)
H4 H5 H6
H1 R1 R2 R3 H8
TCP TCP
IP IP IP IP IP
IP
IPdatagram
datagram IP datagram
IP
IPdatagram
datagramdata
data
header
header
Ethernet
Ethernetframe
frame IP
IPdatagram
datagram Ethernet frame
IP
IPdatagram
datagramdata
data
header
header header
header
Data
TCP TCP
IP IP IP IP IP
start of header
ident=x m=1 offset=512
Second packet
rest of header
512 data bytes
start of header
ident=x m=0 offset=1024
rest of header
Third packet
01234 8 16 24 31