11 January 2015

Quick Notes - IPv6 RIPng


- Enable ipv6 unicast-routing
- Configure IPv6 global address
- Configure RIPng on interfaces
- Verify



[R1]
conf t
ipv6 unicast-routing
int f0/0
ipv6 address 2001:db8:56::1/64
ipv6 rip RIP6 enable
no shut

int lo0
ipv6 add 2001:db8:1::1/64
ipv6 rip RIP6 enable
end

[R2]
conf t
ipv6 unicast-routing
int f0/0
ipv6 address 2001:db8:56::2/64
ipv6 rip RIP6 enable
no shut

int lo0
ipv6 add 2001:db8:2::1/64
ipv6 rip RIP6 enable
end

[Verify]

R1# show ipv6 route
IPv6 Routing Table - 7 entries
...
C   2001:DB8:1::/64 [0/0]
     via ::, Loopback0
L   2001:DB8:1::1/128 [0/0]
     via ::, Loopback0
R   2001:DB8:2::/64 [120/2]
     via FE80::200:FF:FE00:2, FastEthernet0/0
C   2001:DB8:56::/64 [0/0]
     via ::, FastEthernet0/0
L   2001:DB8:56::1/128 [0/0]
     via ::, FastEthernet0/0
L   FE80::/10 [0/0]
     via ::, Null0
L   FF00::/8 [0/0]
     via ::, Null0

R1# show ipv6 int brief
FastEthernet0/0            [up/up]
    FE80::200:FF:FE00:1
    2001:DB8:56::1

Loopback0                  [up/up]
    FE80::CE00:15FF:FEFB:0
    2001:DB8:1::1

R1# debug ipv6 rip
RIP Routing Protocol debugging is on

R1#
*Mar  1 00:17:39.635: RIPng: response received from FE80::200:FF:FE00:2 on FastEthernet0/0 for RIP6
*Mar  1 00:17:39.635:        src=FE80::200:FF:FE00:2 (FastEthernet0/0)
*Mar  1 00:17:39.635:        dst=FF02::9
*Mar  1 00:17:39.635:        sport=521, dport=521, length=52
*Mar  1 00:17:39.635:        command=2, version=1, mbz=0, #rte=2
*Mar  1 00:17:39.639:        tag=0, metric=1, prefix=2001:DB8:56::/64
*Mar  1 00:17:39.639:        tag=0, metric=1, prefix=2001:DB8:2::/64
R1#
*Mar  1 00:17:42.271: RIPng: Sending multicast update on Loopback0 for RIP6
*Mar  1 00:17:42.271:        src=FE80::CE00:15FF:FEFB:0
*Mar  1 00:17:42.271:        dst=FF02::9 (Loopback0)
*Mar  1 00:17:42.271:        sport=521, dport=521, length=72
*Mar  1 00:17:42.275:        command=2, version=1, mbz=0, #rte=3
*Mar  1 00:17:42.275:        tag=0, metric=1, prefix=2001:DB8:56::/64
*Mar  1 00:17:42.275:        tag=0, metric=1, prefix=2001:DB8:1::/64
*Mar  1 00:17:42.275:        tag=0, metric=2, prefix=2001:DB8:2::/64
*Mar  1 00:17:42.279: RIPng: Sending multicast update on FastEthernet0/0 for RIP6
*Mar  1 00:17:42.279:        src=FE80::200:FF:FE00:1
R1#
*Mar  1 00:17:42.279:        dst=FF02::9 (FastEthernet0/0)
*Mar  1 00:17:42.279:        sport=521, dport=521, length=52
*Mar  1 00:17:42.279:        command=2, version=1, mbz=0, #rte=2
*Mar  1 00:17:42.283:        tag=0, metric=1, prefix=2001:DB8:56::/64
*Mar  1 00:17:42.283:        tag=0, metric=1, prefix=2001:DB8:1::/64
*Mar  1 00:17:42.287: RIPng: Process RIP6 received own response on Loopback0
R1# unde all

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

R2# ping 2001:db8:1::1 so lo0
Sending 5, 100-byte ICMP Echos to 2001:DB8:1::1, timeout is 2 seconds:
Packet sent with a source address of 2001:DB8:2::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms

R2# show ipv6 rip
RIP process "RIP6", port 521, multicast-group FF02::9, pid 183
     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 54, trigger updates 2
  Interfaces:
    Loopback0
    FastEthernet0/0
  Redistribution:
    None



biOos

No comments: