Skip to main content

EIGRP default rotue

More
14 years 11 months ago #33213 by kchong_14
Hi,

I have read about setting the default route for EIGRP.
And if I am not mistaken, there are 3 ways you can do that.

1 using the ip default-gateway command
2 using the ip default-network command
3 using the ip route command

I don't really understand when to use which default route command.
What are differences and the benefit of using one over the other?

Thanks,

Kenneth Chong
More
14 years 11 months ago #33214 by FlipRich
Replied by FlipRich on topic Re: EIGRP default rotue
ip default-gateway command is used to route a switch to a router (or some type of layer 3 device).

you can use the ip route command to create a default route for a router but it will only be used by that device which you configured it for.

ip default-network is used to configure a default route to propagate, via a routing protocol, to multiple routers.

Rich
Network Engineer /CCNP, CCNA-S
Tallahassee, FL
More
14 years 11 months ago #33216 by kchong_14
Replied by kchong_14 on topic Re: EIGRP default rotue
What do u mean by to route a switch to a router?

Kenneth Chong
More
14 years 11 months ago #33217 by FlipRich
Replied by FlipRich on topic Re: EIGRP default rotue
If a frame is sent to the switch and the destination MAC address isnt on the local subnet, the frame gets forwarded to the "default gateway" (which is the router) and the router handles it from there.

Rich
Network Engineer /CCNP, CCNA-S
Tallahassee, FL
More
14 years 11 months ago #33219 by S0lo
Replied by S0lo on topic Re: EIGRP default rotue

What do u mean by to route a switch to a router?


Just like the way you would set a gateway to a PC. When a switch has an IP (like Vlan1 IP). It needs a gateway to reach out of the local subnet.

For ip route yes by default the route will be only on the device. But you can make it propagate to other routers as well by redistributing it or using the default-information originate command. But there are further details to this, If you haven't seen it yet, check this:

www.cisco.com/en/US/tech/tk365/technolog...4374.shtml#ipnetwork

Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
More
14 years 11 months ago #33273 by kchong_14
Replied by kchong_14 on topic Re: EIGRP default rotue
Hey guys,

I have read this in cisco:

Gateways of last resort selected using the ip default-network command are propagated differently depending on which routing protocol is propagating the default route. For IGRP and EIGRP to propagate the route, the network specified by the ip default-network command must be known to IGRP or EIGRP. This means the network must be an IGRP- or EIGRP-derived network in the routing table, or the static route used to generate the route to the network must be redistributed into IGRP or EIGRP, or advertised into these protocols using the network command..

I understand most of the part,only the last part where it says about static route must be redistirbuted or advertised with network command, I dont really understand what that means, and how it should be done.

Thanks alot!!

KC

Kenneth Chong
Time to create page: 0.137 seconds