OSPF
protocol configuration in cisco packet tracer
The OSPF (Open Shortest Path First)
protocol is one of a family of IP Routing protocols, and is an Interior Gateway
Protocol (IGP) for the Internet, used to distribute IP routing information
throughout a single Autonomous System (AS) in an IP network.
Fig 1:Ospf config
Procedure:
1.
Define the following topology in cisco
packet tracer.
2.
Assign IP addresses to the network
devices:
3 . configure router interfaces and
switch ports:
For
router 0:
Router(config)#int gig 0/1
Router(config-if)#ip add 10.0.0.2 255.0.0.0
Router(config-if)#no shut
Router(config)#interface Serial0/1/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Similarly for router 2 as per the
given iage below.
Opsf configuration step:
To configure
OSPF routing protocol on the above-mentioned topology, you need to perform the
following steps.
Router(config)#router
ospf <process id 1-65535>
Router(config-router)network
<network address> <wild card mask> area <0-4294967295>
1. Move on to Router1 and execute
the following commands to specify the OSPF network and area.
2. Router1(config)#router ospf 200
3. Router1(config-router)#network 10.0.0.0
0.255.255.255 area 0
4. Router1(config-router)#network
192.168.1.0 0.0.0.255 area 0.0.0.0
Router1(config-router)#exit
Similary for router 2 has to be done .

No comments:
Post a Comment