Awal mula kita buat sebuah jaringan, Seperti gambar di bawah..
Dengan menggunakan 3 buah Router, 3 Buah Swith dan 3 Buat PC..
Selanjutnya..
berikan IP Address pada setiap PC yang terhubung. Contoh sebagai berikut ..
1. Pemberian PC 1 dengan nama "PC TIGA"..
Selanjutnya, berikan IP Address pada setiap router yang terhubung. Sebagai contoh pengaturan IP di router adalah sebagai berikut :
Router 1
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.10.1 255.255.255.0
Router(config-if)#no shut
Router(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
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 172.16.1.1 255.255.0.0
Router(config-if)#band 125
Router(config-if)#cl ra 125000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Konfigurasi OSPF pada Router 1,
Router(config)#router ospf 8
Router(config-router)#net 192.168.10.1 255.255.255.0 area 0
Router(config-router)#net 172.16.1.1 255.255.0.0 area 0
Router(config-router)#log-adjacency
Router(config-router)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
Router#
Router 2
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.20.1 255.255.255.0
Router(config-if)#no shut
Router(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
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 172.16.2.1 255.255.0.0
Router(config-if)#band 125
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Router(config-if)#exit
Router(config)#int se3/0
Router(config-if)#ip add 10.10.1.1 255.0.0.0
Router(config-if)#band 125
Router(config-if)#cl ra 125000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial3/0, changed state to down
Router(config-if)#exit
Konfigurasi OSPF pada Router 2,
Router(config)#router ospf 8
Router(config-router)#net 192.168.20.1 255.255.255.0 area 0
Router(config-router)#net 172.16.2.1 255.255.0.0 area 0
Router(config-router)#net 10.10.1.1 255.0.0 area 1
Router(config-router)#log-adjacency
Router(config-router)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
Router#
Router 3
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.30.1 255.255.255.0
Router(config-if)#no shut
Router(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
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 10.10.2.1 255.0.0.0
Router(config-if)#band 125
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Konfigurasi OSPF pada Router 3,
Router(config)#router ospf 8
Router(config-router)#net 192.168.30.1 255.255.255.0 area 1
Router(config-router)#net 10.10.2.1 255.0.0.0 area 1
Router(config-router)#log-adjacency
Router(config-router)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
Router#
Setelah dikonfigurasi, coba di ping dari PC "SATU" ke PC "DUA" dan PC "TIGA" , jika berhasil maka konfigurasi anda SUKSES untuk ketiga protocol tersebut, seperti gambar di bawah..
Keliatannya cukup mudah ya, tapi mistis. cukup tutorial nya sampe disini.... Terima Kasih...
Dengan menggunakan 3 buah Router, 3 Buah Swith dan 3 Buat PC..
Selanjutnya..
berikan IP Address pada setiap PC yang terhubung. Contoh sebagai berikut ..
1. Pemberian PC 1 dengan nama "PC SATU"..
1. Pemberian PC 2 dengan nama "PC DUA"..
1. Pemberian PC 1 dengan nama "PC TIGA"..
Selanjutnya, berikan IP Address pada setiap router yang terhubung. Sebagai contoh pengaturan IP di router adalah sebagai berikut :
Router 1
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.10.1 255.255.255.0
Router(config-if)#no shut
Router(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
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 172.16.1.1 255.255.0.0
Router(config-if)#band 125
Router(config-if)#cl ra 125000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Konfigurasi OSPF pada Router 1,
Router(config)#router ospf 8
Router(config-router)#net 192.168.10.1 255.255.255.0 area 0
Router(config-router)#net 172.16.1.1 255.255.0.0 area 0
Router(config-router)#log-adjacency
Router(config-router)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
Router#
Router 2
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.20.1 255.255.255.0
Router(config-if)#no shut
Router(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
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 172.16.2.1 255.255.0.0
Router(config-if)#band 125
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Router(config-if)#exit
Router(config)#int se3/0
Router(config-if)#ip add 10.10.1.1 255.0.0.0
Router(config-if)#band 125
Router(config-if)#cl ra 125000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial3/0, changed state to down
Router(config-if)#exit
Konfigurasi OSPF pada Router 2,
Router(config)#router ospf 8
Router(config-router)#net 192.168.20.1 255.255.255.0 area 0
Router(config-router)#net 172.16.2.1 255.255.0.0 area 0
Router(config-router)#net 10.10.1.1 255.0.0 area 1
Router(config-router)#log-adjacency
Router(config-router)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
Router#
Router 3
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.30.1 255.255.255.0
Router(config-if)#no shut
Router(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
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 10.10.2.1 255.0.0.0
Router(config-if)#band 125
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Konfigurasi OSPF pada Router 3,
Router(config)#router ospf 8
Router(config-router)#net 192.168.30.1 255.255.255.0 area 1
Router(config-router)#net 10.10.2.1 255.0.0.0 area 1
Router(config-router)#log-adjacency
Router(config-router)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
Router#
Setelah dikonfigurasi, coba di ping dari PC "SATU" ke PC "DUA" dan PC "TIGA" , jika berhasil maka konfigurasi anda SUKSES untuk ketiga protocol tersebut, seperti gambar di bawah..
Keliatannya cukup mudah ya, tapi mistis. cukup tutorial nya sampe disini.... Terima Kasih...