OSPF - ROUTING #4

 

OSPF - ROUTING

Alat dan Bahan :

  • Laptop / PC
  • Cisco Packet Tracer
          Open Shortest Path First (OSPF) merupakan Routing Protocol yang masuk ke kategori interior Gateway Protocol

    Karakteristik Routing OSPF :

  • Sifat : Open Source
  • mekanisme pada OSPF R - 1 - R - 2 : Hello Protocol melalui Hello Packages
  • Distance : 110
  • Memproritaskan Sebuah Connection menggunakan : Cost
  • Unlimited Hop Count
  • Multicast IP : 224.0.0.5 (SPF) / 224.0.0.6 (DR)
  • Allows Scalability

Routing OSPF menggunakan cost untuk menentukan jalur terbaiknya.

RUMUS : Reference Bandwith / Bandwith (kbps)

Nilai default reference bandwith ialah 100000 kbps dan kemudian dibagi dengan bandwith berdasarkan interface yang dipakai pada Cisco Router.

Jenis – jenis interface pada Router Cisco :
  • Gigabyte Ethernet : 1000 Mbps 
  • Fast Ethernet : 100 Mbps
  • Ethernet : 10 Mbps

Perhatikan Topologi berikut :



Pertama yang harus dilakukan adalah konfigurasi pada IP Address pada setiap router :

KONFIGURASI IP ADDRESS :

Pada Router 0 : 
Gateway to R-1:

Router(config)#int fa 0/0 --> Enable Interface

Router(config-if)#ip address 10.10.10.1 255.255.255.0 --> IP Gateway

Router(config-if)#no shutdown


Client 

Router(config)#int fa 0/1 --> Enable Interface

Router(config-if)#ip address 192.168.10.1 255.255.255.0 --> IP Client

Router(config-if)#no shutdown



Pada Router 1 : 
Gateway to R-0 :

Router(config)#int fa 0/0 --> Enable Interface

Router(config-if)#ip address 10.10.10.2 255.255.255.0 --> IP Gateway to R-0

Router(config-if)#no shutdown


Gateway to R-2 :

Router(config)#int fa 0/1 --> Enable Interface

Router(config-if)#ip address 20.20.20.1 255.255.255.0 --> IP Gateway to R-2

Router(config-if)#no shutdown


Client :

Router(config)#int fa 1/0 --> Enable Interface

Router(config-if)#ip address 192.168.20.1 255.255.255.0 --> IP Client

Router(config-if)#no shutdown



Pada Router 2 : 

Gateway to R-2 :

Router(config)#int fa 0/1 --> Enable Interface

Router(config-if)#ip address 20.20.20.2 255.255.255.0 --> IP Gateway to R-1

Router(config-if)#no shutdown


Client :

Router(config)#int fa 1/0 --> Enable Interface

Router(config-if)#ip address 192.168.30.1 255.255.255.0 --> IP Client

Router(config-if)#no shutdown


    Pada Routing OSPF akan memasukan network yang terhubung pada router tersebut atau yang terdapat pada tabel routing, kemudian masukan wildcart mask.
Cara mencari Wildcart Mask :

WILDCART = SUBNET – 255.255.255.255

    Serta pada lab OSPF ini menggunakan satu area saja yaitu Area 0 / Backbone Area
    
Kemudian dilanjutkan untuk membuat konfigurasi routing OSPF pada setiap router :

KONFIGURASI OSPF :

Pada Router 0 : 

Router(config)#route ospf 5 --> Enable EIGRP (ASN Number harus sama setiap router)

Router(config-router)#network 10.10.10.0 0.0.0.255 area 0  --> Network to Gateway

Router(config-router)#network 192.168.10.0 0.0.0.255 area 0 --> Network to Client



Pada Router 1 : 

Router(config)#route ospf 5 --> Enable EIGRP (ASN Number harus sama setiap router)

Router(config-router)#network 10.10.10.0 0.0.0.255 area 0 --> Network to Gateway

Router(config-router)#network 20.20.20.0 0.0.0.255 area 0 --> Network to Gateway

Router(config-router)#network 192.168.20.0 0.0.0.255 area 0 --> Network to Client



Pada Router 2 : 

Router(config)#route ospf 5 --> Enable EIGRP (ASN Number harus sama setiap router)

Router(config-router)#network 20.20.20.0 0.0.0.255 area 0 --> Network to Gateway

Router(config-router)#network 192.168.30.0 0.0.0.255 area 0 --> Network to Client


 

    Konfigurasi pada routing dynamic OSPF pada tiap router sudah selesai, sekarang untuk melihat router tersebut connect pada routing dynamic OSPF dengan cara mengecheck pada routing table nya ;


CHECK ROUTING TABLE :


Router(config)#do show ip route

Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

       * - candidate default, U - per-user static route, o - ODR

       P - periodic downloaded static route


Gateway of last resort is not set


         10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C       10.10.10.0/24 is directly connected, FastEthernet0/0

L       10.10.10.1/32 is directly connected, FastEthernet0/0

         20.0.0.0/24 is subnetted, 1 subnets

    20.20.20.0/24 [110/2] via 10.10.10.2, 00:06:23, FastEthernet0/0

        192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks

C      192.168.10.0/24 is directly connected, FastEthernet0/1

L      192.168.10.1/32 is directly connected, FastEthernet0/1

O     192.168.20.0/24 [110/2] via 10.10.10.2, 00:07:01, FastEthernet0/0

O     192.168.30.0/24 [110/3] via 10.10.10.2, 00:05:53, FastEthernet0/0

Komentar

Postingan populer dari blog ini

EIGRP WITH DISTRIBUTE LIST - EIGRP #1

NAMED ACCESS LIST - ACESS LIST #5

WALLED GARDEN IP LIST - NETWORK MANAGEMENT MIKROTIK #11