Monday, 6 May 2013

IPv6 Routing - RIPng

RIPng mempunyai karakteristik yang mirip dengan RIPv2 pada IPv4, merupakan distance vektor routing protokol, update dengan multicast FF02::9.
RIPng dikonfigkan pada tiap-tiap interface.

TOPOLOGI

R1(config)#ipv6 unicast-routing
R1(config)#int s0/0
R1(config-if)#ipv6 address 12::1/126
R2(config-if)#no shut
R1(config-if)#int lo0
R1(config-if)#ipv6 address 1::1/128
R2(config)#ipv6 unicast-routing
R2(config)#int s0/0
R2(config-if)#ipv6 address 12::2/126
R2(config-if)#no shut
R2(config-if)#int fa0/0
R2(config-if)#ipv6 address 23::2/126
R2(config-if)#no shut
R2(config-if)#int lo0
R2(config-if)#ipv6 address 2::2/128
R3(config)#ipv6 unicast-routing
R3(config)#int fa0/0
R3(config-if)#ipv6 address 23::3/126
R2(config-if)#no shut
R3(config-if)#int lo0
R3(config-if)#ipv6 address 3::3/128

Konfigurasi RIP, RIP dikonfigurasikan pada masing - masing interface

R1(config)#int s0/0
R1(config-if)#ipv6 rip 1 enable
R1(config-if)#int lo0
R1(config-if)#ipv6 rip 1 enable
R2(config-if)#int s0/0
R2(config-if)#ipv6 rip 1 enable
R2(config-if)#int fa0/0
R2(config-if)#ipv6 rip 1 enable
R2(config-if)#int lo0
R2(config-if)#ipv6 rip 1 enable
R3(config)#int f0/0
R3(config-if)#ipv6 rip 1 enable
R3(config-if)#int lo0
R3(config-if)#ipv6 rip 1 enable
sekarang kita coba cek routing tabelnya, simbol untuk RIP adalah R
R1(config-if)#do sh ipv6 rout
IPv6 Routing Table - 7 entriesl
LC  1::1/128 [0/0]
     via ::, Loopback0
R   2::2/128 [120/2]
     via FE80::C209:AFF:FE94:0, Serial0/0
R   3::3/128 [120/3]
     via FE80::C209:AFF:FE94:0, Serial0/0
C   12::/126 [0/0]
     via ::, Serial0/0
L   12::1/128 [0/0]
     via ::, Serial0/0
R   23::/126 [120/2]
     via FE80::C209:AFF:FE94:0, Serial0/0
L   FF00::/8 [0/0]
     via ::, Null0

Test koneksi melalui ping

R1#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 = 0/0/0 ms
R1#ping 2::2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/8 ms
R1#ping 3::3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3::3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/34/44 ms

R1#sh ipv6 protocols
IPv6 Routing Protocol is "connected"
IPv6 Routing Protocol is "static"
IPv6 Routing Protocol is "rip 1"
  Interfaces:
    Loopback0
    Serial0/0
  Redistribution:
    None

R1#sh ipv6 rip      
RIP process "1", port 521, multicast-group FF02::9, pid 209
     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 12, trigger updates 4
  Interfaces:
    Loopback0
    Serial0/0
  Redistribution:
    None