ipv6 Lab 2 : IPv6 Routing – Static

 LAB 2

Pada lab kali ini kita akan menkonfigurasi routing static menggunakan ipv6, bukan ipv4 seperti lab-lab sebelumnya. Topologinya masih sama seperti lab ipv6 sebelumnya.

Langsung saja kita mulai...

Konfigurasikan ipv6 address dan loopback pada R1 dan R2 

R1

R1(config)#int fastEthernet 0/0 
R1(config-if)#ipv6 address 12::1/126 
R1(config-if)#no shutdown 
R1(config-if)#exit 

R1(config)#int lo0 

R1(config-if)#ipv6 address 1::1/128 
R1(config-if)#exit 

R2

R2(config)#int fastEthernet 0/0 
R2(config-if)#ipv6 address 12::2/126 
R2(config-if)#no shutdown 
R2(config-if)#exit 

R2(config)#int loopback0 

R2(config-if)#ipv6 address 2::2/128 
R2(config-if)#exit 

Buat static routing pada router R2 

R2

R2(config)#ipv6 route 1::1/128 12::1 

Lakukan tes ping : 

R2

R2(config)#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 = 8/15/24 ms

Buat static routing pada router R1 

R1

R1(config)#ipv6 route 2::2/128 12::2 

Lakukan tes ping : 

R1

R1(config)#do 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 = 20/20/20 ms 

Selanjutnya bagaimana misalkan static routingnya via interface bukan menggunakan ip seperti diatas, mari dicoba. Hapus static routing konfigurasi sebelumnya 

R1

R1(config)#no ipv6 route 2::2/128 12::2 
### Konfigurasikan static routing via interface ### 
R1(config)#ipv6 route 2::2/128 f0/0 

Lakukan tes ping : 

R1

R1(config)#do ping 2::2 
Type escape sequence to abort. 
Sending 5, 100-byte ICMP Echos to 2::2, timeout is 2 seconds: 
..... 
Success rate is 0 percent (0/5) 

Ternyata tidak bisa... Sepertinya Kita harus menambahkan link-local addressnya jika ingin menggunakan interface. Hapus konfigurasi sebelumnya dan tambahkan link-local address. 

R1

R1(config)#no ipv6 route 2::2/128 f0/0 
R1(config)#ipv6 route 2::2/128 f0/0 FE80::C802:5FF:FE0C:8 

R2

R2(config)#do sh ipv6 int f0/0 | i link-local 
 IPv6 is enabled, link-local address is FE80::C802:5FF:FE0C:8 
No Virtual link-local address(es):

Lakukan tes ping : 

R1

R1(config)#do 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 = 12/20/24 ms 

Bandingkan routingnya menggunakan link-local dan IP 

R1

R1(config)#do sh ipv6 route 
IPv6 Routing Table - Default - 7 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 
LC 1::1/128 [0/0] 
 via Loopback0, receive 
S 2::2/128 [1/0] 
 via FE80::C802:5FF:FE0C:8, FastEthernet0/0 
C 12::/126 [0/0] 
 via FastEthernet0/0, directly connected 
L 12::1/128 [0/0] 
 via FastEthernet0/0, receive 
C 21::/64 [0/0] 
 via FastEthernet0/0, directly connected 
L 21::C801:4FF:FEFC:8/128 [0/0] 
 via FastEthernet0/0, receive 
L FF00::/8 [0/0] 
 via Null0, receive 
R2 :
R2(config)#do sh ipv6 route 
IPv6 Routing Table - Default - 7 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 
S 1::1/128 [1/0] 
 via 12::1 
LC 2::2/128 [0/0] 
 via Loopback0, receive 
C 12::/126 [0/0] 
 via FastEthernet0/0, directly connected 
L 12::2/128 [0/0] 
 via FastEthernet0/0, receive 
C 21::/64 [0/0] 
 via FastEthernet0/0, directly connected 
L 21::C802:5FF:FE0C:8/128 [0/0] 
 via FastEthernet0/0, receive 
L FF00::/8 [0/0] 
 via Null0, receive


Comments