Documente Academic
Documente Profesional
Documente Cultură
Protocol
By: Muhammad
Hanif
Goals….
Many people fail in life, not for lack
of ability or brains or even courage
but simply because they have never
organized their energies around a
goal.
‐ Elbert Hubbard
It's
how you deal with failure that
determines how you achieve success.
‐ David Feherty
Network layer in an
internetwork
Network Layer
Source
◦ Creating a packet from the Segments.
The header contains source and destination IP
addresses.
◦ Checking the routing table to find the path.
◦ If the packet is larger than MTU, fragment it.
Router
◦ Routing the packet by consulting the routing
table for each incoming packet and find the
path that the packet must be sent to.
Destination
◦ Address verification.
◦ Removing the Packets header from the
packets and pass it to Transport layer.
IPV4
BS IT BS CS
By: Muhammad
Hanif
Remember …..
“The more you understand
the less you have to
remember.”
Craig A. McCraw
340,282,366,920,938,463,463,37
4,607,431,768,211,456 = 340
trillion trillion trillion addresses
◦ This is approximately 3.4 x 10^38
◦ Compare with 4 x 10^9 IPv4 addresses,
IPv6 has 10^29 times more Addresses
◦ 67 billion billion addresses per cm2 of the
planet surface
IPv6 address format
2001:0DA8:E800:0000:0260:3EFF:FE47:0001
2001:DA8:E800:0:260:3EFF:FE47:1
2001:0DA8:E800:0000:0000:0000:0000:0001
2001:DA8:E800::1
IP Datagram
IPv4 Header
Header: from IPv4 to IPv6
Changed Removed
IPv6 Header Format
IPv6 header
IPv6 header is simpler than IPv4
◦ IPv4: 14 fields, variable length (20 bytes +)
◦ IPv6: 8 fields, fixed length (40 bytes)
Header fields eliminated in IPv6
◦ Header Length
◦ Identification
◦ Flag
◦ Fragmentation Offset
◦ Checksum
Header fields enhanced in IPv6
◦ Traffic Class
◦ Flow Label
IP V6 Header
Version –4 bits –Identifies the
version of IP protocol
0100 (4) for IPv4
0110 (6) for IPv6
IP V6 Header
Traffic Class –8 bits –Allows
originating nodes and/or routers to
distinguish between different
classes or priorities of IPv6 packets
QoS is an example implementation
IP V6 Header
Flow Label –20 bits –Used to
“label” a flow of traffic.
RFC 1809 “Using the Flow Label
Field in IPv6”
IP V6 Header
Payload Length –16 bits –Length
of the payload
Payload = 65536 bytes
IP V6 Header
Next Header –8 bits – Identifies
the type of header immediately
following the IPv6 header;
Identifies the “extension” header
immediately following
Packet may have zero, one, or
more extension headers
IP V6 Header
Hop Limit –8 bits –Maximum
number of hops IPv6 packet can be
forwarded.
◦ Similar to IPv4 TTL.
IP V6 Header
Source Address –128-bits
◦ versus IPv4 32-bit
Destination Address –128-bits
◦ versus IPv4 32-bit
Tunnelling Mechanisms
How they work:
◦ Encapsulation of IPv6 packets within IPv4
packets and vice versa
◦ The tunnel's end point performs the
necessary operations on the protocol:
Reconnection of fragmented packets
Packet forwarding in the IPv6 network
◦ Nodes performing the encapsulation and
decapsulation operation have to be dual
stack
Transition Mechanisms
Dual Stacks
◦ IPv4/IPv6 coexistence on one device
Tunnels
◦ For tunneling IPv6 across IPv4 clouds
◦ Later, for tunneling IPv4 across IPv6
clouds
◦ IPv6 <‐> IPv6 and IPv4 <‐> IPv4
Translators
◦ IPv6 <‐> IPv4
IPv6 transition
IPv6 tunnel over IPv4
IPv4
Network
IPv6 IPv6
tunnel