Show
IPv6 ConfigurationIPv6 is the new version of the most important Network Layer Protocol IP. With this new IP version, IPv6, beside different features, some configuration differencies are also coming. In this lesson, we will focus on these IPv6 Configuration Steps, IPv6 Configuration on Cisco devices. We will use the below Packet Tracer topology for our IPv6 Config. You can download Packet Tracer IPv6 Lab, in Packet Tracer Labs page. In this configuration lesson, we will follow the below IPv6 Configuration steps:
So, let’s go to the IPv6 Configuration steps and configure IPv6 for Cisco routers. Enable IPv6 GloballyAfter going to the configuration mode with “configure terminal” command, to enable IPv6 on a Cisco router, “ipv6 unicast-routing” command is used. With this Cisco command, IPv6 is enabled globally on the router. This can be used before both interface configurations and IPv6 Routing Protocol configurations.
Enable IPv6 on InterfaceAfter enabling IPv6 globally, we should enable IPv6 under the Interfaces. To enable IPv6 under an interface, we will use “ipv6 enable” command. Let’s enable IPv6 on two interfaces of each router.
Configure EUI-64 Format Global Unicast AddressEUI-64 format is the IPv6 format used to create IPv6 Global Unicast Addresses. It is a specific format that we have also talked about before. With this format, basically, interface id of the whole IPv6 adderess is ceated with the help of the MAC address. After that, this created interface id is appended to the network id. To configure an interface with EUI-64 format (Extended Unique Identifier), firstly we will go under the interface, then we will use “ip address ipv6-address/prefix-length eui-64” command. Here, our IPv6 address and prefix-length are 2001:AAAA:BBBB:CCCC::/64. The real EUI-64 Global Unicast Address will be created with this address and MAC address after IPv6 configuration.
Let’s check the IPv6 address that is created with EUI-64 format with “show ipv6 interface brief” command.
Configure Manual Link Local AddressIf we do not use EUI-64 format address, we have to write the whole IPv6 Address to the configuration line. Let’s configure Gigabit Ethernet 0/0 interface of Router 2 manually.
Here, both of these directly connected interfaces are in the same subnet, the Network ID is same (2001:AAAA:BBBB:CCCC::/64). Let’s check the IPv6 address that we have manually assigned with “show ipv6 interface brief” command.
IPv6 PingTo check the connectivity between two node, we use ping. As IPv4, with IPv6, we also use ping, but this time it is called IPv6 Ping. The format of IPv6 Ping is a little difference than IPv4 Ping. These differences are the format of the used IP address and the used keywords. With IPv6 Ping, “ping ipv6” keywords are used before the destination IPv6 address. Here, we will ping from Router 1 GigabitEthernet0/0 interface to Router 2 GigabitEthernet0/0 interface.
To check the configured IPv6 Address, we can use “show ipv6 interface interface-name” command.
Here, with ipv6 ping, there are some options that we can use. These are given below: ping ipv6 [hostname | ip_address] [repeat repeat-count | size datagram-size | source [interface-name | source-address]
So if we would like to send 10 IPv6 ping packet with 200 byte datagrams from 2001:AAAA:BBBB:CCCC:1234:1234:1234:1234 to 2001:AAAA:BBBB:CCCC:1111:2222:3333:4444, we will use the below command:
Manual Link Local Address ConfigurationTo configure a Link Locak address manually, we use “ipv6 address link-local ipv6-address” command. Here, we should write an IPv6 address in the range of Link Local addresses. If you would like to learn more about a Link Local Address, you can check Link Local Address lesson. Let’s configure GigabitEthernet0/1 interface of Router 1 with Link Local Address FE80::AAAA:BBBB:CCCC:DDDD. Here, there is no need to write a prefix length but we will add link-local keyword at the end of the command.
Let’s check the manually configure ipv6 Link-Local address with “show ipv6 interface brief” command.
Auto IPv6 Address ConfigurationIPv6 Addresses can be configured automatically. This is one of the most important characteristics coming with IPv6. For IPv6 Auto configuration, we will use “ipv6 address autoconfig” command. Let’s use it on Router 2 on GigabitEthernet0/1.
This type of IPv6 address configuration is Sateless Auto Configuration. Let’s check the Autoconfigured Link-Local ipv6 address with “show ipv6 interface brief” command.
Let’s ping from Router 2 to Router 1 to test this second interfaces’ ipv6 connection.
Enable DHCPv6 ClientTo enable DHCPv6 Client function on an interface, we use “ipv6 address dhcp” command under this interface. With this command, interface gets its IPv6 address form the DHCPv6 server. Let’s enable DHCPv6 on GigabitEthernet0/2 of Router 2.
To verify DHCPv6 enabled interfaces, we can use “show ipv6 dhcp interface” command.
IPv6 Verification CommandsTo verify IPv6 Configuration, we can use different show commands. These IPv6 show commands are given below
What command allows for IPv6 to be enabled on a router?Enable IPv6 routing on a Cisco router using the ipv6 unicast-routing global configuration command. This command globally enables IPv6 and must be the first command executed on the router.
How would you configure a network with IPv6?You can configure the external interface with an IPv6 address in addition to the IPv4 address. IPv6 is not enabled on any interface by default.. Adjacent to the Static IPv6 Addresses list, click Add. ... . Type the IPv6 IP address and the routing prefix length.. Click OK.. What type of address is automatically assigned to an interface when IPv6 is enabled on that interface?Link-local addresses can be automatically generated or manually configured. After the IPv6 function is enabled on an interface, the system automatically generates a link-local address for the interface. The link-local address that is manually configured must be valid (usually with the FE80::/10 prefix).
|