Lab 3 - Part 1 - Configuring IPv6 With RIP

In this lab, we'll setup four routers, then enable and configure IPv6. We'll then configure RIP over the IPv6 network, and take a look at some of the commands for viewing and verifying our setup. For the sake of brevity, I'll only show the configuration on R0 and R1.

I've attached a brief setup of this lab in GNS3 to the bottom of this post, which will get you going.

Network Diagram:

The first step in our lab is to enable IPv6 on the routers:

R0(config)#ipv6 unicast-routing
R0(config)#ipv6 cef
R1(config)#ipv6 unicast-routing
R1(config)#ipv6 cef

Next we need to configure our interfaces with IPv6 addresses, on the Point-To-Point links we'll configure link local addresses which begin with FE80 (binary 1111 1110 10). We'll then configure loopback interfaces on each router for use with RIP. The loopback adapters use the 2001:0:0:1::/64, 2001:0:0:2::/64, 2001:0:0:3::/64, 2001:0:0:4::/64 subnet prefixes. We'll utilise the eui-64 flag in our configuration, which uses the routers interface MAC address to complete the end 64 bits of the address. In this case our Site Prefix is 2001:0000:0000/48.

R0(config)#interface fastethernet 0/0
R0(config-if)#ipv6 address FE80:1::1 link-local
R0(config)#interface fastethernet 0/1
R0(config-if)#ipv6 address FE80:2::1 link-local
R0(config)#interface loopback 0
R0(config-if)#ipv6 address 2001:0:0:1::/64 eui-64
R1(config)#interface fastethernet 0/0
R1(config-if)#ipv6 address FE80:1::2 link-local
R1(config)#interface fastethernet 0/1
R1(config-if)#ipv6 address FE80:3::1 link-local
R1(config)#interface loopback 0
R1(config-if)#ipv6 address 2001:0:0:2::/64 eui-64

The full address of R0 loopback 0 interface would be, 2001:0000::0000:0001:CA00:04FF:FE78:0000 (Since it's a loopback interface it's using the MAC address from the FastEthernet 0/0 interface c800.0478.0000). Using the eui-64 flag, takes the MAC address (48 bits) splits it into two pieces and puts FFFE in between the two, which makes a 64 bit address. The 7th bit from left to right on this address is then switched to "1". This bit is known as the U/L bit (Universal/Local). Set to 0 means the MAC address is a burned-in MAC address, set to 1 means the MAC address has been locally configured. EUI-64 says the U/L bit should be set to 1.

Next we'll enable RIP. The networkfoo flag in the below command, is the "word" used to identify this particular process of RIP.

R0(config)#ipv6 router rip networkfoo
R1(config)#ipv6 router rip networkfoo

We then need to enable RIP on each interface we wish to advertise:

R0(config)#interface fastethernet 0/0
R0(config-if)#ipv6 rip networkfoo enable
R0(config)#interface fastethernet 0/1
R0(config-if)#ipv6 rip networkfoo enable
R0(config)#interface loopback 0
R0(config-if)#ipv6 rip networkfoo enable
R1(config)#interface fastethernet 0/0
R1(config-if)#ipv6 rip networkfoo enable
R1(config)#interface fastethernet 0/1
R1(config-if)#ipv6 rip networkfoo enable
R1(config)#interface loopback 0
R1(config-if)#ipv6 rip networkfoo enable

Verifying, Testing, and Troubleshooting Commands.

You can view the interface and ip addresses using sh ipv6 interface brief command:

R0#show ipv6 interface brief
FastEthernet0/0            [up/up]
    FE80:1::1
FastEthernet0/1            [up/up]
    FE80:2::1
Loopback0                  [up/up]
    FE80::CA00:4FF:FE78:0
    2001::1:CA00:4FF:FE78:0

The routing table can be viewed using the, show ipv6 route. Once all routers are setup, the routing table on R0 looks like this:

R0#show ipv6 route
IPv6 Routing Table - 7 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C   2001:0:0:1::/64 [0/0]
     via ::, Loopback0
L   2001::1:CA00:4FF:FE78:0/128 [0/0]
     via ::, Loopback0
R   2001:0:0:2::/64 [120/2]
     via FE80:1::2, FastEthernet0/0
R   2001:0:0:3::/64 [120/3]
     via FE80:1::2, FastEthernet0/0
R   2001:0:0:4::/64 [120/4]
     via FE80:1::2, FastEthernet0/0
L   FE80::/10 [0/0]
     via ::, Null0
L   FF00::/8 [0/0]
     via ::, Null0

Pinging from R0 to the RIP advertised network on R2:

R0#ping ipv6 2001::3:CA02:4FF:FE78:0

Sending 5, 100-byte ICMP Echos to 2001::3:CA02:4FF:FE78:0, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/42/92 ms

Doing a traceroute from R0 to the RIP advertised network on R2:

R0#traceroute ipv6 2001::3:CA02:4FF:FE78:0

Type escape sequence to abort.
Tracing the route to 2001::3:CA02:4FF:FE78:0

  1 2001::2:CA01:4FF:FE78:0 16 msec 4 msec 20 msec
  2 2001::3:CA02:4FF:FE78:0 24 msec 12 msec 36 msec

Viewing the RIP database on R0:

R0#show ipv6 rip database
RIP process "networkfoo", local RIB
 2001:0:0:2::/64, metric 2, installed
     FastEthernet0/0/FE80:1::2, expires in 162 secs
 2001:0:0:3::/64, metric 3, installed
     FastEthernet0/0/FE80:1::2, expires in 162 secs
 2001:0:0:4::/64, metric 4, installed
     FastEthernet0/0/FE80:1::2, expires in 162 secs

Show ip protocols:

R0#show ipv6 protocols
IPv6 Routing Protocol is "connected"
IPv6 Routing Protocol is "static"
IPv6 Routing Protocol is "rip networkfoo"
  Interfaces:
    FastEthernet0/0
    Loopback0
  Redistribution:
    None

Show ipv6 rip, will show the RIP timers among other settings:

R0#sh ipv6 rip networkfoo
RIP process "networkfoo", port 521, multicast-group FF02::9, pid 210
     Administrative distance is 120. Maximum paths is 16
     Updates every 30 seconds, expire after 180
     Holddown lasts 0 seconds, garbage collect after 120
     Split horizon is on; poison reverse is off
     Default routes are not generated
     Periodic updates 109, trigger updates 3
  Interfaces:
    FastEthernet0/0
    Loopback0
  Redistribution:
    None

You can start a debug using the, debug ipv6 rip command. The debug output with no problems:

R0#debug ipv6 rip
RIP Routing Protocol debugging is on
R0#
*Mar  1 00:51:11.222: RIPng: response received from FE80:1::2 on FastEthernet0/0 for networkfoo
*Mar  1 00:51:11.226:        src=FE80:1::2 (FastEthernet0/0)
*Mar  1 00:51:11.230:        dst=FF02::9
*Mar  1 00:51:11.230:        sport=521, dport=521, length=72
*Mar  1 00:51:11.230:        command=2, version=1, mbz=0, #rte=3
*Mar  1 00:51:11.234:        tag=0, metric=1, prefix=2001:0:0:2::/64
*Mar  1 00:51:11.234:        tag=0, metric=2, prefix=2001:0:0:3::/64
*Mar  1 00:51:11.234:        tag=0, metric=3, prefix=2001:0:0:4::/64
*Mar  1 00:51:15.149: RIPng: Sending multicast update on FastEthernet0/0 for networkfoo
*Mar  1 00:51:15.149:        src=FE80:1::1
*Mar  1 00:51:15.149:        dst=FF02::9 (FastEthernet0/0)
*Mar  1 00:51:15.149:        sport=521, dport=521, length=32
*Mar  1 00:51:15.149:        command=2, version=1, mbz=0, #rte=1
*Mar  1 00:51:15.149:        tag=0, metric=1, prefix=2001:0:0:1::/64
*Mar  1 00:51:15.149: RIPng: Sending multicast update on Loopback0 for networkfoo
*Mar  1 00:51:15.149:        src=FE80::CA00:4FF:FE78:0
*Mar  1 00:51:15.149:        dst=FF02::9 (Loopback0)
*Mar  1 00:51:15.149:        sport=521, dport=521, length=92
*Mar  1 00:51:15.149:        command=2, version=1, mbz=0, #rte=4
*Mar  1 00:51:15.149:        tag=0, metric=1, prefix=2001:0:0:1::/64
*Mar  1 00:51:15.149:        tag=0, metric=2, prefix=2001:0:0:2::/64
*Mar  1 00:51:15.149:        tag=0, metric=3, prefix=2001:0:0:3::/64
*Mar  1 00:51:15.149:        tag=0, metric=4, prefix=2001:0:0:4::/64
*Mar  1 00:51:15.153: RIPng: Process networkfoo received own response on Loopback0
*Mar  1 00:51:37.177: RIPng: response received from FE80:1::2 on FastEthernet0/0 for networkfoo
*Mar  1 00:51:37.181:        src=FE80:1::2 (FastEthernet0/0)
*Mar  1 00:51:37.181:        dst=FF02::9
*Mar  1 00:51:37.181:        sport=521, dport=521, length=72
*Mar  1 00:51:37.181:        command=2, version=1, mbz=0, #rte=3
*Mar  1 00:51:37.181:        tag=0, metric=1, prefix=2001:0:0:2::/64
*Mar  1 00:51:37.181:        tag=0, metric=2, prefix=2001:0:0:3::/64
*Mar  1 00:51:37.181:        tag=0, metric=3, prefix=2001:0:0:4::/64
*Mar  1 00:51:40.915: RIPng: Sending multicast update on FastEthernet0/0 for networkfoo
*Mar  1 00:51:40.915:        src=FE80:1::1
*Mar  1 00:51:40.915:        dst=FF02::9 (FastEthernet0/0)
*Mar  1 00:51:40.915:        sport=521, dport=521, length=32
*Mar  1 00:51:40.915:        command=2, version=1, mbz=0, #rte=1
*Mar  1 00:51:40.915:        tag=0, metric=1, prefix=2001:0:0:1::/64
*Mar  1 00:51:40.915: RIPng: Sending multicast update on Loopback0 for networkfoo
*Mar  1 00:51:40.915:        src=FE80::CA00:4FF:FE78:0
*Mar  1 00:51:40.915:        dst=FF02::9 (Loopback0)
*Mar  1 00:51:40.915:        sport=521, dport=521, length=92
*Mar  1 00:51:40.915:        command=2, version=1, mbz=0, #rte=4
*Mar  1 00:51:40.915:        tag=0, metric=1, prefix=2001:0:0:1::/64
*Mar  1 00:51:40.915:        tag=0, metric=2, prefix=2001:0:0:2::/64
*Mar  1 00:51:40.915:        tag=0, metric=3, prefix=2001:0:0:3::/64
*Mar  1 00:51:40.915:        tag=0, metric=4, prefix=2001:0:0:4::/64
*Mar  1 00:51:40.915: RIPng: Process networkfoo received own response on Loopback0

 

AttachmentSize
IPv6_RIP.zip3.08 KB
0
Your rating: None