RE: EIGRP Gateway of last resort

From: Keith Barker <kbarker_at_ine.com>
Date: Sat, 1 May 2010 18:09:46 -0700

Hey JK-

You need to add a static route that says:

"ip route 3.0.0.0 255.0.0.0 3.3.3.0"

That will fix the recursion failure, and allow the router to reach the
3.0.0.0 network.

You also could have just used the default-network of 3.3.3.0, and it would
have created the static route for you.

Example below, if desired.

Best wishes,

Keith

R22(config)#do show ip route

Gateway of last resort is not set

     1.0.0.0/24 is subnetted, 1 subnets

D 1.1.1.0 [90/435200] via 10.22.0.2, 00:00:17, FastEthernet0/1

     2.0.0.0/24 is subnetted, 1 subnets

D 2.2.2.0 [90/409600] via 10.22.0.2, 00:00:17, FastEthernet0/1

     22.0.0.0/24 is subnetted, 1 subnets

C 22.22.22.0 is directly connected, Loopback0

     10.0.0.0/24 is subnetted, 2 subnets

C 10.22.0.0 is directly connected, FastEthernet0/1

D 10.234.0.0 [90/307200] via 10.22.0.2, 00:00:17, FastEthernet0/1

R22(config)#ip default-network 1.0.0.0

! Note: no default route in table yet, but 1.0.0.0 is a candidate (like
Jack and Hurley)

00:01:46: RT: 1.0.0.0 is now exterior

R22(config)#do show ip route

Gateway of last resort is not set

 * 1.0.0.0/24 is subnetted, 1 subnets

D 1.1.1.0 [90/435200] via 10.22.0.2, 00:00:42, FastEthernet0/1

     2.0.0.0/24 is subnetted, 1 subnets

D 2.2.2.0 [90/409600] via 10.22.0.2, 00:00:42, FastEthernet0/1

     22.0.0.0/24 is subnetted, 1 subnets

C 22.22.22.0 is directly connected, Loopback0

     10.0.0.0/24 is subnetted, 2 subnets

C 10.22.0.0 is directly connected, FastEthernet0/1

D 10.234.0.0 [90/307200] via 10.22.0.2, 00:00:42, FastEthernet0/1

! Note: Now by adding the route for 1.0.0.0 via network 1.1.1.0, the
candidate of 1.0.0.0
! is reachable, and installed as the default route.

R22(config)#ip route 1.0.0.0 255.0.0.0 1.1.1.0

00:02:23: RT: network 1.0.0.0 is now variably masked

00:02:23: RT: add 1.0.0.0/8 via 1.1.1.0, static metric [1/0]

00:02:23: RT: NET-RED 1.0.0.0/8

R22(config)#

00:02:28: RT: 1.0.0.0 is now exterior

00:02:28: RT: default path is now 1.0.0.0 via 1.1.1.0

00:02:28: RT: new default network 1.0.0.0

00:02:28: RT: NET-RED 1.0.0.0/8

R22(config)#do show ip route

Gateway of last resort is 1.1.1.0 to network 1.0.0.0

 * 1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

D 1.1.1.0/24 [90/435200] via 10.22.0.2, 00:01:25, FastEthernet0/1

S* 1.0.0.0/8 [1/0] via 1.1.1.0

     2.0.0.0/24 is subnetted, 1 subnets

D 2.2.2.0 [90/409600] via 10.22.0.2, 00:01:25, FastEthernet0/1

     22.0.0.0/24 is subnetted, 1 subnets

C 22.22.22.0 is directly connected, Loopback0

     10.0.0.0/24 is subnetted, 2 subnets

C 10.22.0.0 is directly connected, FastEthernet0/1

D 10.234.0.0 [90/307200] via 10.22.0.2, 00:01:25, FastEthernet0/1

R22(config)#

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of just
kennie
Sent: Saturday, May 01, 2010 7:23 AM
To: Cisco certification
Subject: EIGRP Gateway of last resort

#sh ip route

Gateway of last resort is not set

     3.0.0.0/24 is subnetted, 1 subnets
D 3.3.3.0 [90/409600] via 172.16.34.3, 00:18:07, FastEthernet0/0
     172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
D 172.16.140.0/24
           [90/409600] via 172.16.34.40, 00:40:13, FastEthernet0/0
C 172.16.40.0/24 is directly connected, Loopback40
C 172.16.34.0/25 is directly connected, FastEthernet0/0

then I applied the command below_____

R4(config)#ip default-network 3.0.0.0

But got this and no gateway of last resort set____

R4(config)#do sh ip ro

Gateway of last resort is not set

 * 3.0.0.0/24 is subnetted, 1 subnets
D 3.3.3.0 [90/409600] via 172.16.34.3, 00:20:26, FastEthernet0/0
     172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
D 172.16.140.0/24
           [90/409600] via 172.16.34.40, 00:42:33, FastEthernet0/0
C 172.16.40.0/24 is directly connected, Loopback40
C 172.16.34.0/25 is directly connected, FastEthernet0/0

My ios ver is... Cisco IOS Software, 3700 Software
(C3725-ADVENTERPRISEK9-M), Version 12.4(15)T5.

 I'm I getting something wrong here, please help out !

Blogs and organic groups at http://www.ccie.net
Received on Sat May 01 2010 - 18:09:46 ART

This archive was generated by hypermail 2.2.0 : Tue Jun 01 2010 - 07:09:52 ART