static router setting are as follows:
- first, create the framework of the network as shown below.
- red wire using DCE cable
- black cable lines using the Cross-over type cable
- then, setting ip PC0, PC1, PC2, PC3 and PC4
- PC0 :
- PC1 :
- PC2 :
- PC3 :
- then setting the router ip with CLI facility
- Router 0 :
- Router > enable
- Router#conf t
- Router(config)#interface serial2/0
- Router(config-if)#ip address 10.20.1.1 255.255.255.252
- Router(config-if)#no shutdown
- Router(config-if)#clock rate 9600
- Router(config-if)#exit
- Router(config)#interface fasethernet 0/0
- Router(config-if)#ip address 192.168.2.1 255.255.255.224
- Router(config-if)#no shutdown
- Router(config-if)#exit
- Router(config)#interface serial3/0
- Router(config-if)#ip address 10.10.1.1 255.255.255.252
- Router(config-if)#no shutdown
- Router(config-if)#clock rate 9600
- Router(config-if)#exit
- Router 1 :
- Router > enable
- Router#conf t
- Router(config)#interface fa0/0
- Router(config-if)#ip address 192.168.1.1 255.255.255.224
- Router(config-if)#no shutdown
- Router(config-if)#exit
- Router(config)#interface serial2/0
- Router(config-if)#ip address 10.20.1.2 255.255.255.224
- Router(config-if)#no shutdown
- Router(config-if)#clock rate 9600
- Router(config-if)#exit
- Router(config)#interface serial3/0
- Router(config-if)#ip address 10.15.1.1 255.255.255.252
- Router(config-if)#no shutdown
- Router(config-if)#clock rate 9600
- Router(config-if)#exit
- Router 2 :
- Router > enable
- Router#conf t
- Router(config)#interface serial2/0
- Router(config-if)#ip address 10.10.1.2 255.255.255.252
- Router(config-if)#no shutdown
- Router(config-if)#exit
- Router(config)#interface fa0/0
- Router(config-if)#ip address 10.10.1.2 255.255.255.252
- Router(config-if)#no shutdown
- Router(config-if)#clock rate 9600
- Router(config-if)#exit
- Router(config)#interface fa1/0
- Router(config-if)#ip address 192.168.3.1 255.255.255.224
- Router(config-if)#no shutdown
- Router(config-if)#clock rate 9600
- Router(config-if)#exit
- Router 3 :
- Router > enable
- Router#conf t
- Router(config)#interface serial2/0
- Router(config-if)#ip address 10.15.1.2 255.255.255.252
- Router(config-if)#no shutdown
- Router(config-if)#clock rate 9600
- Router(config-if)#exit
- Router(config)#interface fasethernet 0/0
- Router(config-if)#ip address 10.10.10.2 255.255.255.252
- Router(config-if)#no shutdown
- Router(config-if)#exit
- Router(config)#interface fa1/0
- Router(config-if)#ip address 192.168.4.1 255.255.255.224
- Router(config-if)#no shutdown
- Router(config-if)#clock rate 9600
- Router(config-if)#exit
- Then, setting the OSPF routing protocol to each router :
- Using This Command :
- Router 0
- Router>enable
- Router#conf t
- Router(config)#no router rip
- Router(config)#router ospf 1
- Router(config-router)#network 192.168.2.0 0.0.0.31 area 0
- Router(config-router)#network 10.20.1.0 0.0.0.3 area 0
- Router(config-router)#network 10.10.1.0 0.0.0.3 area 0
- Router(config-router)#
- Router(config-router)#exit
- Router 1
- Router>enable
- Router#conf t
- Router(config)#no router rip
- Router(config)#route ospf 1
- Router(config-router)#network 192.168.1.0 0.0.0.31 area 0
- Router(config-router)#network 10.20.1.0 0.0.0.3 area 0
- Router(config-router)#network 10.15.1.0 0.0.0.3 area 0
- Router(config-router)#^Z
- Router#
- Router 2
- Router#conf t
- Router(config)#no router rip
- Router(config)#router ospf 1
- Router(config-router)# network 10.10.1.0 0.0.0.3 area 0
- Router(config-router)# network 10.10.1.0 0.0.0.3 area 0
- Router(config-router)# network 192.168.3.0 0.0.0.31 area 0
- Router(config-router)#^Z
- Router#
- Router 3
- Router>enable
- Router#conf t
- Router(config)#no route rip
- Router(config)#network 10.10.10.0 0.0.0.3
- Router(config)#router ospf 1
- Router(config-router)#network 10.10.10.0 0.0.0.3 area 0
- Router(config-router)#network 10.15.10.0 0.0.0.3 area 0
- Router(config-router)#network 192.168.4.0 0.0.0.31 area 0
- Router(config-router)#^Z
- Router#
- When finished, use the Trace route test
- If it worked, check using ping facility, if it is reply, it means that your OSPF works,
- GoodJob Friends! :D
For the Packet Tracer File, Download Here