Example IPv6 Configuration on Cisco

Introduction

Requirement

You are the network administrator at iNET9, and have to configure iNET9-HQ (via Console Terminal) for connection to use IPv6 as below:
1. Set IPv6 address on interface S0/0/0 to be FEC0:78:0:1::2/64
2. Set IPv6 address on interface S0/1/0 to be 2001:21::2/48
3. Set IPv6 address on interface F0/0 to be the gateway for Hosts in LAN as:

3.1 Set IPv6 Local address in EUI-64 that has prefix to be FEC0:78:0:2::/64
3.2 Set IPv6 Global address in EUI-64 that has prefix to be 2001:22::/48

If the above configuration is done,
– Host1 will be able to connect with iNET9-BR.
– Host2 will be able to connect with ISP.

Network Diagram

Solution

iNET9-HQ>enable
iNET9-HQ#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
iNET9-HQ(config)#ipv6 unicast-routing
iNET9-HQ(config)#interface s0/0/0
iNET9-HQ(config-if)#ipv6 address FEC0:78:0:1::2/64
iNET9-HQ(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
iNET9-HQ(config-if)#
iNET9-HQ(config-if)#interface s0/1/0
iNET9-HQ(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
iNET9-HQ(config-if)#ipv6 address 2001:21::2/48
iNET9-HQ(config-if)#
iNET9-HQ(config-if)#interface fa0/0
iNET9-HQ(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
iNET9-HQ(config-if)#ipv6 address FEC0:78:0:2::/64 eui-64
iNET9-HQ(config-if)#ipv6 address 2001:22::/48 eui-64
iNET9-HQ(config-if)#
%SYS-5-CONFIG_I: Configured from console by console
iNET9-HQ#copy run start
Destination filename [startup-config]?

Building configuration… Document [OK]

iNET9-HQ#

Verification
PC>ping FEC0:78:0:1::1

Pinging FEC0:78:0:1::1 with 32 bytes of data:
Reply from FEC0:78:0:1::1: bytes=32 time=29ms TTL=254
Reply from FEC0:78:0:1::1: bytes=32 time=11ms TTL=254
Reply from FEC0:78:0:1::1: bytes=32 time=13ms TTL=254
Reply from FEC0:78:0:1::1: bytes=32 time=11ms TTL=254

Ping statistics for FEC0:78:0:1::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds: Minimum = 11ms, Maximum = 29ms, Average = 16ms

PC>ping 2001:21::1

Pinging 2001:21::1 with 32 bytes of data:

Reply from 2001:21::1: bytes=32 time=21ms TTL=254
Reply from 2001:21::1: bytes=32 time=13ms TTL=254
Reply from 2001:21::1: bytes=32 time=9ms TTL=254
Reply from 2001:21::1: bytes=32 time=13ms TTL=254

Ping statistics for 2001:21::1:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Document Approximate round trip times in milli-seconds:

Minimum = 9ms, Maximum = 21ms, Average = 14ms

PC>

What about now? Let me us know your thought in the comment below.

Leave a Reply

Your email address will not be published. Required fields are marked *