ipv6 Lab 1 : Dasar IPv6
LAB 1
1a. Link-Local Unicast Address (automatic)
Mengaktifkan IPv6, karena secara default tidak diaktifkan
R1
R1(config)#ipv6 unicast-routing
R1(config)#int fastEthernet 0/0 R2
R2(config)#ipv6 unicast-routing
Khusus pada Switch L3, modulnya ipv6 nya harus diload terlebih dahulu
Contoh:
SW(config)#sdm prefer dual-ipv4-ipv6 default
SELANJUTNYA HARUS RELOAD
Setiap kali kita setting IPv6 pada sebuah interface, maka Link-Local Unicast Address akan muncul secara otomatis pada interface tersebut. Namun kita bisa juga mengkonfigurasikannya secara manual. Nilainya selalu diawali dengan FE80::/10.
Perintah berikut akan membuat Link-Local Unicast Address secara otomatis pada interface setiap kita mengaktifkan interface tersebut untuk konfigurasi IPv6.
R1
R1(config-if)#ipv6 enable
R1(config)#no sh
R1(config-if)#exit
R2(config)#int fastEthernet 0/0 R2
R2(config-if)#ipv6 address autoconfig
R2 (config-if)#no sh
R1#sh ipv6 interface f0/0 | i link-local Kemudian cek interfacenya
R1
IPv6 is tentative, link-local address is FE80::C801:4FF:FEFC:8 [TEN]
No Virtual link-local address(es):
R1#sh ipv6 int brief FastEthernet0/0 [administratively down/down]
FE80::C801:4FF:FEFC:8
FastEthernet0/1 [administratively down/down]
unassigned
GigabitEthernet1/0 [administratively down/down] R2#sh ipv6 int brief
FastEthernet0/0 [administratively down/down]
FE80::C802:5FF:FE0C:8
FastEthernet0/1 [administratively down/down]
unassigned
GigabitEthernet1/0 [administratively down/down]
Unassigned
R2#sh int f0/0 FastEthernet0/0 is administratively down, line protocol is down
Hardware is i82543 (Livengood), address is ca02.050c.0008 (bia ca02.050c.0008)
R1(config)#int fastEthernet 0/0 1b. Global Unicast Address
R1
R1(config-if)#ipv6 address
R1(config-if)#ipv6 address 12::1/126
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#do show ipv6 int brief FastEthernet0/0 [up/up]
FE80::C801:4FF:FEFC:8
12::1
R2
R2(config-if)#ipv6 address 12::2/126
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#do sh ipv6 int brief FastEthernet0/0 [up/up]
FE80::C802:5FF:FE0C:8
12::2
R1(config)#do ping 12::2 Coba lakukan tes ping
R1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/15/36 ms
R2(config)#do ping 12::1 R2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/16/20 ms
R1(config)#int fastEthernet 0/0 1c. EUI-64 Address
R1
R1(config-if)#ipv6 add 21::/64 eui
R1(config-if)#ipv6 add 21::/64 eui-64
R1(config-if)#exit
1(config)#do sh ipv6 int brief FastEthernet0/0 [up/up]
FE80::C801:4FF:FEFC:8
12::1
21::C801:4FF:FEFC:8
R2(config)#interface f0/0 R2(config-if)#ipv6 address 21::/64 eui-64
R2(config)#do sh ipv6 int brief FastEthernet0/0 [up/up]
FE80::C802:5FF:FE0C:8
12::2
21::C802:5FF:FE0C:8
R1(config)#do ping 21::C802:5FF:FE0C:8 Test ping
R1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 21::C802:5FF:FE0C:8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/26/52 ms
R2(config)#do ping 21::C801:4FF:FEFC:8 R2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 21::C801:4FF:FEFC:8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/20/20 ms
Comments
Post a Comment