i pv6
TRANSCRIPT
![Page 1: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/1.jpg)
IPv6Varsha RameshKumar,S6 CSE
![Page 2: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/2.jpg)
IPv6
• Initial motivation: 32-bit address space soon to be completely allocated. – Increase IP address from 32 bits to 128
• Additional motivation:• header format helps speed processing
– Longer header but fewer fields (8 vs 12), so routers should have less processing
• header changes to facilitate QoS– Accommodate higher network speeds, mix of data streams
(graphics, video, audio)
• IPv6 datagram format: – fixed-length 40 byte header– no fragmentation allowed
![Page 3: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/3.jpg)
Advantages
• Overcome IPv4 scaling problem – lack of address space.
• Flexible transition mechanism.• New routing capabilities.• Quality of service.• Security.• Ability to add features in the future.
![Page 4: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/4.jpg)
IPv6 Background
• IP has been patched (subnets, supernets) but there is still the fundamental 32 bit address limitation
• IETF started effort to specify new version of IP in 1991– New version would require change of header– Include all modifications in one new protocol– Solicitation of suggestions from community– Result was IPng which became IPv6– First version completed in ’94
• Same architectural principles as v4 – only bigger
![Page 5: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/5.jpg)
Features of IPv6
• Larger Address Space• Aggregation-based address hierarchy
– Efficient backbone routing• Efficient and Extensible IP datagram• Stateless Address Autoconfiguration• Security (IPsec mandatory)• Mobility• IPv6 can address 3.4×1038 nodes
![Page 6: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/6.jpg)
IPv6 Packet header
![Page 7: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/7.jpg)
7
IPv6 Header Fields
• VERS: 6 (IP version number)• Priority: will be used in congestion control• Flow Label: experimental - sender can
label a sequence of packets as being in the same flow.
• Payload Length: number of bytes in everything following the 40 byte header, or 0 for a Jumbogram.
![Page 8: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/8.jpg)
8
IPv6 Header Fields
• Next Header is similar to the IPv4 “protocol” field - indicates what type of header follows the IPv6 header.
• Hop Limit is similar to the IPv4 TTL field (but now it really means hops, not time).
![Page 9: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/9.jpg)
Address Space Allocation
• IPv6 addresses are also classless, but the
address space is still subdivided in various ways based on the leading bits.• The leading bits specify different uses of
the IPv6 address.
![Page 10: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/10.jpg)
![Page 11: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/11.jpg)
• A node may be assigned an IPv4-compatible IPv6 address by zero-extending a 32-bit IPv4 address to 128 bits.
• A node that is only capable of understanding IPv4 can be assigned an IPv4-mapped IPv6 address by prefixing the 32-bit IPv4 address with 2 bytes of all 1s and then zero-extending the result to 128 bits.
• These two special address types have uses in the IPv4-to-IPv6 transition
![Page 12: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/12.jpg)
128-bit IPv6 Address3FFE:085B:1F1F:0000:0000:0000:00A9:1234
8 groups of 16-bit hexadecimal numbers separated by “:”
3FFE:85B:1F1F::A9:1234
:: = all zeros in one or more group of 16-bit hexadecimal numbers
Leading zeros can be removed
![Page 13: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/13.jpg)
For example,The IPv4-mapped IPv6 address of a host whose IPv4 address was 128.96.33.81could be written as::FFFF:128.96.33.81
![Page 14: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/14.jpg)
Global Unicast Addresses
• at the heart of IPv6 is the unicast address allocation plan that determines how unicast addresses will be assigned to
• service providers, • autonomous systems, • networks, • hosts, and • routers.
![Page 15: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/15.jpg)
Network Layer 15
Address Complexity
• IPv6 actually has many kinds of addresses
– unicast, anycast, multicast, – link-local, site-local, loopback, IPv4-
embedded, care-of, manually-assigned, DHCP-assigned, self-assigned, solicited-node, and more…
• most of this complexity is also present in IPv4,just never written down in one place
– a result of 20 years of protocol evolution• one simplification: no broadcast addresses in IPv6!
– uses multicast to achieve same effects
![Page 16: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/16.jpg)
Network Layer 16
IPv6 Addressing
• Classless addressing/routing (similar to CIDR)• Notation: x:x:x:x:x:x:x:x (x = 16-bit hex number)
– contiguous 0s are compressed: 47CD::A456:0124– IPv6 compatible IPv4 address: ::128.42.1.87
• Address assignment– provider-based (can’t change provider easily)– geographic
001 Registry ID Provider ID Subscriber ID Subnet ID Interface ID
n bits m bits o bits p bits (125-m-n-o-p) bits
![Page 17: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/17.jpg)
40bytes
20bytes
IPv4
IPv6
0 15 16 31
vers hlen TOS total length
identification flags flag-offset
TTL protocol header checksum
source address
destination address
options and padding
vers traffic class flow-label
payload length next header hop limit
source address
destination address
Removed (6)• ID, flags, flag offset• TOS, hlen• header checksum
Changed (3)
Added (2)
Expanded
• total length => payload• protocol => next header• TTL => hop limit
• traffic class• flow label
• address 32 to 128 bits
Header comparison
![Page 18: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/18.jpg)
Major Improvements of IPv6 Header
• No option field: Replaced by extension header. Result in a fixed length, 40-byte IP header.
• No header checksum: Result in fast processing.
• No fragmentation at intermediate nodes: Result in fast IP forwarding.
![Page 19: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/19.jpg)
Extension Headers
• Routing – Extended routing, like IPv4 loose list of routers to visit
• Fragmentation – Fragmentation and reassembly
• Authentication – Integrity and authentication, security
• Encapsulation – Confidentiality• Hop-by-Hop Option – Special options that
require hop-by-hop processing• Destination Options – Optional information to
be examined by the destination node
![Page 20: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/20.jpg)
Extension Header
![Page 21: I pv6](https://reader030.vdocument.in/reader030/viewer/2022012918/5589e09ad8b42a7b2c8b4570/html5/thumbnails/21.jpg)
THANK YOU!