# Stateless autoconfiguration for IPv6

**URL:** https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897
**Category:** Lessons Discussion
**Created:** [December 22, 2016, 12:39am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897 "2016-12-22T00:39:20Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [December 22, 2016, 12:39am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/1 "2016-12-22T00:39:20Z")

</div>

This topic is to discuss the following lesson:

> **[Stateless autoconfiguration for IPv6](https://networklessons.com/ipv6/stateless-autoconfiguration-for-ipv6)**
>
> Stateless Autoconfiguration is an IPv6 feature that lets you automatically configure IPv6 addresses and more.

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [September 7, 2013, 9:52am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/2 "2013-09-07T09:52:31Z")

</div>

Good article…

Making it a little more comprehensive will make it a lot better and one of the best learning source especially for starters.

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [September 8, 2013, 7:37am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/3 "2013-09-08T07:37:19Z")

</div>

Thanks. I’ll add some more IPv6 stuff in the feature, especially since the new CCNA exams cover much more IPv6 then the previous version.

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [November 14, 2013, 9:57am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/4 "2013-11-14T09:57:38Z")

</div>

good article. But I could not get ipv6 address from my neighbor router in gns3 ((

---

<div class="post-metadata">

### Author: ![bigfoot48](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/b/b5e925/32.png) [@bigfoot48](https://forum.networklessons.com/u/bigfoot48)
#### Post date: [December 8, 2014, 4:22pm UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/5 "2014-12-08T16:22:42Z")

</div>

Did you enable the interfaces? It worked fine on a couple of 3600 routers in GNS3.

---

<div class="post-metadata">

### Author: ![johnfrades](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@johnfrades](https://forum.networklessons.com/u/johnfrades)
#### Post date: [August 5, 2015, 6:01am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/6 "2015-08-05T06:01:32Z")

</div>

it works for me. using 7200

---

<div class="post-metadata">

### Author: ![wdavis84](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/w/7ba0ec/32.png) [@wdavis84](https://forum.networklessons.com/u/wdavis84)
#### Post date: [January 5, 2016, 4:00am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/7 "2016-01-05T04:00:37Z")

</div>

Hi Rene,

How the IPV6 assign the default route?

Davis

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [January 5, 2016, 10:39am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/8 "2016-01-05T10:39:26Z")

</div>

Hi Davis,

It is similar to how IPv4 default routes work. Instead of 0.0.0.0/0 we use ::/0 for IPv6. You can advertise this with routing protocols or use a static route.

The default gateway works a bit differently.

A host will receive router advertisement(s) from all routers on the subnet. The router with the highest RA preference will be used as the default gateway.

Rene

---

<div class="post-metadata">

### Author: ![wdavis84](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/w/7ba0ec/32.png) [@wdavis84](https://forum.networklessons.com/u/wdavis84)
#### Post date: [January 6, 2016, 2:23am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/9 "2016-01-06T02:23:54Z")

</div>

Hi Rene,

Do you have lesson configure the RA preferences? More on how the LAN host get the DHCPV6 address and which router will be the elect as default gateway.

And the show ipv6 router command is something like show arp in IPV4?

Davis

&nbsp;

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [January 7, 2016, 7:48pm UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/10 "2016-01-07T19:48:16Z")

</div>

Hi Davis,

Take a look here:

[https://networklessons.com/cisco/ccie-enterprise-infrastructureipv6-router-advertisement-preference/](https://networklessons.com/cisco/ccie-enterprise-infrastructureipv6-router-advertisement-preference/)

The **show ipv6 router** command will show you all local routers where you received a router advertisement from. The IPv6 equivalent of show arp is **show ipv6 neighbors**.

Rene

---

<div class="post-metadata">

### Author: ![wdavis84](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/w/7ba0ec/32.png) [@wdavis84](https://forum.networklessons.com/u/wdavis84)
#### Post date: [January 8, 2016, 2:10am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/11 "2016-01-08T02:10:35Z")

</div>

Dear Rene,

Awesome explanation! I miss out this lesson. Thanks!

Davis

---

<div class="post-metadata">

### Author: ![casper.visser](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/c/eb9ed0/32.png) [@casper.visser](https://forum.networklessons.com/u/casper.visser)
#### Post date: [April 7, 2016, 5:29pm UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/12 "2016-04-07T17:29:25Z")

</div>

Hi Davis

I know it’s a bit of a late response but just to add onto this. On the client you can also add the syntax “default” after the statement “ipv6 address autoconfig”

e.g. “ipv6 address autoconfig default”. This will inject a default route on your client.

---

<div class="post-metadata">

### Author: ![mr\_nasser1980](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/m/e480ec/32.png) [@mr\_nasser1980](https://forum.networklessons.com/u/mr_nasser1980)
#### Post date: [March 29, 2018, 11:46pm UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/13 "2018-03-29T23:46:13Z")

</div>

please check:-  
“ **The big difference between DHCP for IPv6** and DHCPv6 is that we don’t use broadcast traffic anymore”

I think you mean DHCP for IPv4

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [April 4, 2018, 10:13am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/14 "2018-04-04T10:13:20Z")

</div>

Hi Nassir,

That’s correct, thanks for letting me know. Just fixed it.

Rene

---

<div class="post-metadata">

### Author: ![hroger](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/hroger/32/1552_2.png) [@hroger](https://forum.networklessons.com/u/hroger)
#### Post date: [April 4, 2019, 9:11am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/15 "2019-04-04T09:11:34Z")

</div>

Hello rené  
Do we have to use ipv6 as the “marked in marble” ipv4 addresses or are IPV6 autoconfig addresses “leased addresses” ?

for example, if a new equipement (new ports, with new mac; or maintenance) is added to a router, does he find the same mandatory ip when he restarts ?  
then (if the maintenance change all the router) is it a best practice to write in the new router a static address with the same eui/64 form than the old router ? or is it préférable to have new on in this case ?

---

<div class="post-metadata">

### Author: ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)
#### Post date: [April 4, 2019, 3:19pm UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/16 "2019-04-04T15:19:10Z")

</div>

Hello Hugues

When using SLAAC, the addresses that are configured depend on the operating system being used. Specifically for Cisco IOS devices, the EUI64 process is used by default. This means that the actual IPv6 address that a Cisco device will obtain will depend directly on the MAC address of the device itself. If this device is then removed and another device is put in its place, because MAC addresses are unique, the new IPv6 address it will obtain will be different. If the same device is shutdown and restarted, then the same IPv6 address will be assigned to the device once again.

> [@hroger](#):
>
> is it a best practice to write in the new router a static address with the same eui/64 form than the old router ? or is it préférable to have new on in this case ?

Well, it really depends on what you want. Typically, for network equipment, it is preferable to use a static address so that remote administration can take place over the same destination IP address.

I hope this has been helpful!

Laz

---

<div class="post-metadata">

### Author: ![larsmoritz89](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/l/fbc32d/32.png) [@larsmoritz89](https://forum.networklessons.com/u/larsmoritz89)
#### Post date: [November 4, 2019, 7:58am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/17 "2019-11-04T07:58:16Z")

</div>

Hello, thanks for the lesson. In this video you show for example how to configure Stateless autoconfiguration. But is this the same as SLAAC(stateless Address Autoconfiguration)?

Best regards Lars

---

<div class="post-metadata">

### Author: ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)
#### Post date: [November 4, 2019, 8:01am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/18 "2019-11-04T08:01:11Z")

</div>

Hello Lars

Yes, Stateless Autoconfiguration for IPv6 is the same thing as SLAAC.

Laz

---

<div class="post-metadata">

### Author: ![gazwoz](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/gazwoz/32/596_2.png) [@gazwoz](https://forum.networklessons.com/u/gazwoz)
#### Post date: [November 18, 2019, 11:45am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/19 "2019-11-18T11:45:41Z")

</div>

Hi Guys - two quick questions..

Is `ipv6 address autoconfig` all we need to configure SLAAC?

Is SLAAC used exclusively for link local addresses?

Thanks,

Gareth.

---

<div class="post-metadata">

### Author: ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)
#### Post date: [November 19, 2019, 7:00am UTC](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897/20 "2019-11-19T07:00:27Z")

</div>

Hello Gareth

From the client side, yes that command is all that you need. You must also have an IPv6 enabled router connected to the subnet of that interface in order for the autoconfig to function.

SLAAC is used only for global unicast addresses. Link local addresses are generated either using the EUI-64 method, or randomly. (Cisco uses EUI-64 by default, Microsoft Windows, for example, uses a random algorithm for their hosts). Link local IPv6 address generation does not require the presence of an IPv6 router on the subnet as it generates the address completely independently of any other device. SLAAC requires the existence of an IPv6 router on the subnet to function.

I hope this has been helpful!

Laz

[Next page](https://forum.networklessons.com/t/stateless-autoconfiguration-for-ipv6/897.md?page=2)
