CCNP

IPv6 Configuration Example : Step By Step Guide

ipv6 configuration

IPv6 can work with static routing and dynamic routing protocols as well as IPv4. Configuration steps are similar, but there are a few differences too. RipNG, OSPFv3 and static routing configurations will be made for the figure below :

ipv6 addressing

* First , IPv6 should be activated on each router via “ipv6 unicast-routing” command.

IPv6 CONFIGURATION : STATIC ROUTING

IPv6 static routing is activated via “ipv6 route” command. For the figure above, Router – 1 can ping Router -3 and Router -2 , static route will be written for establishing communication with Router – 4

R1(conf)#ipv6 route 2001:33AA::/64  2001:22AA::2
R2(conf)# ipv6 route :: /0 2001:11919       // Default route for Router 2 //

IPv6 routes can be verified via “show ipv6 route” command

IPv6 CONFIGURATION : OSPFv3 ROUTING

 

R1(config)#ipv6 unicast-routing
R1(config)#int f0/0
R1(config-if)#ipv6 ospf 1 area 10
ex
R1(config)#ipv6 router ospf1
R1(config)#router-id 0.0.0.1
ex
R1(config)#int s0/0
R1(config-if)#ipv6 ospf 1 area 0
R2(config)#ipv6 unicast-routing
R2(config)#int s0/0
R2(config-if)#ipv6 ospf 1 area 10
R2(config)#ipv6 router ospf 1
R2(config)#router-id 0.0.0.2

R3(config)#ipv6 unicast-routing
R3(config)#int s0/0
R3(config-if)#ipv6 ospf 1 area 0
R3(config)#int f0/0
R3(config-if)#ipv6 ospf 1 area 20
R3(config)#ipv6 router ospf 1
R3(config)#router-id 0.0.0.3

 

 

 

R4(config)#int f0/0
R4(config-if)#ipv6 ospf 1 area 20
R4(config)#ipv6 router ospf 1
R4(config)#router-id 0.0.0.4

 

Leave a Reply

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