cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
930
Views
0
Helpful
6
Replies

default-information originate

bellocarico
Level 1
Level 1

{Internet}Gateway(192.168.1.1)-----(192.168.1.200)RIProuter 1(147.200.200.1)-----(147.200.200.2)RIProuter2

RIProuter1 is set with the default-information originate command

Can anybody explain me why, my RIProuter1 is redistributing correctly the default-gateway to RIProuter2 if I create a static mapping pointing to the exit interface (goint to Gateway)

ip route 0.0.0.0 0.0.0.0 ethernet 0 permanet

but it won't redistribute anything if I point my static route to the ip address of the gateway?

ip route 0.0.0.0 0.0.0.0 192.168.1.1 permanent

Regards

6 Replies 6

Richard Burts
Hall of Fame
Hall of Fame

From your description it seems like it should work, but apparently it does not work. Perhaps if you post the relevant configs we can find the issue.

From the symptoms you describe it sounds like RIPRouter1 may not believe that 192.168.1.1 is a connected subnet on interface Ethernet0. What subnet mask does the router have on that interface?

HTH

Rick

HTH

Rick

Harold Ritter
Spotlight
Spotlight

I don't see this behavior with 12.4 mainline. Can you tell me what version you are using and post the relevant configuration.

Thanks,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

There's nothing complicated here:

router rip

network 147.200.200.0

default-information originate

!

ip default-gateway 192.168.1.1

no ip http server

ip classless

ip route 0.0.0.0 0.0.0.0 Ethernet 0 permanent

Another thing I can tell you is that

- Gateway is a low level broadband router (Safecom)

- RIProuter1 is a 2511 running IOS image: c2500-is-l.123-18.bin

- RIProuter2 is a 1601R running IOS image:

c1600-bnr2sy-mz.123-18.bin"

The last last thing I've noticed is that:

on Gateway I've got a static port mapping the telnet port from Internet to the 2511 (so I can access this lab from Internet).

However, using the

ip route 0.0.0.0 0.0.0.0 192.168.1.1 permanent

works fine, where using

ip route 0.0.0.0 0.0.0.0 Ethernet 0 permanent

doesn't!

(I can;t access the 2511 Internet)

Thanks to read!

Stefano

I am confused. Your original post stated that the static default route worked correctly when pointed to the outbound interface and not work correctly when pointed to the IP address of the next hop. Now this post says that using the address works but using the interface does not work. Please clarify what your problem is.

And please post the configuration - at least of the interfaces. It would also be helpful if you post the output of show ip route 192.168.1.1.

HTH

Rick

HTH

Rick

Rick, below you can find what confuse me!

If I map the default gateway using the outbound Interface it propagates 0.0.0.0 to RIProuter2, but the connection from Internet won't work.

Opposite,

If I map the default gateway using the gateway IP address, RIProuter2 doesn't receive the 0.0.0.0 but I can access the RIProuter1 from Internet.

I don't have the full config with me right now, but I promise I'll post it as soon as I can.

Regards

I've sorted the problem removing all the unnecessary commands on RIProuter1.

You know, working on a lab, ofter the routers are plenty of old configs...

Anyway, just to understand could have been the loopback command that was set on the ethernet interface on RIProuter1 (connecting RIProuter1 to Gateway)?

I've never seen such command before, what does it do actually?