IPV6

Senin, 10 Desember 2012

IPV6







































Lab 1. Dasar IPv6
--- Tujuan Lab---
  • Mempelajari bagaimana mengkonfigurasikan alamat IPv6 pada router
---Topologi Lab---








---Metode Lab---
  • Konfigurasikan beberapa alamat  
---Verifikasi Lab---
  • Jalankan show IPv6 int brief untuk menampilkan IPv6 addressnya
==========================================
1a. LINK-LOCAL UNICAST ADDRESS (AUTOMATIC)
==========================================

Mengaktifkan IPv6, karena secara default tidak diaktifkan.

R1(config)#ipv6 unicast-routing
R2(config)#ipv6 unicast-routing

Khusus pada Switch L3. Modul IPv6 nya harus diload terlebih dahulu

SW(config)#sdm prefer dual-ipv4-ipv6 default
selanjutnya harus di-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 mengkonfigurasikan secara manual. nilainya selalu diawali dengan FE80::/10. Link Local Unicast Address fungsinya digunakan untuk kebutuhan neighbor discovery.

perintah berikut akan membuat Link-Local Unicast Address secara otomatis pada interface setiap kita mengaktifkan interface tersebut untuk konfigurasi IPv6.

===
R1
===
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 ipv6 enable
end
!

===
R2
===
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 ipv6 address autoconfig
end
!
==================
kemudian cek interfacenya
==================

R1#sh ipv6 int fa0/1
FastEthernet0/1 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::C200:AFF:FE14:1
  No Virtual link-local address(es):
  No global unicast address is configured
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::1:FF14:1

R1#sh ipv6 int b
FastEthernet0/0            [administratively down/down]
FastEthernet0/1            [up/up]
    FE80::C200:AFF:FE14:1

berikut contoh penjelasan nilai link-local address yang didapat dari nilai mac address.

















hal ini juga sama cara mengetahui link-local address pada router R2














=============================
1b. Link-Local Unicast Address (manual)
 =============================

---konfigurasikan link-local address---

R1(config)#int fa0/0
R1(config-if)#ipv6 address fe80::1 link-local

R2(config)#int fa0/0
R2(config-if)#ipv6 address fe80::1 link-local

---cek link local pada interface---

R1# sh ipv6 int b
FastEthernet0/0            [up/up]
    FE80::1

R2#sh ipv6 int br
FastEthernet0/0            [up/up]
    FE80::1

---verifikasi---

R2#ping fe80::1   
Output Interface: fastethernet0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::1, timeout is 2 seconds:
Packet sent with a source address of FE80::2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/35/44 ms

===================
1c. Global Unicast Address
===================
R1(config)#int fa0/0
R1(config-if)#ipv6 address 12::1/126

R1#sh ipv6 int b
FastEthernet0/0            [up/up]
    FE80::1
    12::1

R2(config)#int fa0/0
R2(config-if)#ipv6 add 12::2/126

R2(config-if)#do sh ipv6 int b
FastEthernet0/0            [up/up]
    FE80::2
    12::2

---coba lakukan tes ping---

R1#ping 12::1
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 = 0/0/0 ms

R2#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 = 0/3/4 ms

===============
1d. EUI-64 Address
===============

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

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

R1(config-if)#do sh ipv6 int b
FastEthernet0/0            [up/up]
    FE80::1
    12::1
    21::1

R2(config-if)#do sh ipv6 int b
FastEthernet0/0            [up/up]
    FE80::2
    12::2
    21::2

---coba lakukan test ping---

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 = 32/74/124 ms

R2(config-if)#do ping 21::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 21::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/48/104 ms

Lab 2. IPv6 Routing -Static

---Tujuan Lab---
  • Mempelajari bagaimana mengkonfigurasikan static routing pada IPv6
---Topologi Lab---








---Metode Lab---
  • Aktifkan unicast routing pada setiap router
  • Konfigurasikan IPv6 address seperti pada topologi
  • Buat ip loopback pada masing-masing router
  • Konfigurasikan IPv6 static Routing
---Verifikasi Lab---
  • Pastikan semua IPv6 loopback nya bisa diping dari semua router.
R1
R1(config)#ipv6 unicast-routing
R1(config)#int fa0/0
R1(config-if)#ipv6 address 12::1/126
R1(config-if)#no sh
R1(config-if)#int lo0
R1(config-if)#
R1(config-if)#ipv6 address 1::1/128
R1(config-if)#ipv6 route 2::2/128 12::2
R1(config)#

 R2

R2(config)#ipv6 unicast-routing
R2(config)#int fa0/0
R2(config-if)#ipv6 add
R2(config-if)#ipv6 address 12::2/126
R2(config-if)#no sh
R2(config-if)#int lo
R2(config-if)#ipv6 add 2::2/128
R2(config)#ipv6 route 1::1/128 12::1

Verifikasi


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 = 60/68/92 ms

 
R1#ping 2::2
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 = 60/68/92 ms

 Bagaimana misalkan static routingnya via interface bukan menggunakan IP. coba kita Lab kAn.

static route using IP kita hapus terlebih dahulu

                           
R1(config)#no ipv6 route 2::2/128 12::2
R1(config)#ipv6 route route 2::2/128 fa0/0
 
R2(config)#no ipv6 route 1::1/128 12::1
R2(config)#ipv6 route 1::1/128 fa0/0

verifikasi

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

opss.. untuk using by interface, kita harus menambahkan link-local address jika ingin menggunakan interface, seperti konfigurasi dibawah ini.


R1(config)#int fa0/0
R1(config-if)#ipv6 address fe80::1 link-local


R1(config)#no ipv6 route 1::1/128 FastEthernet0/0
R1(config)#ipv6 route 1::1/128 FastEthernet0/0 fe80::2 

R2(config)#int fa0/0
R2(config-if)#ipv6 address fe80::2 link-local
 
R2(config)#no ipv6 route 1::1/128 FastEthernet0/0
R2(config)#ipv6 route 1::1/128 FastEthernet0/0 fe80::1  

 Verifikasi


R2(config)#do ping 1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1::1, timeout is 2 seconds:
!!!!!


R1(config)#do ping 2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1::1, timeout is 2 seconds:
!!!!!

 
R2(config)#do sh ipv6 route
S   1::1/128 [1/0]
     via FE80::1, FastEthernet0/0
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
L   FF00::/8 [0/0]
     via ::, Null0


Lab 3. IPV6 ROUTING -RIPnG

---Tujuan Lab---
  • Mempelajari bagaimana mengkonfigurasi RIP Next Generation Routing pada IPV6
---Topologi Lab---








---Metode Lab---
  • Konfigurasikan IPv6 address seperti pada topologi
  • Buat IP Loopback pada masing-masing router
  • Konfigurasikan IPv6 RIP Routing
---Verifikasi Lab---
  • Pastikan semua IPv6 Loopback nya bisa diping dari semua router

R1(config)#ipv6 unicast-routing
R1(config)#int se0/0
R1(config-if)#ipv6 address 12::1/126
R1(config-if)#no sh
R1(config-if)#int lo
R1(config-if)#ipv6 add 1::1/128
R1(config-if)#


R2(config)#ipv6 unicast-routing
R2(config)#int se0/0
R2(config-if)#ipv6 address 12::2/126
R2(config-if)#no sh
R2(config-if)#int fa0/0
R2(config-if)#ipv6 address 23::2/126
R2(config-if)#no sh
R2(config-if)#int lo0
R2(config-if)#ipv6 address 2::2/128
R2(config-if)#


R3(config)#ipv6 unicast-routing
R3(config)#int fa0/0
R3(config-if)#ipv6 address 23::3/126
R3(config-if)#no sh
R3(config-if)#int lo0
R3(config-if)#ipv6 add
R3(config-if)#ipv6 address 3::3/128

Routing RIP


R1(config)#int se0/0
R1(config-if)#ipv6 rip 1 enable
R1(config)#int lo0
R1(config-if)#ipv6 rip 1 enable


R2(config)#int se0/0
R2(config-if)#ipv6 rip 1 enable
R2(config-if)#int lo0
R2(config-if)#ipv6 rip 1 enable


R3(config)#int fa0/0
R3(config-if)#ipv6 rip 1 enable
R3(config-if)#int lo0
R3(config-if)#ipv6 rip 1 enable

Verifikasi

R3(config)#do sh ipv6 rou
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
R   1::1/128 [120/3]
     via FE80::C207:FFF:FEFC:0, FastEthernet0/0
R   2::2/128 [120/2]
     via FE80::C207:FFF:FEFC:0, FastEthernet0/0
LC  3::3/128 [0/0]
     via ::, Loopback0
R   12::/126 [120/2]
     via FE80::C207:FFF:FEFC:0, FastEthernet0/0
C   23::/126 [0/0]
     via ::, FastEthernet0/0
L   23::3/128 [0/0]
     via ::, FastEthernet0/0
L   FF00::/8 [0/0]
     via ::, Null0


Lab 4. Frame-Relay Using IPV6. Lets do it.



















---Metode Lab---
  • Konfigurasikan Frame-Relay dengan topology diatas
  • Konfigurasikan Using IPV6 Address pada setiap interface
  • Konfigurasikan Frame-Relay Map
  • Ingat, untuk verifikasi, setiap Loopback harus bisa di Ping antara router satu dengan yang lain
---Konfigurasi---


FRSW
[command_start]
!
frame-relay switching
int se0/1
 encap frame-relay
 frame-relay intf-type dce
 frame-relay lmi-type cisco
 frame-relay route 201 int se0/0 102
 no sh
!
int se0/2
 encapsulation frame-relay
 frame-relay intf-type dce
 frame-relay lmi-type cisco
 frame-relay route 301 int se0/0 103
 no sh
!
int se0/0
 encapsulation frame-relay
 frame-relay intf-type dce
 frame-relay lmi-type cisco
 frame-relay route 102 int s0/1 201
 frame-relay route 103 int s0/2 301
 no sh
!
[command_end]

 R1
[command_start]
!
R1(config)#ipv6 unicast-routing
R1(config)#int se0/0
R1(config-if)#encapsulation frame-relay
R1(config-if)#ipv6 address 123::1/100
R1(config-if)#ipv6 address fe80::1 link-local
R1(config-if)#frame-relay map ipv6 123::2 102 br
R1(config-if)#frame-relay map ipv6 fe80::2 102
R1(config-if)#frame-relay map ipv6 123::3 103 br
R1(config-if)#frame-relay map ipv6 fe80::3 103
R1(config-if)#ipv6 rip 1 enable
R1(config-if)#no sh
!
R1(config-if)#int lo0
R1(config-if)#ipv
R1(config-if)#ipv6 add 1::1/128
R1(config-if)#ipv6 rip 1 enable
!
[command_end]

 R2
[command_start
!
R2(config)#ipv6 unicast-routing
R2(config)#int se0/0
R2(config-if)#encapsulation frame-relay
R2(config-if)#ipv6 add 123::2/100
R2(config-if)#ipv6 add fe80::2 link-local
R2(config-if)#frame-relay map ipv6 123::1 201 broadcast
R2(config-if)#frame-relay map ipv6 fe80::1 201
R2(config-if)#frame-relay map ipv6 123::3 203 broadcast
R2(config-if)#frame-relay map ipv6 fe80::3 203
R2(config-if)#ipv6 rip 1 enable
R2(config-if)#no sh
!
R2(config-if)#int lo0
R2(config-if)#ipv6 add 2::2/128
R2(config-if)#ipv6 rip 1 enable
!
[command_end]

 R3
[command_start]
!
R3(config)#ipv6 unicast-routing
R3(config)#int se0/0
R3(config-if)#encapsulation frame-relay
R3(config-if)#ipv6 add 123::3/100
R3(config-if)#ipv6 add fe80::3 link-local
R3(config-if)#frame-relay map ipv6 123::1 301 broadcast
R3(config-if)#frame-relay map ipv6 fe80::1 301
R3(config-if)#frame-relay map ipv6 123::2 302 broadcast
R3(config-if)#frame-relay map ipv6 fe80::2 302
R3(config-if)#ipv6 rip 1 enable
R3(config-if)#no sh
!
R3(config-if)#int lo0
R3(config-if)#ipv6 rip 1 enable
!
[command_end]

Verifikasi
R1#sh ipv6 route
LC  1::1/128 [0/0]
     via ::, Loopback0
R   2::2/128 [120/2]
     via FE80::2, Serial0/0
R   3::3/128 [120/2]
     via FE80::3, Serial0/0
C   123::/100 [0/0]
     via ::, Serial0/0
L   123::1/128 [0/0]
     via ::, Serial0/0
L   FF00::/8 [0/0]
     via ::, Null0

Coba lakukan PING ke Loopback setiap Router.














0 komentar :

Posting Komentar