You are on page 1of 5
1990512028, 1:56 ‘Stateless auloconiguation for Pv Search Q © Stateless autoconfiguration for IPv6 Stateless autoconfiguration for IPV6 is like a “mini-DHCP" server for IPV6. Routers running IPv6 can give the prefix of the network and a gateway address to clients looking for an IPv6 address. IPv6 uses the NDP tion and (Neighbor Discovery Protocol), and one of the things this protocol offers is RS (Route Solicit (RA) Router Advertisement messages that help an IPv6 device configure an IPvé address automatically. Let's take a look at a configuration example: 2001:1234::/64 Fa0/0-———F a0/ | will use two routers to show you how stateless autoconfiguration works, R2 will have an IPv6 address and is going to send router advertisements. R1 will use this to configure its own IPv6 address, R2(config)#ipv6 unicast-routing R2(config)#interface fastEthernet 0/2 R2(config-if)#ipv6 address 2001:1234::/64 eui-64 Besides configuring an IPv6 address, we must use the ipv6 unicast-routing command to make R2 act like a router, Remember this command since you need it for routing protocols as well. Ri(config)#interface fastEthernet 0/@ Ri(config-if)#ipvé address autoconfig We need to enable ipv6 address autoconfig on R1 to make sure it generates its own IPv6 aco Ratdebug ipv6 nd hitpssnetworklessons.comciscofece-rouing-swtching/staleless-aulocontiguraton-forjpvS us 1990512028, 1:56 ‘Stateless auloconiguration for IPv6 a R2itdebug ipvé nd ICMP Neighbor Discovery events debugging is on We can use debug ipv6 nd to watch the whole process. Rae ICMPV6-ND: Sending RA to FFO2 ICMPV6-ND: MTU = 1500 on FastEtherneto/@ ICMPv6-ND: prefix = 2001:1234::/64 onlink autoconfig Here you can see R2 sending the router advertisement with the prefix. Rut TCMPV6-ND: Received RA from FEBO ICMPv6-ND: Autoconfiguring 2001:123: EOA:18FF :FEQE:@ on FastEtherneto/a 11CE09:18FF:FEQE:@ on FastEtherneto/@ This is R1 receiving the router advertisement and configuring its own IPv6 address. Ri#show ipvé interface brief Fastethernet@/@ [up/up] FE8@: :CE09: 18FF: FEQE:@ 2001:1234: :CEO9: 18FF:FEQE:@ And here is the proof that we have a fresh new IPv6 address on R1 Riftshow ipvé routers Router FE8@:: EOA:18FF:FEQE:@ on FastEthernet@/@, last update @ min Hops 64, Lifetime 1800 sec, AddrFlag=@, OtherFlag-@, MTU=1500 voneAgentFlag-®, Preference-Hediun Reachable tine @ nsec, Retransmit tine @ msec io) Prefix 2801:1234::/64 onlink autoconf ig Valid Lifetine 2592000, preferred lifetine 60sse hitpsnetworklessons.comciscotece-rouing-swtching/staleless-aulocontiguraton-orjpvS 218 1990512028, 1:56 ‘Stateless auloconiguation for v6 a Not bad, right? If we can do this, why do we still care about DHCPV6? Don't forget DHCP can do many more things than just giving out IPv6 addresses like * Registering hostnames of computers in DNS. * Include a list of DNS or WINS servers. * Include the IPv6 address of Callanager (for VoIP phones) or a wireless LAN controller (for lightweight access points). DHCP is, of course, also available for IPv6 and is called DHCPV6. The big difference between DHCP for IPv4 and DHCPV6 is that we don't use broadcast traffic any more. When an IPv6 device is looking for a DHCPV6 server, it will send multicast packets to FFO2: :2. Routers will forward these packets to DHCP servers. Want to take a look for yourself? Here you will find the final configuration of each device, R2 hostname R2 pv unicast-routing ! interface fastEthernet 0/2 ipve address 2001:1234::/64 eui-64 ! end R1 hostname RL. ipv6 unicast-routing interface fastEthernet 0/2 ipvé address autoconfig hitpstnetworklessons.comciscalece-rouing-switching/stl ss-aulocontiguationforipvs ais 1990512028, 1:56 ‘Stateless auloconiguation for v6 a That's all for now. If you enjoyed this lesson, please leave a comment! Previous Lesson Next Lesson IPv6 Neighbor Discovery [Pv6 Router Advertisement) Protocol Preference Forum Replies sytem Good article. Making it a little more comprehensive will make ita lot better and one of the best learning source especially for starters. Thanks. ll add some more IPv6 stuff in the feature, especially since the new CCNA exams cover much more IPv6 then the previous version. & ss0m ‘good article, But | could not get ipv6 address from my neighbor router in gns3 (( [Ey] viernes Did you enable the interfaces? It worked fine on a couple of 3600 routers in GNS3, @ Johnfrades it works for me. using 7200 hnps:netwocklessons.comiciscalecie-outng-switcinglstateless-aulocontigurationforipv6 46 1990512028, 1:56 ‘Stateless auloconiguration for IPv6 a ‘Ask a question or join the discussion by visiting our Community Forum Disclaimer Privacy Policy Support About © 2013 - 2023 NetworkLessons.com 52189 © ctri+m hnps:netwocklessons.comiciscalecie-outng-switchinglstateless-aulconfiguration foripv6

You might also like