Configuring Cisco Routers with IPv6

Configuring Cisco Routers with IPv6
Look at Table 10.1.
To enable IPv6 on a router, you have to use the
ipv6 unicast-routing
global configuration
command:
Corp(config)#
ipv6 unicast-routing
By default, IPv6 traffic forwarding is disabled, so using this command enables it. Also, as
you’ve probably guessed, IPv6 isn’t enabled by default on any interfaces either, so we have to
go to each interface individually and enable it.
You can do this in a few different ways, but a really easy way is to just add an address to
the interface. You use the interface configuration command
ipv6 address /
[eui-64]
to get this done.
Here’s an example:
Corp(config-if)#
ipv6 address 2001:db8:3c4d:1:0260.d6FF.FE73.1987/64
You can specify the entire 128-bit global IPv6 address, or you can use the
eui-64
option.
Remember, the
eui-64
format allows the device to use its MAC address and pad it to make
the interface ID. Check it out:
Corp(config-if)#
ipv6 address 2001:db8:3c4d:1::/64 eui-64
As an alternative to typing an IPv6 address on a router, you can enable the interface instead
to permit the application of an automatic link-local address.
To configure a router so that it uses only link-local addresses, use the
ipv6 enable
interface
configuration command:
Corp(config-if)#
ipv6 enable
OK, now let’s dive into stateful IPv6 by configuring a DHCP server for IPv6 use. Take a
look at Table 10.2.