DHCP – Ask a server for its network configuration.
Each customer post and each interface of our active equipment will have 2 types of IPv6 address:
– A Global Unicast address
This address is "routable"
It is in the network 2000:: /3
– A Unique Local Address
This address is "non-rable"
It is in the network FE80:: /10
In this article, we'll see how to get a Global unicast address.
It is composed of 4 elements (as for the DHCP IPv4)
To do 3 ways:
– Manually enter this information
– Use a Statefull DHCPv6 and THE NDP protocol.
– Use a DHCPv6 Stateless, THE NDP protocol and the SLAAC.
DHCP IPv6 Statefull – NDP.
Our client DHCPv6 will ask for an IPv6 address like IPv4
Except that broadcast no longer exists in the IPv6 world, so it will send this request in multicast using its Link-local address as its source IP address.
The DHCPv6 Statefull server will provide him with his IPv6 address, his mask and his DNS servers. All he needs now is his gateway address.
The NDP protocol has four functions:
– Router Solicitation (Router Solicitation – Router Advertisement)
– Discovery of the IPv6 network address – Mask of our LAN (RS-RA)
– Discovery of other equipment on the network (Network Solicitation – Network Advertisement)
– DAD (Duplicate Address Duplicate) (NS-NA)
In our case, our client goes in search of a router to put it as the default gateway!
Its default gateway will be the link-local address of our router.
DHCP IPv6 Stateless – NDP – SLAAC.
SLAAC – State Less Address Auto Configuration
This process is based on the NDP protocol and the RS and RA messages.
So he learns:
– In which network it should be
– Its default gateway
Since our client knows what IPv6 address range he should be in, he will either:
– Used the EUI-64 process
– Choose a random IP address.
Our client has given himself an IP address through SLAAC. In order to verify that this IP address is free, it will use the NS and NA messages.
This process is called the DAD (Duplicate Address Duplicate).
He will look for himself on the LAN, if no one answers, it is that this address is available.
The only information our client lacks is the IP address of the DNS servers. He therefore makes a DHCP request on the network to get this information.
In our LAN network, the easiest way is to set up self-configuration (DHCPv6 Stateless – NDP – SLAAC).
This allows us to have no follow-up of leases and addresses to do.
Hoping this article has been helpful to you! Don't hesitate to let me know!!
This site has other network items, take the opportunity to browse the menu bar!