


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Topics •Bridged networks •Internets •IP datagram delivery •IP addresses
Typology: Slides
1 / 26
This page cannot be seen from the preview
Don't miss anything!



















class26.ppt
CS 213 F’
class26.ppt
internetwork, or
internet) out of a
internet refers to a general idea,
Internet refers to
CS 213 F’
class26.ppt
Problem: Flooding is wasteful A B C X Y Z
bridge
Ethernet A
Ethernet X
port 2 port 1
remembering which hosts are connected to which bridge ports.Optimization: Forward packets only when necessary by learning and
CS 213 F’
class26.ppt
T that maps hosts to ports
src on port p
f from host src to host
dst on port p
f.
else if T(dst) = p then discard
f
else forward f on port T(dst).
CS 213 F’
class26.ppt
to unknown destination1. host writes frame F
B
F1 B1 2. B1 and B2 flood F
B
B B2 F
B F
F2 4. B1 and B2 flood
B
B F
F2 B1 reads F23. B2 reads F1,
B
B F
F1 B2 reads F25. B1 reads F
B
F1 B1 6. B1 and B2 flood F
CS 213 F’
class26.ppt
CS 213 F’
class26.ppt
internetwork (internet for short) is an arbitrary
physical networks interconnected to
internetinternet
hosthost
hosthost hosthost
hosthost
CS 213 F’
class26.ppt
XX YY ZZ
network (^2) (ECE)adaptoradaptor adaptoradaptor
adaptoradaptor
AA BB CC
network (^1) (SCS)adaptoradaptor adaptoradaptor
adaptoradaptor
which are at different locations, and possibly built by different vendors.^ We start with two separate, unconnected computer networks (subnets),
Ethernet
Question: How to present the illusion of one network?
CS 213 F’
class26.ppt
XX YY ZZ
network (^2) (ECE)adaptoradaptor adaptoradaptor
adaptoradaptor
AA BB C (^) (gateway/rou ter)
C (^) (gateway/rou ter)
network (^1) (SCS)adaptoradaptor adaptoradaptor
adaptoradaptor
adaptoradaptor
128.2. .
IP (^) addresses:routing messages between network1 and network 2 if necessary.on each host and router. IP provides a global name space for the hosts, Finally, we run a software implementation of the Internet Protocol (IP)
128.2. .
128.2.80.
128.2. .
128.2.80.1 128.2.80.2 128.2.80.
class26.ppt
class26.ppt
protocols like TCP and UDP^ •^ provides a basis for building more sophisticated and user-friendlysimple, so it runs on any kind of network
CS 213 F’
class26.ppt
R
H H H H4 Network 3 (FDDI) H H H
H
R
(Ethernet)Network 2
(Point-to-point)Network 4
Network 1 (Ethernet)
CS 213 F’
class26.ppt
headerheaderEthernet frame headerheaderIP datagramIP datagram IP datagram dataIP datagram data
headerheaderIP datagramIP datagram IP datagram dataIP datagram data
The same idea is used for other types of physical networks
CS 213 F’
class26.ppt
Ver Hlen
VER IP version
HL Header length (in 32-bit words)
TOS Type of service (unused)
Length (^) Datagram length (max 64K B)
ID Unique datagram identifier
Flags (^) xxM (more fragmented packets)
Offset (^) Fragment offset
TTL Time to Live
Protocol Higher level protocol (e.g., TCP)
Length
Datagram ID (^) Flags
Protocol
Checksum
Options (variable)Destination IP addressSource IP address
Offset
Data
(^0) (^4) (^8) (^16) (^19) 31