Running EIGRP. I want to create a default route that is not propagated to other routers. It seems the "ip route" command is better suited for this task than the "ip default-network" command.
However, even when creating a static default route with the "ip route" command, the route is advertised as a candidate default route. Is there anyway of preventing this behavior short of using an acess list or route map?
Thanx!
Didn't find your answer? Ask the community — no account required.
E
Erik Tamminga
Hi,
Issue the command "no default-information out" in router eigrp mode.
The "ip default-network" command is not used in making routing decisions, it's used when the router is not configured for routing (for it's own network traffic).
Erik
V
Vincent C Jones
EIGRP by default does not advertise static routes. So you will need to remove the "redistribute static" command currently under "router eigrp xxx" or if the static default route is to an interface rather than an IP address, you would need to remove the "redistribute connected" command under "router eigrp xxx."
Warning: Since this will probably break other aspects of your configuration (otherwise the commands would not have been added in the first place), you may find that using either a "distribute-list out " command or route maps to filter the default route from your EIGRP advertisements will be necessary. Also be aware that unless you get pretty fancy, using route filters will also prevent you from forwarding a default route learned by EIGRP from another router, which may not be what you want either.
Good luck and have fun!
B
Barry Margolin
I don't think so. What's wrong with using distribute-list with an access list? The access list is trivial:
access-list 1 deny 0.0.0.0 access-list 1 permit any
E
Erik Tamminga
Hi,
Issue the command "no default-information out" in router eigrp mode.
The "ip default-network" command is not used in making routing decisions, it's used when the router is not configured for routing (for it's own network traffic).
Erik
E
Erik Tamminga
Hi,
Issue the command "no default-information out" in router eigrp mode.
The "ip default-network" command is not used in making routing decisions, it's used when the router is not configured for routing (for it's own network traffic).
Erik
I
Ivan Ostres
Erik,
"ip default-network" is used when router *IS* routing (has ip routing enabled).
formatting link
When router is *NOT* configured for routing, then you use "ip default- gateway" command.
formatting link
J
James Harris
Is that not the ip default-gateway command?
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.