Objective
Learn how to enable IPv6 routing and configure Global Unicast IPv6 addresses on Cisco router interfaces.
Lab Topology
Topology: R1 (Gi0/0) connected to R2 (Gi0/0)
Network: 2001:db8:12::/64
Task 1 – Enable IPv6 Routing
By default, IPv6 routing is disabled on many Cisco routers. You must enable it globally to forward IPv6 packets.
R1(config)# ipv6 unicast-routing R2(config)# ipv6 unicast-routing
Task 2 – Configure R1 Interface
R1(config)# interface gigabitEthernet 0/0 R1(config-if)# ipv6 address 2001:db8:12::1/64 R1(config-if)# no shutdown
Task 3 – Configure R2 Interface
R2(config)# interface gigabitEthernet 0/0 R2(config-if)# ipv6 address 2001:db8:12::2/64 R2(config-if)# no shutdown
Task 4 – Verification
Verify the interface status and test connectivity using ping.
R1# show ipv6 interface brief GigabitEthernet0/0 [up/up] FE80::A8BB:CCFF:FE00:100 2001:DB8:12::1 R1# ping 2001:db8:12::2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2001:db8:12::2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5)