Curs 4
Curs 4
Curs 4
(IPv6)
What is IPv6 and why
is it important?
• IPv6 is the latest version of the Internet Protocol, which identifies devices
across the internet so they can be located
• The previous version, IPv4, uses a 32-bit addressing scheme to support 4.3
billion devices, which was thought to be enough.
• However, the growth of the internet, personal computers, smartphones and
now Internet of Things devices proves that the world needed more addresses.
• IETF recognized this more than 20 years ago!!
• In 1998 IETF created IPv6, which instead uses 128-bit addressing to support
approximately 340 trillion trillion (or 2 to the 128th power)
• Instead of the IPv4 address method of four sets of digit numbers, IPv6 uses
eight groups of four hexadecimal digits, separated by colons.
• despite its efficiency and security advantages, its adoption is still slow
Why IPv6 and
not IPv5???
Brief
history
2003 2004 2006
the
• Class of service that distinguishes types of data
• Improved multicast routing support (in preference to broadcasting)
translatio • The way NAT works is when a corporate computer with a private IP
address sends a packet to a public IP address outside the corporate
n (NAT)
network, it first goes to the NAT device.
• The NAT notes the packet’s source and destination addresses in a
translation table.
and IPv6 • The NAT changes the source address of the packet to the public-facing
address of the NAT device and sends it along to the external
destination.
• When a packet replies, the NAT translates the destination address to
the private IP address of the computer that initiated the
communication.
• Carrier networks and Internet service providers (ISP)
have been the first group to start deploying IPv6 on
their networks, with mobile networks leading the
charge.
Who is • For example, T-Mobile USA has more than 90% of its
deploying traffic going over IPv6 (Sept. 2018).
• Enterprises are in the deployment phase, with a
IPv6? little under one-fourth of enterprises advertising
IPv6 prefixes, according to the Internet Society’s
“State of IPv6 Deployment 2017” report.
• Complexity, costs and time needed to complete are
all reasons given.
• Some projects have been delayed due to software
compatibility.
• the Internet Society said prices will drop after IPv6
deployment passes the 50% mark.
• 2018: according to Google, the world has 20% to 22%
IPv6 adoption, but in the U.S. it’s about 32%.
When will • as the price of IPv4 addresses begin to drop, the Internet
Society suggests that enterprises sell off their existing
more IPv4 addresses to help fund IPv6 deployment.
deployme
• MIT concluded that 8 million of its IPv4 addresses were
“excess” and could be sold without impacting current or
future needs since it also holds 20 nonillion IPv6
nts occur? addresses (a nonillion is the numeral one followed by 30
zeroes)
• as more deployments occur, more companies will start
charging for the use of IPv4 addresses, while providing
IPv6 services for free.
• most of the world “ran out” of new IPv4
addresses between 2011 and 2018
• we won’t completely be out of them as IPv4
addresses get sold and re-used.
When will • any leftover addresses will be used for IPv6
IPv4 be transitions.
• there’s no official switch-off date, so people
“shut shouldn’t be worried that their internet access
off”? will suddenly go away one day.
• as more networks transition, more content sites
support IPv6 and more end users upgrade their
equipment for IPv6 capabilities, the world will
slowly move away from IPv4.
IPv6
datagram
• Version 4-bit IP version number: 6.
• Traffic class 8-bit traffic class value.
• Flow label 20-bit field.
• Payload length The length of the packet in bytes
(excluding this header) encoded as a 16-bit
unsigned integer.
• Next header Indicates the type of header
immediately following the basic IP header. It can
indicate an IP option header or an upper layer
protocol.
• Hop limit similar to IPv4 TTL field but it is now
measured in hops and not seconds.
• Source address A 128-bit address.
• Destination address A 128-bit address.
Translatio
• Tunneling does not work in this situation because the
packet must be in the IPv4 format to be understood by the
receiver.
n • In this case, the header format must be totally changed
through header translation.
• The header of the IPv6 packet is converted to an IPv4
header.
• Header translation uses the mapped address to translate
an IPv6 address to an IPv4 address.
Network Address Translation – Protocol Translation
IPv6 - Routing
• routing concepts remain the same but almost all routing protocols have been redefined accordingly.
• Distance Vector Routing Protocol:
• a router running distance vector protocol advertises its connected routes and learns new routes from its
neighbors.
• the routing cost to reach a destination is calculated by means of hops between the source and destination.
• a router generally relies on its neighbor for best path selection, also known as “routing-by-rumors”.
• RIP and BGP are Distance Vector Protocols.
• Link-State Routing Protocol:
• this protocol acknowledges the state of a Link and advertises to its neighbors.
• information about new links is learnt from peer routers.
• after all the routing information has been converged, the Link-State Routing Protocol uses its own
algorithm to calculate the best path to all available links.
• OSPF and IS-IS are link state routing protocols and both of them use Dijkstra’s Shortest Path First
algorithm.
Interior Routing Protocol:
• protocols in this categories are used
within an AS or organization to
distribute routes among all routers
inside its boundary.
IPv6 - • examples: RIP, OSPF.
Routing
Exterior Routing Protocol:
• distributes routing information
between two different AS or
organization.
• examples: BGP.
RIPng (Routing Information Protocol Next Generation
• is an Interior Routing Protocol and is a Distance Vector Protocol.
• RIPng has been upgraded to support IPv6.
Changed
• IPv6 enabled hosts do not require any DHCPv6 Server to
acquire IP address as they can be auto-configured.
• neither do they need DHCPv6 to locate DNS server because
to DNS can be discovered and configured via ICMPv6 Neighbor
Discovery Protocol; DHCPv6 Server can be used to provide
Support these information.
IPv6 DNS
• there has been no new version of DNS but it is now
equipped with extensions to provide support for querying
IPv6 addresses.
• a new AAAA (quad-A) record has been added to reply IPv6
query messages.
• now the DNS can reply with both IP versions (4 & 6) without
any change in the query format.