Lab 2. IPv6 Routing – Static
Konfigurasikan ipv6 address dan loopback pada R1 dan R2.
R1:
R1(config)#int f0/0
R1(config-if)#ipv6 address 12::1/126
R1(config-if)#no sh
R1(config-if)#ex
R1(config)#int loop 0
R1(config-if)#ipv6 address 1::1/128
R1(config-if)#ex
R1(config-if)#ipv6 address 12::1/126
R1(config-if)#no sh
R1(config-if)#ex
R1(config)#int loop 0
R1(config-if)#ipv6 address 1::1/128
R1(config-if)#ex
R2:
R2(config)#int f0/0
R2(config-if)#ipv6 address 12::2/126
R2(config-if)#no sh
R2(config-if)#ex
R2(config)#int loop 0
R2(config-if)#ipv6 add 2::2/128
R2(config-if)#ex
Kita bauta static route nya
R2(config)#ipv6 route 1::1/128 12::1
R1(config)#ipv6 route 2::2/128 12::2
R2(config)#int f0/0
R2(config-if)#ipv6 address 12::2/126
R2(config-if)#no sh
R2(config-if)#ex
R2(config)#int loop 0
R2(config-if)#ipv6 add 2::2/128
R2(config-if)#ex
Kita bauta static route nya
R2(config)#ipv6 route 1::1/128 12::1
R1(config)#ipv6 route 2::2/128 12::2
Tes ping
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 = 12/32/52 ms
R1#
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/32/52 ms
R1#
R2#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/39/124 ms
R2#
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/39/124 ms
R2#
Sekarang kita coba jika gateway nya kita ganti dengan interface
R1:
R1(config)#no ipv6 route 2::2/128 12::2
R1(config)#ipv6 route 2::2/128 f0/0
R1(config)#ipv6 route 2::2/128 f0/0
Kita tes ping
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)
R1(config)#
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)
R1(config)#
Tidak terhubung… karena kita harus memasukan link-local address jika ingin gateway nya menggunakan interface, maka kita apus konfigurasi tadi lalu buat lagi
R1:
R1(config)#no ipv6 route 2::2/128 f0/0
R1(config)#ipv6 route 2::2/128 f0/0 FE80::C802:9FF:FEF8:0
R1(config)#ipv6 route 2::2/128 f0/0 FE80::C802:9FF:FEF8:0
R2#sh ipv6 int f0/0 | i link-local
IPv6 is enabled, link-local address is FE80::C802:9FF:FEF8:0
No Virtual link-local address(es):
Tes ping
IPv6 is enabled, link-local address is FE80::C802:9FF:FEF8:0
No Virtual link-local address(es):
Tes ping
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/24/60 ms
R1#
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/24/60 ms
R1#
R2#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/26/56 ms
R2#
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/26/56 ms
R2#
R1#sh ipv6 route
IPv6 Routing Table - Default - 5 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:9FF:FEF8:0, FastEthernet0/0
C 12::/126 [0/0]
via FastEthernet0/0, directly connected
L 12::1/128 [0/0]
via FastEthernet0/0, receive
L FF00::/8 [0/0]
via Null0, receive
IPv6 Routing Table - Default - 5 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:9FF:FEF8:0, FastEthernet0/0
C 12::/126 [0/0]
via FastEthernet0/0, directly connected
L 12::1/128 [0/0]
via FastEthernet0/0, receive
L FF00::/8 [0/0]
via Null0, receive
Komentar
Posting Komentar