Lab 5. IPv6 Routing – Redistributed RIPng OSPF
Untuk cara redistributed baik di Ipv4 dan Ipv6 caranya hampir sama. Berikut konfigurasinya :R1:
R1(config)#ipv6 unicast-routing
R1(config)#int f0/0
R1(config-if)#ipv6 address 12::1/126
R1(config-if)#no shutdown
R1(config-if)#int lo0
R1(config-if)#ipv6 address 1::1/128
R2:
R2(config)#ipv6 unicast-routing
R2(config)#int f0/0
R2(config-if)#ipv6 address 12::2/126
R2(config-if)#no shutdown
R2(config-if)#int f0/1
R2(config-if)#ipv6 address 23::2/126
R2(config-if)#no shutdown
R2(config-if)#int lo0
R2(config-if)#ipv6 address 2::2/128
R3:
R3(config)#ipv6 unicast-routing
R3(config)#int f0/0
R3(config-if)#ipv6 address 23::3/126
R3(config-if)#no shutdown
R3(config-if)#int lo0
R3(config-if)#ipv6 address 3::3/128
Lakukan advertise sesuai topology
R1:
R1(config)#ipv6 unicast -routing
R1(config)#ipv6 router ospf 10
R1(config - rtr)#router -id 1.1.1.1
R1(config -rtr)#exit
R1(config)#interface f0/0
R1(config-if)#ipv6 ospf 10 area 0
R1(config -if)#interface lo0
R1(config-if)#ipv6 ospf 10 area 0
R1(config-if)#exit
R2:
R2(config)#ipv6 unicast-routing
R2(config)#ipv6 router ospf 10
R2(config-rtr)#router -id 2.2.2.2
R2(config -rtr)#exit
R2(config)#ipv6 router rip IDN
R2(config -rtr)#exit
R2(config)# interface f0/0
R2(config-if)#ipv6 ospf 10 area 0
R2(co nfig -if)#interface f0/ 1
R2(config-if)#ipv6 rip IDN enable
R2(config)#int lo0
R2(config-if)#ipv6 ospf 10 area 0
R2(config -if)#exit
R3:
R3(config)#ipv6 unicast-routing
R3(config)#ipv6 router rip IDN
R3(config-rtr)#exit
R3(config)#interface f0/0
R3(config-if)#ipv6 rip IDN enable
R3(config -if)#int erface lo0
R3(config -if)#ipv6 rip IDN enable
R3(config -if)#exit
Masukkan command berikut ini untuk meredistribute
R2:
R2(config)#ipv6 router ospf 10
R2(config-rtr)#redistribute rip IDN
R2(config-rtr)#exit
R2(config)#ipv6 router rip IDN
R2(config-rtr)#redistribute ospf 10 metric 1
R2(config-rtr)#exit
Cek routing table dan lakukan ping
R1:
R1(config)#do sh ipv6 route ospf
IPv6 Routing Table - Default - 6 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
EX - EIGRP external
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
O 2::2/128 [110/1]
via FE80::C802:4FF:FEF0:38, GigabitEthernet2/0
OE2 3::3/128 [110/20]
via FE80::C802:4FF:FEF0:38, GigabitEthernet2/0
R3:
R3(config)#do sh ipv6 route rip
IPv6 Routing Table - Default - 4 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
EX - EIGRP external
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
R 1::1/128 [120/2]
via FE80::C802:4FF:FEF0:54, GigabitEthernet2/0
Dan kita akan melakukan pengecekan dengan cara ping agar lebih yakin lagi
R1:
R1(config)#do ping 3::3 source 1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3::3, timeout is 2 seconds:
Packet sent with a source address of 1::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/44/60 ms
R3:
R3(config)#do ping 1::1 source 3::3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3::3, timeout is 2 seconds:
Packet sent with a source address of 1::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/44/60 ms
Komentar
Posting Komentar