Device | Interface | IPv6 Address | Prefix Length | Default Gateway |
Router0 | G0/0 | 2001:0DB8:C21A:1:: | 64 | N/A |
G0/0 | FE80::1 | Link-Local | ||
S0/0/0 | 2001:0DB8:C21A:2:: | 64 | N/A | |
S0/0/0 | Dynamic Link-Local | Link-Local | ||
Router1 | G0/0 | 2001:0DB8:C21A:3:: | 64 | N/A |
G0/0 | FE80::1 | Link-Local | ||
S0/0/0 | 2001:0DB8:C21A:2::1 | 64 | N/A | |
S/0/0/0 | Dynamic Link-Local | Link-Local
| ||
Laptop0 | NIC | 2001:0DB8:C21A:1::2 | 64 | FE80::1 |
Laptop1 | NIC | 2001:0DB8:C21A:1::3 | 64 | FE80::1 |
Laptop3 | NIC | 2001:0DB8:C21A:3::2 | 64 | FE80::1 |
Laptop4 | NIC | 2001:0DB8:C21A:3::3 | 64 | FE80::1 |
Objectives
- Set Up topology or download Topology and Configure Basic setting for Router
- Configure IPv6 Addresses for Router and Computers
- Verify IPv6 Configuration and End-to-End Connectivity by Ping command and data transferring
Background of the Lab
This is the practice lab for the students to configure hosts and device interfaces with IPv6 addresses and look at how the all-router multicast group is assigned to a router. You will use show commands to view IPv6 unicast and multicast addresses. You will also verify end-to-end connectivity using the ping command. This lab is consist of following steps.
Step 1 Assign IPv6 address to Router0 Interfaces
Step 2 Assign IPv6 address to Router1 Interfaces
Step 3 Enable IPv6 Routing on both Routers
Step 5 Assign IPv6 address to PCs
Step 6 Configure Static IPv6 routing on both Routers
Step 8 Verify router configuration and end-to-end connectivity
If you have a real router then setup the topology according to the topology diagram given above. If you have no router, then you can do this with Cisco packet tracer. You can download Cisco Packet tracer from here. You can also download the above topology from here. Here we will discuss the Cisco packet tracer topology.
Assign IPv6 address to Router0 Interfaces
Assign IPv6 link-local and global unicast addresses to G0/0 and Serial 0/0/0 Interfaces of Router0 listed in the Addressing Table.
(config)# interface g0/0 Router0(config-if)# ipv6 address 2001:0DB8:C21A:1::/64 Router0(config-if)# ipv6 address FE80::1 link-local Router0(config-if)# no shutdown Router0(config-if)# exit Router0(config)# interface s0/0/0 Router0(config-if)# ipv6 address 2001:0DB8:C21A:2::/64 Router0(config-if)# no shutdown Router0(config-if)# end Router0# |
Note:- Packets with a link-local address never leave the local network and each interface of the router is a separate network. So, you can assign the same link-local address on both interfaces of the router.
Assign IPv6 address to Router1 Interfaces
(config)# interface g0/0 Router1(config-if)# ipv6 address 2001:0DB8:C21A:3:: Router1(config-if)# ipv6 address FE80::1 link-local Router1(config-if)# no shutdown Router1(config-if)# exit Router1(config)# interface s0/0/0 Router1(config-if)# ipv6 address 2001:0DB8:C21A:2::1/64 Router1(config-if)# no shutdown Router1(config-if)# end Router1# |
Enable IPv6 Routing on both Routers
To Enable IPv6 routing on Both Routers, apply the following command.
Router0 # configure terminal Router0(config)# ipv6 unicast-routing Router0(config)# exit Router0# |
Router1# configure terminal Router1(config)# ipv6 unicast-routing Router1(config)# exit Router1# |
Assign IPv6 address to PCs
Now Open the IP address setting of laptop0 and laptop1 and change the IPv6 configuration to Auto Config, you will get the Global unicast IPv6 address for an interface and link-local address of the Router0 interface as a default gateway. Also, see the link-local address of the computer which is by default derived from MAC address of the PC. You can also configure link-local and global unicast address manually. Do the same for laptop2 and laptop3.
Configuring IPv6 Static routing on both Routers
Configure IPv6 static route on Router0 with following commands.
Router0 # configure terminal Router0(config)# ipv6 route 2001:DB8:C21A:3::/64 serial 0/0/0 Router0(config)# exit Router0# |
2001:DB8:C21A:3::/64 is the IP address of destination network and Serial 0/0/0 is the local interface towords the destination network. Now do the same for another router.
Router1 # configure terminal Router1(config)# ipv6 route 2001 2001:DB8:C21A:1::/64 serial 0/0/0 Router1(config)# exit Router1# |
Verify router configuration and end-to-end connectivity
Use the show ipv6 interface brief command to verify that the correct IPv6 unicast and link-local addresses just assigned to G0/0 interface.
Router0# show ipv6 interface brief GigabitEthernet0/0 [up/up] FE80::1 2001:DB8:C21A:1:: GigabitEthernet0/1 [administratively down/down] GigabitEthernet0/2 [administratively down/down] Serial0/0/0 [up/up] FE80::2E0:8FFF:FEB4:6D01 2001:DB8:C21A:2:: Serial0/0/1 [administratively down/down] Vlan1 [administratively down/down] |
You can see that IP addresses against Gigabit Ethernet 0/0 and Serial 0/0/0. The both interfaces are up and its link is up. The other interfaces are administratively down and its link down.
The link-local address displayed with serial interface S0/0/0 is based on EU I-64 addressing, which automatically uses the interface Media Access Control (MAC) address to create a 128-bit IPv6 link-local address. We have not assigned any ipv6 link-local address to the serial interface of the router. If you see FFFE in the center of this address, that means it is derived from MAC address of the interface using EUI-64 process.
You can also use the show ipv6 interface g0/0 command to show and verify the detail parameter for an individual interface.
You can do the same for Router1. Observe that the IP address of serial interfaces of the both routers is in the same subnet.
You can also use show runing-config command to verify the configuration.
To check end-to end configuration open the command prompt of all PCs in the topology and ping all PCs one by one for example
PC0>ping IPv6 address of PC1, PC2 or PC3
No comments:
Post a Comment