1.1k views
1 vote
What is the command to configure a router to obtain an IPv6 address automatically via SLAAC?

1 Answer

2 votes

Final answer:

To configure a router for SLAAC, enter the interface configuration mode, use 'ipv6 enable' to enable IPv6 processing, and then 'ipv6 address autoconfig' to allow automatic IPv6 address configuration.

Step-by-step explanation:

To configure a router to obtain an IPv6 address automatically via Stateless Address Autoconfiguration (SLAAC), you would typically enter the command in the router's interface configuration mode. The specific command may vary based on the router's operating system. However, for Cisco routers running IOS, the command would look like this:

interface [interface_type][interface_number]
ipv6 enable
ipv6 address autoconfig

First, you enter the interface configuration mode by specifying the type and number of the interface you want to configure (e.g., GigabitEthernet0/0). Next, you use the ipv6 enable command to enable IPv6 processing on the interface. Finally, the ipv6 address autoconfig command allows the router to obtain its IPv6 address automatically using SLAAC. It's important to note that the network must already have an IPv6-capable router advertisement daemon running for SLAAC to work.

User Jeremy Morren
by
7.8k points