My Countingdown

Tuesday, December 13, 2011

Lab 3. IPv6 Routing – RIPnG



In IPv6 there are dynamic routing IGP i.e. RIPnG, OSPFv3, and EIGRP

R1#
ipv6 unicast-routing

interface Loopback0
 ipv6 address 1::1/128

interface FastEthernet0/0
 ipv6 address FE80::1 link-local          --- -> create link-local unicast address manually
 ipv6 address 12::1/126                       --- -> create global unicast address
 ipv6 address 21::/64 eui-64                --- ->  create EUI-64 Address
 ipv6 address autoconfig                     --- -> create link-local automatically
 ipv6 enable

R2#
ipv6 unicast-routing

interface Loopback0
 ipv6 address 2::2/128

interface FastEthernet0/0
 ipv6 address FE80::2 link-local
 ipv6 address 12::2/126
 ipv6 address 21::/64 eui-64
 ipv6 address autoconfig
 ipv6 enable
  
We can do ping ip p2p. But we can not ping to loopback from other router because no any routing table.

R1(config)#do sh ipv6 rout
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route, M - MIPv6
       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
       D - EIGRP, EX - EIGRP external
LC  1::1/128 [0/0]
     via ::, Loopback0
C   12::/126 [0/0]
     via ::, FastEthernet0/0
L   12::1/128 [0/0]
     via ::, FastEthernet0/0
C   21::/64 [0/0]
     via ::, FastEthernet0/0
L   21::1/128 [0/0]
     via ::, FastEthernet0/0
L   FF00::/8 [0/0]
     via ::, Null0

Let’s activate the RIP in interface

R1(config)#int f0/0
R1(config-if)#ipv6 rip 1 enable
R1(config-if)#int lo0
R1(config-if)#ipv6 rip 1 ena

R2(config)#int f0/0
R2(config-if)#ipv6 rip 1 ena
R2(config-if)#int lo0
R2(config-if)#ipv rip 1 ena

Let’s check routing table and make sure R2 can ping loopback R1 and vice versa

R2(config-if)#do sh ipv rou
IPv6 Routing Table - 7 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route, M - MIPv6
       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
       D - EIGRP, EX - EIGRP external
R   1::1/128 [120/2]
     via FE80::1, FastEthernet0/0
LC  2::2/128 [0/0]
     via ::, Loopback0
C   12::/126 [0/0]
     via ::, FastEthernet0/0
L   12::2/128 [0/0]
     via ::, FastEthernet0/0
C   21::/64 [0/0]
     via ::, FastEthernet0/0
L   21::2/128 [0/0]
     via ::, FastEthernet0/0
L   FF00::/8 [0/0]
     via ::, Null0

R2(config-if)#do ping 1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/30/64 ms

No comments:

Post a Comment