Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Eigrp Default Route - Hub and Spoke

Hi,

How Can I do "default route" under router eigrp command. I mean that how can stub router send unkown packet to hub router ?

because stub router connect internet via hub router.

Thank You

28 REPLIES

Re: Eigrp Default Route - Hub and Spoke

You can 'redistribute static' under EIGRP in your hub router. That will put the 0.0.0.0/0 route into EIGRP and pass to neighbors.

HTH and please rate.

New Member

Re: Eigrp Default Route - Hub and Spoke

But I dont want use any static parameter. Everthing must be dynamic. I cant find related to default route under router eigrp command.

not ip default-network and ip route

Re: Eigrp Default Route - Hub and Spoke

What do you mean by dynamic? In one of your devices you already have a static route pointing to the internet right? Just redistribute that into EIGRP. You remote routers will then have a default route learned via EIGRP.

New Member

Re: Eigrp Default Route - Hub and Spoke

I mean that just use eigrp, not static paremeter.

Hub and spoke can communicate each other. But how can spoke router know unknown packet (Internet). It must query to hub router. Because It just go to via hub router access internet.

thank you

Re: Eigrp Default Route - Hub and Spoke

The spoke looks at its local routing table. If the route for a certain prefix exists it goes that direction. If there is no SPECIFIC route in the routing table, it will use the default route. The spoke router does not query the hub router, however the spoke router will route traffic to the hub router (to get to the internet for example).

HTH and please rate.

New Member

Re: Eigrp Default Route - Hub and Spoke

How Can I do it? Which commands must be under router eigrp ?

Re: Eigrp Default Route - Hub and Spoke

ROUTER(config)# router eigrp 1

ROUTER(config-router)# redistribute static

This will redistribute all static routes you have on the this router. If you need to prevent some static routers from being redistributed into EIGRP, you can use a route-map.

HTH and please rate.

Re: Eigrp Default Route - Hub and Spoke

The spoke looks at its local routing table. If the route for a certain prefix exists it goes that direction. If there is no SPECIFIC route in the routing table, it will use the default route. The spoke router does not query the hub router, however the spoke router will route traffic to the hub router (to get to the internet for example).

HTH and please rate.

Re: Eigrp Default Route - Hub and Spoke

Do you have a default route in your hub router? Where does it come from? If it already in EIGRP, then you are home and dry. If it comes from another protocol, RIP for example, then redistribute it into EIGRP.

Otherwise you will have to create one as a static and re-distribute it into EIGRP. In any case, these default routes have to go somewhere once they get into the hub.

Kevin Dorrell

Luxembourg

New Member

Re: Eigrp Default Route - Hub and Spoke

all of previous configuration are static. yes, I have it. I wanna use eigrp. all of paremeter must be under eigrp. not redistribute, default-network, default-gateway.

I cant find about it on cisco site.

Re: Eigrp Default Route - Hub and Spoke

You are using EIGRP. You can't have all the internet routes in EIGRP so you use the default route. To get the default route into EIGRP, you redistribute your static route pointing to the internet into EIGRP.

New Member

Re: Eigrp Default Route - Hub and Spoke

yes, that's right

I attached it. how can i configure in hub router?

Re: Eigrp Default Route - Hub and Spoke

Thanks for the diagram. Does the DSL-R run EIGRP? Is that a router or something like a DSL modem?

New Member

Re: Eigrp Default Route - Hub and Spoke

No, Dsl doesnt run eigrp. Just Hub and spokes

Re: Eigrp Default Route - Hub and Spoke

OK, so on router A you have a router that looks something like this?

ip route 0.0.0.0 0.0.0.0 10.0.0.1

New Member

Re: Eigrp Default Route - Hub and Spoke

I know it. But...How Can Router A announce to spokes about Internet. Because spokes connect to internet via hub router

Re: Eigrp Default Route - Hub and Spoke

So .. Router A will have to tell EIGRP about its Internet route - in other words redistribution. Why is that a problem?

It would still be dynamic. If 10.0.0.1 disappeared, then so would the default route disappear from the spokes.

Kevin Dorrell

Luxembourg

Re: Eigrp Default Route - Hub and Spoke

The only way it can announce the routes to the spokes is via a routing protocol. If you want to use a routing protocol (EIGRP) you put the 0.0.0.0 0.0.0.0 static route on router A into EIGRP. You do that via redistribution, it's the best way. What the spokes see in their routing table is a 0.0.0.0 0.0.0.0 route pointing to the hub router.

New Member

Re: Eigrp Default Route - Hub and Spoke

but It is not enough..

Re: Eigrp Default Route - Hub and Spoke

What do you mean that not enough?

New Member

Re: Eigrp Default Route - Hub and Spoke

Router A set default-network and ip route to Internet...But How RouterA send to spokes default route information.Is it enough add redistribute static?

Re: Eigrp Default Route - Hub and Spoke

If your hub has a default route to the Internet and it is a static, and you do a redistribute static, then all the spokes will see the default route automatically. That is the way it is done in EIGRP.

If you have any other statics in the hub, then they will get distributed too.

The spoke-to-spoke routes, will get advertised in the normal way through EIGRP.

Kevin Dorrell

Luxembourg

New Member

Re: Eigrp Default Route - Hub and Spoke

Yes, I added it. Spoke router see like D*EX 0.0.0.0/0 [170/2195456] via 192.168.1.1, 00:40:20, Serial0.

But Spoke router cant access via hub router to internet.

Re: Eigrp Default Route - Hub and Spoke

That is probably something to do with the address translation. The Internet has never heard of the addresses of your spoke routers or anything attached to them. If they are private addresses link in your diagram (192.168.1.0/24, it never will.

So you be translating those addresses into something that the Internet does understand, such as the address of your Internet link. This will be done in your DSL router. Does the DSL router know about 192.168.1.0/24?

Can you supply details of your Network Address Translation scheme so that we can sort it out.

Kevin Dorrell

Luxembourg

Re: Eigrp Default Route - Hub and Spoke

From the spoke network (not the router) can you do a traceroute to an IP on the internet and post the results?

New Member

Re: Eigrp Default Route - Hub and Spoke

This client of spoke router

[root@root ~]# traceroute 74.125.19.103

traceroute to 74.125.19.103 (74.125.19.103), 30 hops max, 40 byte packets

1 (192.168.100.1) 12.316 ms 17.531 ms 19.804 ms

2 (192.168.1.1) 8.037 ms 10.671 ms 15.510 ms

3 (10.0.0.1) 21.738 ms 22.692 ms 23.517 ms

4 (10.0.0.170) 9.461 ms 11.541 ms 14.732 ms

10.0.0.1 DNS

10.0.0.170 Internet Router

New Member

Re: Eigrp Default Route - Hub and Spoke

I solved it :)

router eigrp X

default-information in

Re: Eigrp Default Route - Hub and Spoke

Glad to hear its fixed. I looked up that command since I was not familiar with it. What routing protocol are you using for internet connectivity (just curious)?

695
Views
1
Helpful
28
Replies
CreatePlease to create content