Contoh topologi OSPF menggunakan cisco packet tracer
Contoh Topologi OSPF
Contoh gambar topologi
1. Konfigurasi Router 3 di CLI
Router>en
Router#conf t
Router(config)#hostname Router3
Router3(config)#int se2/0
Router3(config-if)#ip address 10.10.10.1 255.255.255.0
Router3(config-if#no sh
Router3(config-if)#ex
Router3(config)#int fastEthernet0/0
Router3(config-if)#ip address 192.168.10.1 255.255.255.0
Router3(config-if)#no sh
Router3(config-if)#ex
Router3(config)#int loopback 1
Router3(config-if)#ip address 172.16.1.1 255.255.255.0
Router3(config-if)#ex
Router3(config)#int loopback 2
Router3(config-if)#ip address 172.16.2.2 255.255.255.0
Router3(config-if)#ex
Router3(config)#ip dhcp pool router1
Router3(dhcp-config)#network 192.168.10.0 255.255.255.0
Router3(dhcp-config)#default-router 192.168.10.1
Router3(dhcp-config)#dns-server 8.8.8.8
Router3(dhcp-config)#ex
Router3(config)#ex
Router#
-konfigurasi OSPF di router 3
Router3#conf t
Router3(config)#router ospf 1
Router3(config-router)#network 10.10.10.0 0.0.0.255 area 0
Router3(config-router)#network 192.168.10.0 0.0.0.255 area 0
Router3(config-router)#network 172.16.1.0 0.0.0.255 area 0
Router3(config-router)#network 172.16.2.0 0.0.0.255 area 0
Router3(config-router)#ex
Router3(config)#ex
Router3#
2. Konfigurasi Router 4 di CLI
Router>en
Router#conf t
Router(config)#hostname Router4
Router4(config)#int se2/0
Router4(config-if)#ip address 10.10.10.2 255.255.255.0
Router4(config-if#no sh
Router4(config-if)#ex
Router4(config)#int fastEthernet0/0
Router4(config-if)#ip address 192.168.20.1 255.255.255.0
Router4(config-if)#no sh
Router4(config-if)#ex
Router4(config)#int loopback 3
Router4(config-if)#ip address 172.16.3.3 255.255.255.0
Router4(config-if)#ex
Router4(config)#int loopback 4
Router4(config-if)#ip address 172.16.4.4 255.255.255.0
Router4(config-if)#ex
Router4(config)#ip dhcp pool router2
Router4(dhcp-config)#network 192.168.20.0 255.255.255.0
Router4(dhcp-config)#default-router 192.168.20.1
Router4(dhcp-config)#dns-server 8.8.8.8
Router4(dhcp-config)#ex
Router4(config)#ex
Router#
-konfigurasi OSPF di router 4
Router4#conf t
Router4(config)#router ospf 1
Router4(config-router)#network 10.10.10.0 0.0.0.255 area 0
Router4(config-router)#network 192.168.20.0 0.0.0.255 area 0
Router4(config-router)#network 172.16.3.0 0.0.0.255 area 0
Router4(config-router)#network 172.16.4.0 0.0.0.255 area 0
Router4(config-router)#ex
Router4(config)#ex
Router4#
3. Konfigurasi ip address di PC
Semua PC dikonfigurasikan secara DHCP
Komentar
Posting Komentar