

NOTE: Wildcard mask is used when adding network addresses for OSPF. In the same way, after enabling OSPF Routing on Router R2, you can see that a neighbor is established between R1 and R2. Use the following commands to enable OSPF Routing on Cisco Routers to communicate the two segments to each other. The reason for the ping error is that no routing protocol is configured on the routers. Ping from PC2 to R1’s Serial0/0/0 interface and PC1.

Ping through R1 to Serial0/0/0 interface of R1 via PC1 will succeed, but ping to PC2 with IP address 192.168.10.10 in the other segment will fail. %LINK-5-CHANGED: Interface Serial0/0/1, changed state to upīefore enabling the routing protocol, Ping the segments to test the network connection. %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up %LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up R1(config-if)#ip address 10.1.1.1 255.255.255.252Ĭonfigure the interfaces of Cisco Router R2 in the same way. %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up Router#conf tĮnter configuration commands, one per line. Open the Cisco Router R1 CLI command prompt and configure the GigabitEthernet0/0 and Serial0/0/0 interfaces according to the IP blocks you specify.
