Home Home

 

Question #1: Redistributing RIP routes into OSPF

Click on Routers below to see routing tables and configurations

Back

 

 

Step 1:

Configure all routers and bring up the interfaces.

Step 2:

Configure routing using the following commands:

On HQ...

router ospf 1
 network 192.168.0.0 0.0.0.3 area 0
 network 192.168.1.0 0.0.0.255 area 0

On BRANCH....

router ospf 1
 redistribute rip metric 30 metric-type 1 subnets
 network 192.168.0.0 0.0.0.3 area 0
 network 192.168.0.4 0.0.0.3 area 0
 network 192.168.2.0 0.0.0.255 area 0

router rip
 version 2
 network 192.168.0.0
 default-information originate

ip route 0.0.0.0 0.0.0.0 192.168.0.1

On REMOTE...

router rip
 version 2
 network 192.168.0.0
 network 192.168.3.0
 

Step 3:

Verify with show ip route and ping. Tables should look like the ones below. REMOTE should be able to ping the Simulated Internet Host at 2.0.0.1

HQ#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     2.0.0.0/32 is subnetted, 1 subnets
C       2.0.0.1 is directly connected, Loopback0
     192.168.0.0/30 is subnetted, 2 subnets
C       192.168.0.0 is directly connected, Serial0
O       192.168.0.4 [110/128] via 192.168.0.2, 01:18:36, Serial0
C    192.168.1.0/24 is directly connected, Ethernet0
O    192.168.2.0/24 [110/74] via 192.168.0.2, 01:18:36, Serial0
O E1 192.168.3.0/24 [110/94] via 192.168.0.2, 01:16:23, Serial0

-------------------------------------------------------------------------------

BRANCH#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is 192.168.0.1 to network 0.0.0.0

     192.168.0.0/30 is subnetted, 2 subnets
C       192.168.0.0 is directly connected, Serial0
C       192.168.0.4 is directly connected, Serial1
O    192.168.1.0/24 [110/74] via 192.168.0.1, 01:19:28, Serial0
C    192.168.2.0/24 is directly connected, Ethernet0
R    192.168.3.0/24 [120/1] via 192.168.0.6, 00:00:13, Serial1
S*   0.0.0.0/0 [1/0] via 192.168.0.1

-------------------------------------------------------------------------------

REMOTE#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is 192.168.0.5 to network 0.0.0.0

     192.168.0.0/30 is subnetted, 2 subnets
R       192.168.0.0 [120/1] via 192.168.0.5, 00:00:14, Serial0
C       192.168.0.4 is directly connected, Serial0
C    192.168.3.0/24 is directly connected, Ethernet0
R*   0.0.0.0/0 [120/1] via 192.168.0.5, 00:00:14, Serial0

HQ configuration

BRANCH configuration

REMOTE configuration