Table of Contents for
Packet Tracer Network Simulator

IPv6 static and dynamic routing

Similar to IPv4, IPv6 too supports both static and dynamic routing. Configuration commands for its static routing are similar to IPv4.

Static routing

Modifying the same topology that we used previously, let's add a router, switch, and two PCs to create a separate network, as shown in the following screenshot:

Static routing

The first network will use addresses starting from 2000:1::/64 and the second network will use addresses starting from 2000:2::/64. The link between both the routers will have IP addresses 2001::10/64 and 2001::20/64.

Here is a table describing the topology:

Device

Interface

IP address

R1

FastEthernet0/0

2000:1::1/64

 

FastEthernet0/1

2001::10/64

PC0

FastEthernet

2000:1::2/64

PC1

FastEthernet

2000:1::3/64

R2

FastEthernet0/0

2000:2::1/64

 

FastEthernet0/1

2001::20/64

PC2

FastEthernet

2000:2::2/64

PC3

FastEthernet

2000:2::3/64

After the necessary IP addresses and gateways have been assigned, open the CLI tab for the R1 router, and start configuring routing by following the given commands:

R1(config)#ipv6 unicast-routing
R1(config)#ipv6 route 2000:2::/64 2001::20

Next, open the CLI tab for R2 and configure routing on it.

R2(config)#ipv6 unicast-routing
R2(config)#ipv6 route 2000:1::/64 2001::10

Now use the simple PDU tool to test the connectivity. You may also use the tracert command on a PC to see the path a packet takes.

PC>tracert 2000:2::3
Tracing route to 2000:2::3 over a maximum of 30 hops: 

  1   63 ms     63 ms     47 ms     2000:1::1
  2   94 ms     78 ms     94 ms     2001::20
  3   156 ms    109 ms    129 ms    2000:2::3

Trace complete.

Dynamic routing

Packet Tracer offers the same dynamic routing protocols for IPv6: RIPv6, EIGRP, and OSPF. We'll be configuring RIPv6 in this section. Note that RIPv6 does not represent RIP Version 6; it is RIP for IPv6 addresses.

For this exercise, we'll use the topology shown in the following screenshot:

Dynamic routing

The additional IP assignment details alone are shown in the following table:

Device

Interface

IPv6 Address

R2

FastEthernet1/0

2001:1::10/64

R3

FastEthernet0/0

2000:3::1/64

 

FastEthernet0/1

2001:1::20/64

PC2

FastEthernet

2000:3::2/64

We'll see how to configure RIP on one router and you can do the same on the others.

R1(config)#interface FastEthernet0/0
R1(config-if)#ipv6 address 2000:1::1/64
R1(config-if)#ipv6 rip Net1 enable 
R1(config-if)#ipv6 enable
R1(config-if)#interface FastEthernet0/1
R1(config-if)#ipv6 address 2001::10/64
R1(config-if)#ipv6 rip Net1 enable 
R1(config-if)#ipv6 enable

Note that the ipv6 rip command is used to enable RIP on a particular interface. Entering ipv6 rip Net1 enable on the first interface begins the RIPv6 process. The Net1 string can be any name that can be used to name the RIP process. Once configured, use the usual diagnostic tools (ping to simple PDU) to check the connectivity. To view the RIP database, use the following command:

R1#sh ipv6 rip database
RIP process "Net1" local RIB 
 2000:2::/64, metric 2, installed
    FastEthernet0/1/FE80::201:97FF:FE87:E5A9, expires in 173 sec
 2000:3::/64, metric 3, installed
    FastEthernet0/1/FE80::201:97FF:FE87:E5A9, expires in 173 sec
 2001::/64, metric 2
    FastEthernet0/1/FE80::201:97FF:FE87:E5A9, expires in 173 sec
 2001:1::/64, metric 2, installed
    FastEthernet0/1/FE80::201:97FF:FE87:E5A9, expires in 173 sec
RIP process "LINK" local RIB

Trace the route of the packet to see the path it takes.

PC>tracert 2000:3::2
Tracing route to 2000:3::2 over a maximum of 30 hops: 

  1   31 ms     32 ms     31 ms     2000:1::1
  2   50 ms     50 ms     63 ms     2001::20
  3   94 ms     94 ms     94 ms     2001:1::20
  4   125 ms    109 ms    125 ms    2000:3::2

Trace complete.