Virus on CCIE BootCamp Indonesia 2011

Ketika nomor itu semakin mendekat ….

IPv6 bertemu dengan OSPF …

leave a comment »

… masih di seputaran EIGRP, OSPF , Mutual Distribution dan IPv6 ..

gimana dengan beberapa lab yang sudah dibahas.. kurang ya??  sebenarnya labnya banyak bgt dan pastinya bagus buat latihan- latihan sebelum ngambil ujian lab..

Lab akan dibahas semua tapi bertahap ya ..  🙂 .., sekarang aku  tambahin 1 topologi lagi untuk belajar …

baik .. untuk bahasan (red: Mutual Distribution, IPv6, EIGRP, dan OSPF) .. aku coba buat 1 topology simpel yang gabungin ke 4 topik tersebut. Topologinya ga akan ane-aneh .. bener2, simpel ko .. ayoo dilihat  🙂

Sudah dilihatnya .. langsung kita konfigure .. nih dia ..

Ketik ini pada R1

R1>en
R1#conf t
R1(config)#ipv6 unicast-routing
R1(config-if)#int fa0/0
R1(config-if)#ipv6 add 12::1/64
R1(config-if)#no sh
R1(config-if)#int fa 0/1
R1(config-if)#ipv6 add 13::1/64
R1(config-if)#no sh
R1(config)#ipv6 router eigrp 1
R1(config-rtr)#no shutdown
R1(config-rtr)#eigrp router-id 1.1.1.1
R1(config-rtr)#exit
R1(config)#int fa0/0
R1(config-if)#ipv6 eigrp 1
R1(config-if)#int fa0/1
R1(config-if)#ipv6 eigrp 1
R1(config-if)#int lo0
R1(config-if)#ipv6 eigrp 1
R1(config-if)#end

 

buat R2

R2(config)#int fa0/0
R2(config-if)#ipv6 add 12::2/64
R2(config-if)#no sh
R2(config-if)#int fa 0/1
R2(config-if)#ipv6 add 24::2/64
R2(config-if)#no sh
R2(config-if)#int lo0
R2(config-if)#ipv6 add 2::2/128
R2(config-if)#exit
R2(config)#ipv6 router eigrp 1
R2(config-rtr)#no shutdown
R2(config-rtr)#eigrp router-id 2.2.2.2
R2(config-rtr)#exit
R2(config)#int fa 0/0
R2(config-if)#ipv6 eigrp 1
R2(config-if)#int fa0/1
R2(config-if)#ipv6 eigrp 1
R2(config-if)#int lo0
R2(config-if)#ipv6 eigrp 1
R2(config-if)#end

 

R3

R3(config)#ipv6 unicast-routing
R3(config)#int lo0
R3(config-if)#ipv6 add 3::3/128
R3(config-if)#int fa0/0
R3(config-if)#ipv6 add 13::3/64
R3(config-if)#no sh
R3(config-if)#int fa0/1
R3(config-if)#no sh
R3(config-if)#ipv6 add 35::3/64
R3(config-if)#exit
R3(config)#ipv6 router eigrp 1
R3(config-rtr)#no sh
R3(config-rtr)#eigrp router-id 3.3.3.3
R3(config-rtr)#exit
R3(config)#int lo 0
R3(config-if)#ipv6 eigrp 1
R3(config-if)#int fa 0/0
R3(config-if)#ipv6 eigrp 1
R3(config-if)#int fa 0/1
R3(config-if)#ipv6 eigrp 1
R3(config)#ipv6 router ospf 1
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#exit
R3(config)#int fa0/1
R3(config-if)#ipv6 ospf 1 area 0
R3(config-if)#end

 

buat R4

R4(config)#ipv6 unicast-routing
R4(config)#int lo0
R4(config-if)#ipv6 add 4::4/128
R4(config-if)#int fa 0/0
R4(config-if)#ipv6 add 24::4/64
R4(config-if)#no sh
R4(config-if)#int fa 0/1
R4(config-if)#no sh
R4(config-if)#ipv6 add 46::4/64
R4(config-if)#exit
R4(config)#ipv6 router eigrp 1
R4(config-rtr)#no sh
R4(config-rtr)#eigrp router-id 4.4.4.4
R4(config-rtr)#exit
R4(config)#int fa0/0
R4(config-if)#ipv6 eigrp 1
R4(config-if)#exit
R4(config)#ipv6 router ospf 1
R4(config-rtr)#
R4(config-rtr)#router-id 4.4.4.4
R4(config-rtr)#exit
R4(config)#int fa0/1
R4(config-if)#ipv6 ospf 1 area 0
R4(config-if)#int lo0
R4(config-if)#ipv6 ospf 1 area 0
R4(config-if)#end

 

buat R5 

R5#conf t
R5(config)#ipv6 unicast-routing
R5(config)#int lo 0
R5(config-if)#ipv6 add 5::5/128
R5(config-if)#int fa0/0
R5(config-if)#ipv6 add 56::5/64
R5(config-if)#no sh
R5(config-if)#int fa0/1
R5(config-if)#ipv6 add 35::5/64
R5(config-if)#no sh
R5(config-if)#exit
R5(config)#ipv6 router ospf 1
R5(config-rtr)#router-id 5.5.5.5
R5(config-rtr)#exit
R5(config)#int fa0/0
R5(config-if)#ipv6 ospf 1 area 0
R5(config-if)#int fa 0/1
R5(config-if)#ipv6 ospf 1 area 0
R5(config-if)#int lo0
R5(config-if)#ipv6 ospf 1 area 0
R5(config-if)#end

banyak ya !!!! …  hahaha .. ayoo terus …

 

buat R6

R6#conf t
R6(config)#ipv6 unicast-routing
R6(config)#int lo0
R6(config-if)#ipv6 add 6::6/128
R6(config-if)#int fa 0/0
R6(config-if)#ipv6 add 56::6/64
R6(config-if)#no sh
R6(config-if)#int fa 0/1
R6(config-if)#ipv6 add 46::6/64
R6(config-if)#no sh
R6(config-if)#exit
R6(config)#ipv6 router ospf 1
R5(config-rtr)#router-id 5.5.5.5
R6(config-rtr)#int lo0
R6(config-if)#ipv6 ospf 1 area 0
R6(config-if)#int fa0/0
R6(config-if)#ipv6 ospf 1 area 0
R6(config-if)#int fa 0/1
R6(config-if)#ipv6 ospf 1 area 0
R6(config-if)#end

Kalau sudah semua sekarang kita coba cek routing tabel dulu sebelum melakukan distribution:

 

dari R1 dan R4 lakukan perintah #sh ipv6 route

R1#sh ipv6 route

IPv6 Routing Table - Default - 15 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
C   12::/64 [0/0]
     via FastEthernet0/0, directly connected
L   12::1/128 [0/0]
     via FastEthernet0/0, receive
C   13::/64 [0/0]
     via FastEthernet0/1, directly connected
L   13::1/128 [0/0]
D   2::2/128 [90/156160]
     via FE80::C803:12FF:FE1C:8, FastEthernet0/0
D   3::3/128 [90/156160]
     via FE80::C805:13FF:FEF4:8, FastEthernet0/1
D   24::/64 [90/30720]
     via FE80::C803:12FF:FE1C:8, FastEthernet0/0
D   35::/64 [90/30720]
     via FE80::C805:13FF:FEF4:8, FastEthernet0/1
L   FF00::/8 [0/0]
     via Null0, receive

 

R4#sh ipv6 route

IPv6 Routing Table - Default - 15 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
D   1::1/128 [90/158720]
     via FE80::C803:12FF:FE1C:6, FastEthernet0/0
D   2::2/128 [90/156160]
     via FE80::C803:12FF:FE1C:6, FastEthernet0/0
D   3::3/128 [90/161280]
     via FE80::C803:12FF:FE1C:6, FastEthernet0/0
LC  4::4/128 [0/0]
     via Loopback0, receive
O   5::5/128 [110/2]
     via FE80::C801:DFF:FE58:6, FastEthernet0/1
O   6::6/128 [110/1]
     via FE80::C801:DFF:FE58:6, FastEthernet0/1
D   12::/64 [90/30720]
     via FE80::C803:12FF:FE1C:6, FastEthernet0/0
D   13::/64 [90/33280]
     via FE80::C803:12FF:FE1C:6, FastEthernet0/0
C   24::/64 [0/0]
     via FastEthernet0/0, directly connected
L   24::4/128 [0/0]
     via FastEthernet0/0, receive
D   35::/64 [90/35840]
     via FE80::C803:12FF:FE1C:6, FastEthernet0/0
C   46::/64 [0/0]
     via FastEthernet0/1, directly connected
L   46::4/128 [0/0]
     via FastEthernet0/1, receive
O   56::/64 [110/2]
     via FE80::C801:DFF:FE58:6, FastEthernet0/1
L   FF00::/8 [0/0]
     via Null0, receive

Dapat kita lihat di atas bahwa belum ada tipe routing external yang masuk ke dalam routing tabel, Ok sekarang kita akan masukin routing table dari luar dengan cara redistribution pada kedua titik (Eigrp dan OSPF)

Pertama sekali kita harus buat route-mapnya dulu, hal ini penting agar kita dapat melakukan tagging kepada tabel yang masuk dan keluar dari tabel. Tujuan tagging disini adalah untuk melakukan tanda kepada entri tabel sehingga dapat dikenali. Jika entri sudah di tag kita dapat dengan mudah  melakukan blok kepada entri tersebut agar tidak masuk kembali ke dalam tabel routingan sehingga potensi untuk looping dapat dicegah.

 

Perintah untuk buat route map pada R3 dan R4

R3

R3(config)#route-map EIGRPtoOSPF deny 10
R3(config-route-map)#match tag 120
R3(config-route-map)#exit
R3(config)#route-map EIGRPtoOSPF permit 20
R3(config-route-map)#set tag 90
R3(config-route-map)#route-map OSPFtoEIGRP deny 10
R3(config-route-map)#match tag 90
R3(config-route-map)#route-map OSPFtoEIGRP permit 20
R3(config-route-map)#set tag 120
R3(config-route-map)#exit
R3(config-rtr)#redistribute ospf 1 metric 1 1 1 1 1 route-map 
OSPFtoEIGRP include-connected
R3(config-rtr)#redistribute eigrp 1 metric 20 route-map 
EIGRPtoOSPF include-connected

 

R4

R4(config)#route-map EIGRPtoOSPF deny 10
R4(config-route-map)#match tag 120
R4(config-route-map)#exit
R4(config)#route-map EIGRPtoOSPF permit 20
R4(config-route-map)#set tag 90
R4(config-route-map)#route-map OSPFtoEIGRP deny 10
R4(config-route-map)#match tag 90
R4(config-route-map)#route-map OSPFtoEIGRP permit 20
R4(config-route-map)#set tag 120
R4(config-route-map)#exit
R4(config-rtr)#redistribute ospf 1 metric 1 1 1 1 1 route-map 
OSPFtoEIGRP include-connected
R4(config-rtr)#redistribute eigrp 1 metric 20 route-map 
EIGRPtoOSPF include-connected

 

Kita cek sekali lagi untuk R1 apakah entrinya sudah masuk

R1#sh ipv6 route
IPv6 Routing Table - Default - 15 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
D   2::2/128 [90/156160]
     via FE80::C803:12FF:FE1C:8, FastEthernet0/0
D   3::3/128 [90/156160]
     via FE80::C805:13FF:FEF4:8, FastEthernet0/1
EX  4::4/128 [170/2560005376], tag 120
     via FE80::C803:12FF:FE1C:8, FastEthernet0/0
EX  5::5/128 [170/2560005376], tag 120
     via FE80::C803:12FF:FE1C:8, FastEthernet0/0
EX  6::6/128 [170/2560005376], tag 120
     via FE80::C803:12FF:FE1C:8, FastEthernet0/0
C   12::/64 [0/0]
     via FastEthernet0/0, directly connected
L   12::1/128 [0/0]
     via FastEthernet0/0, receive
C   13::/64 [0/0]
     via FastEthernet0/1, directly connected
L   13::1/128 [0/0]
     via FastEthernet0/1, receive
D   24::/64 [90/30720]
     via FE80::C803:12FF:FE1C:8, FastEthernet0/0
D   35::/64 [90/30720]
     via FE80::C805:13FF:FEF4:8, FastEthernet0/1
EX  46::/64 [170/2560005376], tag 120
     via FE80::C803:12FF:FE1C:8, FastEthernet0/0
EX  56::/64 [170/2560005376], tag 120
     via FE80::C803:12FF:FE1C:8, FastEthernet0/0
L   FF00::/8 [0/0]
     via Null0, receive

 

Terlihat bahwa entri luar sudah masuk, ditandai dengan EX (external), cek lagi untuk detail 1 routing entri dengan perintah

#sh ipv6 route 6::6/128

R1#sh ipv6 route 6::6/128
Routing entry for 6::6/128
  Known via "eigrp 1", distance 170, metric 2560005376
  Tag 120, type external
  Route count is 1/1, share count 0
  Routing paths:
    FE80::C803:12FF:FE1C:8, FastEthernet0/0
      Last updated 00:36:15 ago

Pada R6 juga kita cek,

R6#sh ipv6 route 1::1/128
Routing entry for 1::1/128
  Known via "ospf 1", distance 110, metric 20
  Tag 90, type extern 2
  Route count is 1/1, share count 0
  Routing paths:
    FE80::C804:13FF:FEF4:6, FastEthernet0/1
      Last updated 00:37:12 ago

Seperti terlihat pada kata-kata yang di bold bahwa entri yang masuk sudah ditandai dengan tag 120 dan 90. Tag 120 menandakan bahwa network tersebut berasal dari OSPF dan sudah dilakukan aturan agar network tersebut tidak masuk kembali ke dalam routing OSPF, dan hal ini juga berlaku untuk tag 90 yang berasal dari network EIGRP. Hal ini dilakukan untuk mencegah terjadinya looping.

Written by virusccie

December 8, 2011 at 8:38 pm

Posted in EIGRP, IPv6, OSPF

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: