Ipv6 Autoconfiguration: Stateless and Stateful
Ipv6 Autoconfiguration: Stateless and Stateful
Contributions
Main authors
Miguel Baptista, FCCN, Portugal Carlos Friaas, FCCN, Portugal
Contributors
Mnica Domingues, FCCN, Portugal Paulo Ferreira, FCCN, Portugal Bernard Tuy, Renater, France Pedro Lorga, FCCN, Portugal
Prerequisites
You must have followed previously the modules:
010-IPv6 020-IPv6 030-IPv6 040-IPv6 Introduction Protocol Addressing Associated Protocols
Agenda
Stateless Autoconfiguration Stateful Autoconfiguration (DHCPv6) Conclusions
Stateless Autoconfiguration
Hosts should be plug & play Uses some of the Neighbor Discovery ICMPv6 messages When booting, the host asks for network parameters:
IPv6 prefix(es) default router address(es) hop limit (link local) MTU
Stateless Autoconfiguration
Only routers have to be manually configured
but work on prefix delegation is in progress
(http://www.ietf.org/rfc/rfc3633.txt)
Stateless Autoconfiguration
IPv6 Stateless Address Autoconfiguration is described in RFC 2462 Hosts are listening for Router Advertisements (RA) messages, periodically transmited by routers RA messages coming from the router(s) on the link identify the subnet Allows a host to create a global IPv6 address from:
Its interface identifier (EUI-64 address) Link Prefix (obtained via Router Advertisement)
Stateless Autoconfiguration
Usually, the router sending the RA messages is used, by hosts, as the default router If the RA doesnt carry any prefix
The hosts dont configure (automatically) any global IPv6 address (but may configure the default gateway address)
RA messages contain two flags indicating what type of stateful autoconfiguration (if any) should be performed Its impossible to automatically send DNS server addresses IPv6 addresses depends on NIC card
Internet
2. Do1. Create Server Address DAD And the DNS the link 5. DoRouter a Duplicate Address address 3. 4. Create global Detection Send Set Default address 6. Routerlocal a ?! Solicitation
FE80::20E:0CFF:FE31:C81F 2001:690:1:1:: 0E:0CFF:FE31:C81F 2 */0 FE80::20F:23FF:FEf0:551A Router Solicitation Dest. FF02::2
2001:690:1:1
Memorize clients state Provide means for securing access control to network resources
Relay agent
node that acts as an intermediary to deliver DHCP messages between clients and servers is on the same link as the client Is listening on multicast addresses:
All_DHCP_Relay_Agents_and_Servers (FF02::1:2)
Internet
Conclusions
The two types of configuration complement each other
Example: we can obtain the address from stateless autoconfiguration and the DNS server address from DHCPv6
In dual-stack networks we can obtain DNS server addresses from DHCPv4 DHCPv6 clients still arent available in Operating Systems.
So, we still need to run a client No transparent to users
Questions?