Show ip route command output R2#show ip routeĬ 10.1.1.0/30 is directly connected, Serial0/0/1 On R2, execute the command show ip route ospf 10 and show ip route. L 192.168.5.1/32 is directly connected, GigabitEthernet0/0 * - candidate default, U - per-user static route, o - ODRġ0.0.0.0/8 is variably subnetted, 2 subnets, 2 masksĬ 10.1.1.0/30 is directly connected, Serial0/0/0 I - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2Į1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP R1#Ĭodes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGPĭ - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area In addition, execute the show ip route command to see that the Routing protocol is identified by the letter O. R2(config-router)#network 192.168.10.0 0.0.0.255 area 0Įxecute the show ip route ospf 10 command on Router R1 and examine the routing table. 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. Also, add comments to the workspace by defining IP address blocks, assigning IP addresses to computers. Open Packet Tracer and create the topology as shown in the image below.