Home Home

 

Question #3: Redistributing between EIGRP and 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
 default-information originate
!
ip route 0.0.0.0 0.0.0.0 Null0

On BRANCH....

router eigrp 24
 redistribute ospf 1 metric 15000 250 255 1 1500
 network 192.168.0.0
 no auto-summary
!
router ospf 1
 redistribute eigrp 24 metric 30 metric-type 1
 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
 

On REMOTE...

router eigrp 24
 network 192.168.0.0
 network 192.168.3.0
 no auto-summary 
 

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 0.0.0.0 to network 0.0.0.0

     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/0
O       192.168.0.4 [110/845] via 192.168.0.2, 00:10:27, Serial0/0
O    192.168.2.0/24 [110/65] via 192.168.0.2, 00:10:27, Serial0/0
O E1 192.168.3.0/24 [110/94] via 192.168.0.2, 00:10:27, Serial0/0
S*   0.0.0.0/0 is directly connected, Null0

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

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
C    192.168.2.0/24 is directly connected, FastEthernet0
D    192.168.3.0/24 [90/20514560] via 192.168.0.6, 00:30:52, Serial1
O*E2 0.0.0.0/0 [110/1] via 192.168.0.1, 00:10:04, Serial0

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

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
D       192.168.0.0 [90/21024000] via 192.168.0.5, 00:12:20, Serial0
C       192.168.0.4 is directly connected, Serial0
D EX 192.168.2.0/24 [170/20576000] via 192.168.0.5, 00:30:16, Serial0
C    192.168.3.0/24 is directly connected, FastEthernet0
D*EX 0.0.0.0/0 [170/20576000] via 192.168.0.5, 00:09:28, Serial0

HQ configuration

BRANCH configuration

REMOTE configuration