Lab.17 CCNA Cara konfiugrasi OSPFv3 IPv6 Single Area - OSPFv3 merupakan pengembangan dari OSPF generasi sebelumnya yang mendukung routing IPv6. Lab kali ini menggunakan topologi yang sama seperti Lab OSPFv2 Single Area, hanya berbeda IP Address nya saja.
Konfiguarasi R1
R1#configure terminal
R1(config)#interface gigabitEthernet 0/0
R1(config-if)#ipv6 address 2001:DB8:ABCD:12::1/64
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface gigabitEthernet 0/1
R1(config-if)#ipv6 address 2001:DB8:ABCD:13::1/64
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface gigabitEthernet 0/2
R1(config-if)#ipv6 address 2001:DB8:DEF:1::1/64
R1(config-if)#no shutdown
R1(config-if)#exit
#Mengaktifkan fitur routing IPv6
R1(config)#ipv6 unicast-routing
#Mengaktifkan fitur OSPF dengan process-id 10
R1(config)#ipv6 router ospf 10
#Konfigurasi Routeri-id R1
R1(config-rtr)#router-id 1.1.1.1
R1(config-rtr)#exit
#Mendefinisikan area 0 pada interface gigabit0/0
R1(config)#interface gigabitEthernet 0/0
R1(config-if)#ipv6 ospf 10 area 0
R1(config-if)#exit
R1(config)#interface gigabitEthernet 0/1
R1(config-if)#ipv6 ospf 10 area 0
R1(config-if)#exit
R1(config)#interface gigabitEthernet 0/2
R1(config-if)#ipv6 ospf 10 area 0
R1(config-if)#exit
Konfigurasi R2
R2#configure terminal
R2(config)#interface gigabitEthernet 0/0
R2(config-if)#ipv6 address 2001:DB8:ABCD:12::2/64
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface gigabitEthernet 0/1
R2(config-if)#ipv6 address 2001:DB8:ABCD:23::1/64
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface gigabitEthernet 0/2
R2(config-if)#ipv6 address 2001:DB8:DEF:2::1/64
R2(config-if)#no shutdown
R2(config-if)#exit
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)#interface gigabitEthernet 0/0
R2(config-if)#ipv6 ospf 10 area 0
R2(config-if)#exit
R2(config)#interface gigabitEthernet 0/1
R2(config-if)#ipv6 ospf 10 area 0
R2(config-if)#exit
R2(config)#interface gigabitEthernet 0/2
R2(config-if)#ipv6 ospf 10 area 0
R2(config-if)#exit
Konfigurasi R3
R3#configure terminal
R3(config)#interface gigabitEthernet 0/0
R3(config-if)#ipv6 address 2001:DB8:ABCD:23::2/64
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface gigabitEthernet 0/1
R3(config-if)#ipv6 address 2001:DB8:ABCD:13::2/64
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface gigabitEthernet 0/2
R3(config-if)#ipv6 address 2001:DB8:DEF:3::1/64
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#ipv6 unicast-routing
R3(config)#ipv6 router ospf 10
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#exit
R3(config)#interface gigabitEthernet 0/0
R3(config-if)#ipv6 ospf 10 area 0
R3(config-if)#exit
R3(config)#interface gigabitEthernet 0/1
R3(config-if)#ipv6 ospf 10 area 0
R3(config-if)#exit
R3(config)#interface gigabitEthernet 0/2
R3(config-if)#ipv6 ospf 10 area 0
R3(config-if)#exit
Pengujian
Pengujian, untuk melihat hasil konfigurasi OSPFv3 bisa menggunakan 3 perintah dibawah ini.
R3#show ipv6 ospf neighbor
Neighbor ID Pri State Dead Time Interface ID Interface
2.2.2.2 1 FULL/BDR 00:00:33 2 GigabitEthernet0/0
1.1.1.1 1 FULL/BDR 00:00:33 2 GigabitEthernet0/1
R3#
R3#show ipv6 route
IPv6 Routing Table - 10 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
O 2001:DB8:DEF:1::/64 [110/2]
via FE80::2D0:BAFF:FE6C:9C02, GigabitEthernet0/1
O 2001:DB8:DEF:2::/64 [110/2]
via FE80::2D0:58FF:FE71:61A6, GigabitEthernet0/0
C 2001:DB8:DEF:3::/64 [0/0]
via GigabitEthernet0/2, directly connected
L 2001:DB8:DEF:3::1/128 [0/0]
via GigabitEthernet0/2, receive
O 2001:DB8:ABCD:12::/64 [110/2]
via FE80::2D0:BAFF:FE6C:9C02, GigabitEthernet0/1
via FE80::2D0:58FF:FE71:61A6, GigabitEthernet0/0
C 2001:DB8:ABCD:13::/64 [0/0]
via GigabitEthernet0/1, directly connected
L 2001:DB8:ABCD:13::2/128 [0/0]
via GigabitEthernet0/1, receive
C 2001:DB8:ABCD:23::/64 [0/0]
via GigabitEthernet0/0, directly connected
L 2001:DB8:ABCD:23::2/128 [0/0]
via GigabitEthernet0/0, receive
L FF00::/8 [0/0]
via Null0, receive
R3#
R3#show ipv6 route ospf
IPv6 Routing Table - 10 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
O 2001:DB8:DEF:1::/64 [110/2]
via FE80::2D0:BAFF:FE6C:9C02, GigabitEthernet0/1
O 2001:DB8:DEF:2::/64 [110/2]
via FE80::2D0:58FF:FE71:61A6, GigabitEthernet0/0
O 2001:DB8:ABCD:12::/64 [110/2]
via FE80::2D0:BAFF:FE6C:9C02, GigabitEthernet0/1
via FE80::2D0:58FF:FE71:61A6, GigabitEthernet0/0
R3#
Perintah diatas menampilkan lebih detil route yang menggunakan OSPF, contohnya untuk menuju network 2001:DB8:ABCD:12::/64 bisa melalui 2 rute, yakni FE80::2D0:BAFF:FE6C:9C02 (R1)dan FE80::2D0:58FF:FE71:61A6 (R2)
0 comments:
Post a Comment