Internet Protocol (IP) : by Behzad Akbari
Internet Protocol (IP) : by Behzad Akbari
by
Behzad Akbari
Internet Network layer
transport segment from
sending to receiving host application
transport
on sending side network
data link network
encapsulates segments into physical
network
data link
data link
physical
network
data link
datagrams physical physical
network
on rcving side, delivers data link
physical network
segments to transport layer data link
physical
several datagrams
reassembly
“reassembled” only at final
destination
IP header bits used to
223 1 1 1
IP Address as a
32-Bit Binary Number
Class Full IP Addressing : IP Address
Classes
IP Address Classes
IP Addresses as Decimal Numbers
Hosts for Classes of
IP Addresses
223.1.1.3
223.1.9.2 223.1.7.0
223.1.9.1 223.1.7.1
223.1.8.1 223.1.8.0
223.1.2.6 223.1.3.27
subnet host
part part
11001000 00010111 00010000 00000000
200.23.16.0/23
IP addresses: how to get one?
Organization 0
200.23.16.0/23
Organization 1
“Send me anything
200.23.18.0/23 with addresses
Organization 2 beginning
200.23.20.0/23 . Fly-By-Night-ISP 200.23.16.0/20”
.
. . Internet
.
Organization 7 .
200.23.30.0/23
“Send me anything
ISPs-R-Us
with addresses
beginning
199.31.0.0/16”
Hierarchical addressing: more specific routes
“Send me anything
with addresses
Organization 2 beginning
200.23.20.0/23 . Fly-By-Night-ISP 200.23.16.0/20”
.
. . Internet
.
Organization 7 .
200.23.30.0/23
“Send me anything
ISPs-R-Us
with addresses
Organization 1 beginning 199.31.0.0/16
or 200.23.18.0/23”
200.23.18.0/23
IP addressing: the last word...
manages DNS
10.0.0.4
10.0.0.2
138.76.29.7
10.0.0.3
local network
devices inside local net not explicitly addressable, visible by
no fragmentation allowed
IPv6 Header (Cont)
Priority: identify priority among datagrams in flow
Flow Label: identify datagrams in same “flow.”
(concept of“flow” not well defined).
Next header: identify upper layer protocol for data
Other Changes from IPv4
Checksum: removed entirely to reduce processing
time at each hop
Options: allowed, but outside of header, indicated by
“Next Header” field
ICMPv6: new version of ICMP
additional message types, e.g. “Packet Too Big”
multicast group management functions
Transition From IPv4 To IPv6
Not all routers can be upgraded simultaneous
no “flag days”
How will the network operate with mixed IPv4 and IPv6
routers?
Tunneling: IPv6 carried as payload in IPv4 datagram
among IPv4 routers
Tunneling
A B E F
Logical view: tunnel
A B C D E F
Physical view:
IPv6 IPv6 IPv4 IPv4 IPv6 IPv6
data data
A-to-B: E-to-F:
B-to-C: B-to-C:
IPv6 IPv6
IPv6 inside IPv6 inside
IPv4 IPv4