Jumat, 23 Februari 2018

konfigurasi dinamik OSPF



KONFIGURASI DINAMIK OSPF


Assalamualaikum.wr.wbSalam Sejahtera untuk anda semua.disini saya akan mejelaskan cara mengkonfigurasi cisco OSPF. semoga bermanfaat buat anda yang membacanya :)


Berikut di bawah ini langkah-langkahnya!

1. Buka aplikasi cisco,lalu buat toplogi cisco seerti di bawah ini!


2. Lalu pilih router 1, berikan ip addres, nama dan di setiap interface pada router 1.

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int f0/0
R1(config-if)#ip add 12.12.12.1 255.255.255.0
R1(config-if)#ex
R1(config)#no sh

3. Kemudian anda ke router 2, ip adress , nama dan di setiap interface pada router 2.

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#int f0/0
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#sh
R2(config-if)#no sh

R2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R2(config-if)#ex
R2(config)#int f1/0
R2(config-if)#ip add 23.23.23.1 255.255.255.255
Bad mask /32 for address 23.23.23.1
R2(config-if)#ip add 23.23.23.1 255.255.255.0
R2(config-if)#no sh


4.kemudian ke router 3,ip addres nama dan di setiap interface pada router 3.

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R3
R3(config)#int f1/0
R3(config-if)#ip add 23.23.23.2 255.255.255.0
R3(config-if)#no sh

R3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

R3(config-if)#ex
R3(config)#int f0/0
R3(config-if)#ip add 24.24.24.1 255.255.255.0
R3(config-if)#no sh

R3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

R3(config-if)#ex
R3(config)#int f2/0

R3(config-if)#ip add 35.35.35.1 255.255.255.0

5.kemudian ke router 4,ip addres, netmask ,nama dan di setiap interface pada router 4.

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R4
R4(config)#int f0/0
R4(config-if)#ip add 24.24.24.2 255.255.255.0
R4(config-if)#no sh

R4(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R4(config-if)#ex
R4(config)#int f1/0
R4(config-if)#ip add 45.45.45.1 255.255.255.0

R4(config-if)#no sh

6. Lalu ke router 5,ip add, netmask,nama dan di setiap interface pada router 5
Router(config)#hostname R5
R5(config)#int f2/0
R5(config-if)#ip add 35.35.35.2 255.255.255.0
R5(config-if)#no sh

R5(config-if)#
%LINK-5-CHANGED: Interface FastEthernet2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet2/0, changed state to up

R5(config-if)#ex
R5(config)#int f1/0
R5(config-if)#ip add 45.45.45.2 255.255.255.0
R5(config-if)#no sh

R5(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

R5(config-if)#ex
R5(config)#int f0/0
R5(config-if)#ip add 56.56.56.1 255.255.255.0
R5(config-if)#no sh


7. Kemudian router 6, ip addres , netmask, nama dan di setiap interface pada router 6.

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R6
R6(config)#int f0/0
R6(config-if)#ip add 56.56.56.2 255.255.255.0
R6(config-if)#no sh

R6(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R6(config-if)#ex
R6(config)#int f1/0
R6(config-if)#ip add 67.67.67.1 255.255.255.0
R6(config-if)#no sh


8. Terakhir router 7, ip address, netmask, nama dan di setiap interface pada router 7.

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R7
R7(config)#int f1/0
R7(config-if)#ip add 67.67.67.2 255.255.255.0

R7(config-if)#no sh

9. Kemudian kita melakukan loopback pada setiap router 1 sampai 6 dibawah ini namun di bedakan ip adress seperti router 1 menjadi (1.1.1.1) dan di setiap router seperti router 1.dan di bawah ini contohnya

10.Setelah kita melakukan loopback,kemudian kita melakukan router ospf pada setiap router. saya akan memberikan contohnya seperti di bawah ini!
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router ospf 5
R1(config-router)#net 12.12.12.0 0.0.0.255 area 1
R1(config-router)#net 1.1.1.1 0.0.0.0 area 1

R1(config-router)#

11. Setelah selesai kita melakukan semuanya kita melakukan ping ke router 1 ke router 3 dan lakukan sebaliknya pada setiap router.

Terima Kasih.

Tidak ada komentar:

Posting Komentar

Konfigurasi HAProxy di debian 8.11

Assalamualaikum WR.WB. Load Balancing adalah teknik untuk mendistribusikan beban trafik pada dua atau lebih jalur koneksi secara ...