OSPF basic configuration:-
R1
configure terminal
interface FastEthernet 0/0
ip address 10.0.0.1 255.0.0.0
no shutdown
interface FastEthernet 0/1
ip address 30.0.0.1 255.0.0.0
no shutdown
interface loopback 0
ip address 1.1.1.1 255.255.255.0
no shutdown
exit
router ospf 1
network 10.0.0.1 255.255.255.0 area 0
network 30.0.0.1 255.255.255.0 area 0
network 1.1.1.1 255.0.0.0 area 0
exit
exit
copy running-confign startup-config
R2
configure terminal
interface FastEthernet 0/0
ip address 10.0.0.2 255.0.0.0
no shutdown
interface FastEthernet 0/1
ip address 20.0.0.2 255.0.0.0
no shutdown
exit
router ospf 1
network 10.0.0.1 255.255.255.0 area 0
network 20.0.0.1 255.255.255.0 area 0
exit
exit
copy running-confign startup-config
R3
configure terminal
interface FastEthernet 0/0
ip address 40.0.0.3 255.0.0.0
no shutdown
interface FastEthernet 0/1
ip address 20.0.0.3 255.0.0.0
no shutdown
interface FastEthernet 1/0
ip address 50.0.0.3 255.0.0.0
no shutdown
exit
router ospf 1
network 40.0.0.1 255.255.255.0 area 0
network 20.0.0.1 255.255.255.0 area 0
network 50.0.0.1 255.255.255.0 area 1
exit
exit
copy running-confign startup-config
R6
configure terminal
interface FastEthernet 0/0
ip address 30.0.0.6 255.0.0.0
no shutdown
interface FastEthernet 0/1
ip address 40.0.0.6 255.0.0.0
no shutdown
exit
router ospf 1
network 30.0.0.1 255.255.255.0 area 0
network 40.0.0.1 255.255.255.0 area 0
copy running-confign startup-config
R4
configure terminal
interface FastEthernet 0/0
ip address 60.0.0.4 255.0.0.0
no shutdown
interface FastEthernet 0/1
ip address 50.0.0.4 255.0.0.0
no shutdown
exit
router ospf 1
network 50.0.0.1 255.255.255.0 area 1
network 60.0.0.1 255.255.255.0 area 1
exit
exit
copy running-confign startup-config
R5
configure terminal
interface FastEthernet 0/0
ip address 60.0.0.5 255.0.0.0
no shutdown
interface loopback 0
ip address 5.5.5.5. 255.255.255.0
no shutdown
exit
router ospf 1
network 60.0.0.1 255.255.255.0 area 1
exit
exit
copy running-confign startup-config
No comments:
Post a Comment