You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuring OSPF (Open Shortest Path First) on a Cisco Router
To configure a router with IP addresses on two interfaces—one connected to a switch (SW1) and another connected to a second router (R2)—follow these steps:
To configure a router with IP addresses on two interfaces—one connected to a switch (SW2) and another connected to a second router (R1)—follow these steps:
To configure a router with IP addresses on two interfaces—one connected to a switch (SW1) and another connected to a second router (R2)—follow these steps:
Now I am attempting to ping PC4 to check if it is reachable.
It is unreachable because the devices are on different subnets, and no routing protocol has been configured. I am now setting up the OSPF protocol to enable communication between PC4 and PC5.
Now I am configuring and enabling OSPF to allow communication between both subnets.
First, access global configuration mode on your router. Then, activate OSPF routing by entering OSPF configuration mode and assigning a locally significant process ID. Next, define the networks that will participate in OSPF by specifying them with wildcard masks, and assign each network to a specific OSPF area. Finally, configure a unique router ID for this OSPF instance to identify the router within the OSPF domain.
To check for OSPF neighbors on your router, use the command:
Now I will configure OSPF on Router R2 to establish communication across the entire network.
To check for OSPF neighbors on your router, use the command:
Ping PC5 from PC4 to verify if they can reach each other.
Go to the other subnet and ping from PC4 to PC5 to check if they can reach each other.
The project, which involved configuring OSPF, was completed successfully.