Cara Mengaktifkan IPV6 Di Switch

20
 Cara mengaktifkan IPV6 di switch : Switch>enable Switch#config t  Switch(config)#sdm prefer dual-ipv4-and-ipv6 Switch(config)#end  Switch#reload  Jenis2 Tunnel Pada IPV6 Mode Perlu IP Baru Source Tunnel Destination Tunnel IPV6IP V (IPV4) V V GRE V (IPV4) V V 6to4 V (IPV6) V X ISATAP V (IPV6) V X AutoTunnel X V X BAB 1 DASAR IPV6 Skenario : mengetahui cara konversi dari Mac Address I nterface Ke address IPV6 R1(config)#ipv6 unicast-routing R1(config)#int f0/1 R1(config-if)#ipv6 enable R1(config-if)# R1(config-if)#ipv6 address autoconfig R1(config-if)#do sh ipv6 int f0/1 FastEthernet0/1 is administratively down, line protocol is down IPv6 is enabled, link-local address is FE80::C200:12FF:FE6C:1 [TEN] No Virtual link-local address(es): No global unicast address is configured Joined group address(es): FF02::1 FF02::2 MTU is 1500 bytes R1(config-if)#do sh ipv6 int brie FastEthernet0/0 [administratively down/down]

Transcript of Cara Mengaktifkan IPV6 Di Switch

Page 1: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 1/19

 

Cara mengaktifkan IPV6 di switch :

Switch>enable 

Switch#config t  

Switch(config)#sdm prefer dual-ipv4-and-ipv6 

Switch(config)#end  

Switch#reload  

Jenis2 Tunnel Pada IPV6

Mode Perlu IP Baru Source

Tunnel

Destination

Tunnel

IPV6IP V (IPV4) V V

GRE V (IPV4) V V

6to4 V (IPV6) V X

ISATAP V (IPV6) V X

AutoTunnel X V X

BAB 1

DASAR IPV6

Skenario : mengetahui cara konversi dari Mac Address Interface Ke

address IPV6

R1(config)#ipv6 unicast-routing

R1(config)#int f0/1

R1(config-if)#ipv6 enable

R1(config-if)#

R1(config-if)#ipv6 address autoconfig

R1(config-if)#do sh ipv6 int f0/1

FastEthernet0/1 is administratively down, line protocol is down

IPv6 is enabled, link-local address is FE80::C200:12FF:FE6C:1 [TEN]

No Virtual link-local address(es):

No global unicast address is configured

Joined group address(es):

FF02::1

FF02::2

MTU is 1500 bytes

R1(config-if)#do sh ipv6 int brie

FastEthernet0/0 [administratively down/down]

FastEthernet0/1 [administratively down/down]

Page 2: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 2/19

 

FE80::C200:12FF:FE6C:1 

R1(config-if)#do sh int f0/1

FastEthernet0/1 is administratively down, line protocol is down

Hardware is Gt96k FE, address is c000.126c.0001 (bia c000.126c.0001)

=====================

MAC Address : c000.12||6c.0001 Disispkan FF FE ditengah dan di konversi ke Biner dari HEX, bit ke 7 di flip

dan kembailkan ke nilai HEX.

c00012 FF FE 6c0001 >>

110000000000000000010010111111111111111001101100000000

0000000001 

110000100000000000010010111111111111111001101100000000

0000000001 

Balikin ke HEX > FE80::C200:12FF:FE6C:0001>> FE80::C200:12FF:FE6C:1 

1b .Link –local Unicast Address. 

Set link local Address danstatus interface :

R1(config-if)#int f0/0 

R1(config-if)#ipv6 address fe80::1 link-local  

R1(config-if)#no shut  

R1(config-if)# *Mar 1 00:18:14.055: %LINK-3-UPDOWN: Interface FastEthernet0/0,

changed state to up 

*Mar 1 00:18:15.055: %LINEPROTO-5-UPDOWN: Line protocol on

Interface FastEthernet0/0, changed state to up 

R1(config-if)#do sh ipv6 int brief  

FastEthernet0/0 [up/up] 

FE80::1 

R2(config-if)#int f0/0 

R2(config-if)#ipv6 address fe80::2 link-local  

R2(config-if)#do sh ipv6 int brie 

FastEthernet0/0 [administratively down/down] 

FE80::2 

FastEthernet0/1 [administratively down/down] 

R2(config-if)#no shut  

R2(config-if)# *Mar 1 00:17:46.187: %LINK-3-UPDOWN: Interface FastEthernet0/0,

changed state to up 

*Mar 1 00:17:47.187: %LINEPROTO-5-UPDOWN: Line protocol on

Interface FastEthernet0/0, changed state to up 

R2(config-if)#do sh ipv6 int brie 

FastEthernet0/0 [up/up] 

FE80::2 

Page 3: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 3/19

 

 

R1(config-if)#do sh ipv6 int f0/0 

FastEthernet0/0 is up, line protocol is up 

IPv6 is enabled, link-local address is FE80::1 

No Virtual link-local address(es): 

No global unicast address is configured  

 Joined group address(es): FF02::1 

FF02::2 

FF02::1:FF00:1 

Chek koneksi dengan ping ke router sebelahnya :

R1(config-if)#do ping fe80::2 

Output Interface: f0/0 

% Invalid interface. Use full interface name without spaces (e.g. Serial0/1) 

Output Interface: fastethernet0/0 

Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FE80::2, timeout is 2 seconds: 

Packet sent with a source address of FE80::1 

!!!!! 

Success rate is 100 percent (5/5), round-trip min/avg/max = 8/48/136 ms 

R1(config-if)# 

1c. Global Unicast Address 

R1(config-if)#int f0/0 

R1(config-if)#ipv6 address 12::1/126 

R1(config-if)#do sh ipv6 int brief  

FastEthernet0/0 [up/up] 

FE80::1 

12::1 

R2(config-if)#int f0/0 

R2(config-if)#ipv6 address 12::2/126 

R2(config-if)#do sh ip6 int brief  

R2(config-if)#do sh ipv6 int brief  FastEthernet0/0 [up/up] 

FE80::2 

12::2 

R1(config-if)#do ping 12::2 

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/29/104 ms 

R1(config-if)# 

R2(config-if)#do ping 12::1 

Page 4: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 4/19

 

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 = 4/22/44 ms 

R2(config-if)# 

1d. EUI-64 Address 

R1(config-if)#int f0/0 

R1(config-if)#ipv6 address 21::/64 eui-64 

R1(config-if)#no shut  

R1(config-if)#do sh ipv6 int brief  

FastEthernet0/0 [up/up] 

FE80::1 

12::1 

R2(config-if)#int f0/0 R2(config-if)#ipv6 address 21::/64 eui-64 

R2(config-if)#no shut  

R2(config-if)#do sh ipv6 int brie 

FastEthernet0/0 [up/up] 

FE80::2 

12::2 

21::2 

R1(config-if)#do ping 21::2 

Type escape sequence to abort. 

Sending 5, 100-byte ICMP Echos to 21::2, timeout is 2 seconds: 

!!!!! 

Success rate is 100 percent (5/5), round-trip min/avg/max = 4/53/148 ms 

R1(config-if)# 

Mengubah nilai link-local address yang sudah disetting

sebelumnya: 

R1(config-if)#int f0/0 

R1(config-if)#no ipv6 address fe80::1 link-local  

R1(config-if)# 

R1(config-if)#!! check perubahan !! 

R1(config-if)#do sh ipv6 int brief  

FastEthernet0/0 [up/up] 

FE80::C200:12FF:FE6C:0 12::1 

21::C200:12FF:FE6C:0 

R2(config-if)#no ipv6 address fe80::2 link-local  

R2(config-if)#!!! cek!!cek  

R2(config-if)#do sh ipv6 int brie 

Page 5: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 5/19

 

FastEthernet0/0 [up/up] 

FE80::C201:12FF:FE6C:0 

12::2 

21::C201:12FF:FE6C:0 

Verifikasi ping dengan ip terakhir yang ter-set : R2 ke R1 

R2(config-if)#do ping 21::C200:12FF:FE6C:0 

Type escape sequence to abort. 

Sending 5, 100-byte ICMP Echos to 21::C200:12FF:FE6C:0, timeout is 2

seconds: 

!!!!! 

Success rate is 100 percent (5/5), round-trip min/avg/max = 16/39/56 ms 

R2(config-if)# 

R1 ke R2 

R1(config-if)#do ping 21::C201:12FF:FE6C:0 

Type escape sequence to abort. 

Sending 5, 100-byte ICMP Echos to 21::C201:12FF:FE6C:0, timeout is 2

seconds: 

!!!!! 

Success rate is 100 percent (5/5), round-trip min/avg/max = 20/61/152ms 

BAB 2

IPV6 Routing – STATIK 

Skenario : mengkonfigurasi routing static pada IPV6 , command hamper

sama dengan static route ipv4.

R1 

interface Loopback0 

no ip address 

ipv6 address 1::1/128 

R2 ( STATIC ROUTE)

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

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 = 16/52/112

ms 

Sebaliknya 

R2

R2(config-if)#do sh run int lo 0 

interface Loopback0 

no ip address 

ipv6 address 2::2/128 

Page 6: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 6/19

 

 

di R1 

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

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 = 4/31/68 ms 

——— 

Uji Coba route via interface ( sebelumnya via IP)

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

R1(config)#ipv6 route 2::2/128 fas0/0 

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) 

!! TIDAK BISA!!!  

R1(config)# 

R1(config)#no ipv6 route 2::2/128 fas0/0 

!!Menambahkan Link Local Address !!

Success rate is 0 percent (0/5) 

R1(config)#ipv6 route 2::2/128 fa0/0 FE80::C201:12FF:FE6C:0 

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 = 8/37/84

msR1(config)#do ping 2::2 

Tabel Routing Dengan interface : 

R1(config)#do sh ipv6 route 

IPv6 Routing Table – 7 entries 

…. 

LC 1::1/128 [0/0] 

via ::, Loopback0 

S 2::2/128 [1/0] 

via FE80::C201:12FF:FE6C:0, FastEthernet0/0 

C 12::/126 [0/0] 

via ::, FastEthernet0/0 

L 12::1/128 [0/0] 

via ::, FastEthernet0/0 

Page 7: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 7/19

 

C 21::/64 [0/0] 

via ::, FastEthernet0/0 

L 21::C200:12FF:FE6C:0/128 [0/0] 

via ::, FastEthernet0/0 

L FF00::/8 [0/0] 

via ::, Null0 

Tabel Routing dengan IP : R2(config)#do sh ipv6 route

IPv6 Routing Table – 6 entries

LC 2::2/128 [0/0] 

via ::, Loopback0 

C 12::/126 [0/0]

via ::, FastEthernet0/0

L 12::2/128 [0/0]

via ::, FastEthernet0/0

C 21::/64 [0/0]

via ::, FastEthernet0/0

L 21::C201:12FF:FE6C:0/128 [0/0]

via ::, FastEthernet0/0

L FF00::/8 [0/0]

via ::, Null0

BAB 3

IPV6 Routing – RIPnG

Skenario : mengkonfigurasi RIP di IPV6 ( RIPnG)

Note : RIPnG di configure di tiap interface

R1 

ipv6 unicast-routing 

int s0/0 

ipv6 address 12::1/126 

int lo0 

ipv6 address 1::1/128 

R2 

ipv6 unicast-routing 

int s0/0 

ipv6 address 12::2/126 

int f0/0 

ipv6 address 23::2/126 

int lo0 

ipv6 address 2::2/128 

R3 

ipv6 unicast-routing 

int f0/0 

ipv6 address 23::3/126 

int lo0 

ipv6 address 3::3/128 

Page 8: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 8/19

 

konfigurasi RipnG di tiap interface : 

R1 

int s0/0 

ipv6 rip 1 enable 

int lo0 

ipv6 rip 1 enable 

R2 

int s0/0 

ipv6 rip 1 enable 

int f0/0 

ipv6 rip 1 enable 

int lo0 

ipv6 rip 1 enable 

R3 

int f0/0 

ipv6 rip 1 enable 

int lo0 

ipv6 rip 1 enable 

R2(config-if)#do sh ipv6 route 

IPv6 Routing Table – 8 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  

R 1::1/128 [120/2] 

via FE80::C205:19FF:FE78:0, Serial0/0 

LC 2::2/128 [0/0] 

via ::, Loopback0 R 3::3/128 [120/2] 

via FE80::C207:19FF:FE78:0, FastEthernet0/0 

C 12::/126 [0/0] 

via ::, Serial0/0 

L 12::2/128 [0/0] 

via ::, Serial0/0 

C 23::/126 [0/0] 

via ::, FastEthernet0/0 

L 23::2/128 [0/0] via ::, FastEthernet0/0 

L FF00::/8 [0/0] 

via ::, Null0

R2(config-if)#do ping 1::1 

Type escape sequence to abort. 

Sending 5, 100-byte ICMP Echos to 1::1, timeout is 2 seconds:!!!!!  

Page 9: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 9/19

 

Success rate is 100 percent (5/5), round-trip min/avg/max = 0/24/64 ms 

R2(config-if)#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 = 0/0/4 ms 

R2(config-if)#do ping 3::3 

Type escape sequence to abort. 

Sending 5, 100-byte ICMP Echos to 3::3, timeout is 2 seconds: 

!!!!! 

Success rate is 100 percent (5/5), round-trip min/avg/max = 8/48/148 ms 

R2(config-if)#do sh ipv6 proto 

IPv6 Routing Protocol is ―connected‖  

IPv6 Routing Protocol is ―static‖  

 IPv6 Routing Protocol is “rip 1″  

Interfaces: 

Loopback0 

FastEthernet0/0 

Serial0/0 

Redistribution: 

None 

R2(config-if)#do sh ipv6 rip 1 

RIP process “1″, port 521, multicast -group FF02::9, pid 223 

 Administrative distance is 120. Maximum paths is 16 

Updates every 30 seconds, expire after 180 

Holddown lasts 0 seconds, garbage collect after 120 

Split horizon is on; poison reverse is off  

Default routes are not generated  

Periodic updates 18, trigger updates 5  

Interfaces: 

Loopback0 

FastEthernet0/0 

Serial0/0 

Redistribution: 

None 

Page 10: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 10/19

 

Debug ipv6 rip 

R2(config-if)#1, prefix=2::2/128 

*Mar 1 00:21:39.283: tag=0, metric=1, prefix=12::/126 

*Mar 1 00:21:39.283: tag=0, metric=1, prefix=23::/126 

*Mar 1 00:21:39.283: tag=0, metric=2, prefix=1::1/128 *Mar 1 00:21:39.287: RIPng: Sending multicast update on Serial0/0 for 1 

*Mar 1 00:21:39.287: src=FE80::C206:19FF:FE78:0 

*Mar 1 00:21:39.287: dst=FF02::9 (Serial0/0) 

*Mar 1 00:21:39.291: sport=521, dport=521, length=92 

*Mar 1 00:21:39.291: command=2, version=1, mbz=0, #rte=4 

*Mar 1 00:21:39.291: tag=0, metric=1, prefix=2::2/128 

*Mar 1 00:21:39.291: tag=0, metric=1, prefix=12::/126 

*Mar 1 00:21:39.291: tag=0, metric=1, prefix=23::/126 

*Mar 1 00:21:39.295: tag=0, metric=2, prefix=3::3/128 *Mar 1 00:21:39.303: RIPng: Process 1 received own response on

Loopback0 

BAB 4

IPV6 Routing – OSPF 

Skenario : Menkonfigurasi OSPFV3

Note : harus diberi Router id ( angka terserah ) , enable OSPfV3 dilakukan

di global config dan juga tiap interface.

R1 

ipv6 router ospf 1 

router-id 1.1.1.1 

interface Loopback0 

no ip address 

ipv6 address 1::1/128 

ipv6 router ospf 1 

interface Serial0/0 no ip address 

ipv6 address 12::1/126 

ipv6 router ospf 1 

clock rate 2000000 

R2 

ipv6 router ospf 1 

router-id 2.2.2.2 interface Loopback0 

no ip address 

ipv6 address 2::2/128 

ipv6 ospf 1 area 0 

interface FastEthernet0/0 

no ip address 

duplex auto 

Page 11: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 11/19

 

speed auto 

ipv6 address 23::2/126 

ipv6 ospf 1 area 0 

interface Serial0/0 

no ip address 

ipv6 address 12::2/126 

ipv6 ospf 1 area 0 clock rate 2000000 

R3 

ipv6 router ospf 1 

router-id 3.3.3.3 

interface Loopback0 

no ip address 

ipv6 address 3::3/128 

ipv6 ospf 1 area 0 interface FastEthernet0/0 

no ip address 

duplex auto 

speed auto 

ipv6 address 23::3/126 

ipv6 ospf 1 area 0 

VERIFIKASI : 

R1(config-if)# *Mar 1 00:09:37.931: %OSPFv3-5-ADJCHG: Process 1, Nbr 2.2.2.2

on Serial0/0 from LOADING to FULL, Loading Done 

R1(config-if)#do sh ipv6 route 

IPv6 Routing Table – 7 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  

LC 1::1/128 [0/0] 

via ::, Loopback0 

O 2::2/128 [110/64] 

via FE80::C206:19FF:FE78:0, Serial0/0 

O 3::3/128 [110/74] 

via FE80::C206:19FF:FE78:0, Serial0/0 

C 12::/126 [0/0] via ::, Serial0/0 

L 12::1/128 [0/0] 

via ::, Serial0/0 

O 23::/126 [110/74] 

via FE80::C206:19FF:FE78:0, Serial0/0 

L FF00::/8 [0/0] 

via ::, Null0 

Page 12: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 12/19

 

 

R3(config-rtr)#do sh ipv6 ospf neigh 

Neighbor ID Pri State Dead Time Interface ID Interface 

2.2.2.2 1 FULL/DR 00:00:39 4 FastEthernet0/0 

R3(config-rtr)#do sh ipv6 ospf int f0/0 FastEthernet0/0 is up, line protocol is up 

Link Local Address FE80::C207:19FF:FE78:0, Interface ID 4 

 Area 0, Process ID 1, Instance ID 0, Router ID 3.3.3.3 

Network Type BROADCAST, Cost: 10 

Transmit Delay is 1 sec, State BDR, Priority 1 

Designated Router (ID) 2.2.2.2, local address FE80::C206:19FF:FE78:0 

Backup Designated router (ID) 3.3.3.3, local address

FE80::C207:19FF:FE78:0 

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5  Hello due in 00:00:06 

Index 1/2/2, flood queue length 0 

Next 0×0(0)/0×0(0)/0×0(0) 

Last flood scan length is 1, maximum is 3 

Last flood scan time is 0 msec, maximum is 0 msec  

Neighbor Count is 1, Adjacent neighbor count is 1 

 Adjacent with neighbor 2.2.2.2 (Designated Router) 

Suppress hello for 0 neighbor(s) 

BAB 5

IPV6 Routing – EIGRP 

Skenario : konfigur Lab Eigrp di IPV6

Note : perlu proses no shutdown di global config EIGRP.

R1 

ipv6 router eigrp 1 

router-id 1.1.1.1 

no shut  interface Loopback0 

no ip address 

ipv6 address 1::1/128 

interface Serial0/0 

no ip address 

ipv6 address 12::1/126 

ipv6 eigrp 1 

clock rate 2000000 

R2 

ipv6 router eigrp 1 

router-id 2.2.2.2 

no shut  

interface Loopback0 

no ip address 

ipv6 address 2::2/128 

Page 13: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 13/19

 

ipv6 eigrp 1 

interface FastEthernet0/0 

no ip address 

duplex auto 

speed auto 

ipv6 address 23::2/126 

ipv6 eigrp 1 interface Serial0/0 

no ip address 

ipv6 address 12::2/126 

ipv6 eigrp 1 

clock rate 2000000 

R3 

ipv6 router eigrp 1 

router-id 3.3.3.3 ipv6 eigrp 1 

no shut  

interface Loopback0 

no ip address 

ipv6 address 3::3/128 

ipv6 eigrp 1 area 0 

interface FastEthernet0/0 

no ip address 

duplex auto speed auto 

ipv6 address 23::3/126 

ipv6 eigrp 1 area 0 

Verifikasi : 

R1(config-rtr)#do sh ipv6 route 

IPv6 Routing Table – 7 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  

LC 1::1/128 [0/0] 

via ::, Loopback0 

D 2::2/128 [90/2297856] 

via FE80::C206:19FF:FE78:0, Serial0/0 

D 3::3/128 [90/2323456] via FE80::C206:19FF:FE78:0, Serial0/0 

C 12::/126 [0/0] 

via ::, Serial0/0 

L 12::1/128 [0/0] 

via ::, Serial0/0 

D 23::/126 [90/2195456] 

via FE80::C206:19FF:FE78:0, Serial0/0 

Page 14: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 14/19

 

L FF00::/8 [0/0] 

via ::, Null0 

R1(config-rtr)# 

R1(config-rtr)#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 = 0/32/96 ms 

R1(config-rtr)#do ping 3::3 

Type escape sequence to abort. 

Sending 5, 100-byte ICMP Echos to 3::3, timeout is 2 seconds: 

!!!!! 

Success rate is 100 percent (5/5), round-trip min/avg/max = 16/65/184

ms 

BAB 7

IPV6 Tunnel IPv6IP 

Skenario : konfigur Tunnel IPv6IP 

Note : butuh source lo dan destination ( IPV4 ) , butuh IP baru

Verifikasi : 

R1(config-router)#do sh int tu 13 

Tunnel13 is up, line protocol is up 

Hardware is Tunnel  MTU 1514 bytes, BW 9 Kbit, DLY 500000 usec, 

reliability 255/255, txload 1/255, rxload 1/255  

Encapsulation TUNNEL, loopback not set  

Keepalive not set  

Tunnel source 12.12.12.1, destination 23.23.23.3 

Tunnel protocol/transport IPv6/IP  

Tunnel TTL 255  

Fast tunneling enabled  

Tunnel transmit bandwidth 8000 (kbps) Tunnel receive bandwidth 8000 (kbps) 

Last input 00:02:35, output 00:01:06, output hang never  

Last clearing of ―show interface‖ counters never  

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 2 

Queueing strategy: fifo 

Output queue: 0/0 (size/max) 

5 minute input rate 0 bits/sec, 0 packets/sec  

5 minute output rate 0 bits/sec, 0 packets/sec  

11 packets input, 1240 bytes, 0 no buffer  Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort  

37 packets output, 3448 bytes, 0 underruns 

R1(config-router)#do ping 13::1 

Type escape sequence to abort. 

Sending 5, 100-byte ICMP Echos to 13::1, timeout is 2 seconds: 

!!!!! 

Page 15: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 15/19

 

Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/4 ms 

R1(config-router)#do ping 13::3 

Type escape sequence to abort. 

Sending 5, 100-byte ICMP Echos to 13::3, timeout is 2 seconds: 

!!!!! 

Success rate is 100 percent (5/5), round-trip min/avg/max = 96/116/144

ms R1(config-router)#do sh ipv6 int brief  

FastEthernet0/0 [administratively down/down] 

Serial0/0 [up/up] 

Loopback0 [up/up] 

FE80::C205:19FF:FE78:0 

1::1 

Tunnel13 [up/up] 

FE80::C0C:C01 

13::1 

R3 

R3(config-router)#do ping 13::1 

Type escape sequence to abort. 

Sending 5, 100-byte ICMP Echos to 13::1, timeout is 2 seconds: 

!!!!! 

Success rate is 100 percent (5/5), round-trip min/avg/max = 4/75/112 ms 

R3(config-router)#do sh ipv6 int tun 31 Tunnel31 is up, line protocol is up 

IPv6 is enabled, link-local address is FE80::1717:1703 

No Virtual link-local address(es): 

Global unicast address(es): 

13::3, subnet is 13::/64 

 Joined group address(es): 

FF02::1 

FF02::1:FF00:3 

FF02::1:FF17:1703 

Sebelum integrasi ipv6 ke routing ipv4 

R3(config-router)#do sh ipv6 route

LC 3::3/128 [0/0]

via ::, Loopback0

C 13::/64 [0/0]

via ::, Tunnel31

L 13::3/128 [0/0]

via ::, Tunnel31

L FF00::/8 [0/0]

via ::, Null0

Page 16: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 16/19

 

Konfigurasi Routing IP ke dalam loopback 

R1(config-router)#ipv6 route 3::3/128 13::3 

R1(config)#do ping 3::3 

Type escape sequence to abort. 

Sending 5, 100-byte ICMP Echos to 3::3, timeout is 2 seconds: 

!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 48/84/144

ms 

 ping ke 1::1 belum bisa, karena belum dikenali di routing tabelnya. 

R3(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 0 percent (0/5) 

dikonfigurasikan routing statik ke 1::1

R3(config)#ipv6 route 1::1/128 13::1 

R3(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 

Tabel routing setelah integrasi 

R1(config)#do sh ipv6 route 

IPv6 Routing Table – 5 entries 

Codes: C – Connected, L – Local, S – Static, R – RIP, B – BGP  

U – Per-user Static route, M – MIPv6 

… 

LC 1::1/128 [0/0] 

via ::, Loopback0 

S 3::3/128 [1/0] 

via 13::3 

C 13::/64 [0/0] 

via ::, Tunnel13 

L 13::1/128 [0/0] 

via ::, Tunnel13 L FF00::/8 [0/0] 

via ::, Null0 

Page 17: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 17/19

 

BAB 8

IPV6 Tunnel GRE IP

Skenario : menggunakan topologi sebelumnya hanya mengganti mode

tunnel-nya saja.

Note : GRE default

int tun 13 

ipv6 add 13::1/64 

tunnel so 12.12.12.1 

tunn des 23.23.23.3 

tunnel mode gre ip 

int tun 31 

ipv6 add 13::3/64 

tunnel so 23.23.23.3 

tunnel des 12.12.12.1 

tunnel mode gre ip 

Verifikasi : 

R1(config-if)#do sh int tun 13 

Tunnel13 is up, line protocol is up 

Hardware is Tunnel  

MTU 1514 bytes, BW 9 Kbit/sec, DLY 500000 usec, 

reliability 255/255, txload 1/255, rxload 1/255  

Encapsulation TUNNEL, loopback not set  

Keepalive not set  

Tunnel source 12.12.12.1, destination 23.23.23.3 

Tunnel protocol/transport GRE/IP 

BAB 9

IPV6 6to4 

Skenario : mengkonfigurasi 6to4 tunnel

Note :- IPV6 address-nya merupakan hexadesimal dari IPV4 

- menambahkan ipv6 route 2002::/16 ke int tunnelnya 

R1 

int tun 103 

tunnel source 12.12.12.1 

ipv6 address 2002:0C0C:0C01::1/64 

tunnel mode ipv6ip 6to4 

ipv6 route 2002::/16 tun 103 

R3 

int tun 301 

tunnel source 23.23.23.3 

ipv6 address 2002:1717:1703::3/64 

tunnel mode ipv6ip 6to4 

Page 18: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 18/19

 

Verifikasi : 

R3#sh int tun 301 

Tunnel301 is up, line protocol is up 

Hardware is Tunnel  

MTU 1514 bytes, BW 9 Kbit/sec, DLY 500000 usec, 

reliability 255/255, txload 1/255, rxload 1/255  

Encapsulation TUNNEL, loopback not set  Keepalive not set  

Tunnel source 23.23.23.3, destination UNKNOWN  

Tunnel protocol/transport IPv6 6to4 

BAB 10

IPv6 Tunnel ISATAP 

Skenario : konfigur Tunnel ISATAP

R1 

int tun 1003 

tunnel so 12.12.12.1 

ipv6 address 31::/64 eui-64 

tunnel mode ipv6ip isatap 

R3 : 

int tun 3001 

tunnel so 23.23.23.3 

ipv6 add 31::/64 eui-64 

tunnel mode ipv6ip isatap 

Verifikasi: 

R1#sh int tun 1003 

Tunnel1003 is up, line protocol is up 

Hardware is Tunnel  

MTU 1514 bytes, BW 9 Kbit/sec, DLY 500000 usec, 

reliability 255/255, txload 1/255, rxload 1/255  

Encapsulation TUNNEL, loopback not set  

Keepalive not set  Tunnel source 12.12.12.1, destination UNKNOWN  

Tunnel protocol/transport IPv6 ISATAP  

BAB 11

IPv6 Tunnel Auto Tunnel 

Skenario : auto tunnel 

R1 

int tun 10003 tunnel so 12.12.12.1 

tunnel mode ipv6ip auto-tunnel  

R3 

int tun 30001 

tunnel source 23.23.23.3 

tunnel mode ipv6ip auto-tunnel  

Page 19: Cara Mengaktifkan IPV6 Di Switch

5/13/2018 Cara Mengaktifkan IPV6 Di Switch - slidepdf.com

http://slidepdf.com/reader/full/cara-mengaktifkan-ipv6-di-switch 19/19

 

Verifikasi : 

R3#sh int tun 30001 

Tunnel30001 is up, line protocol is up 

Hardware is Tunnel  

MTU 1514 bytes, BW 9 Kbit/sec, DLY 500000 usec, 

reliability 255/255, txload 1/255, rxload 1/255  

Encapsulation TUNNEL, loopback not set  Keepalive not set  

Tunnel source 23.23.23.3, destination UNKNOWN  

Tunnel protocol/transport IPv6 auto-tunnel