Eigrp Default Route - Hub and Spoke

Unanswered Question
Oct 30th, 2007
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 1 (1 ratings)
Loading.
Collin Clark Tue, 10/30/2007 - 07:18
User Badges:
  • Purple, 4500 points or more

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.

vuralsanal Tue, 10/30/2007 - 07:23
User Badges:

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

Collin Clark Tue, 10/30/2007 - 07:30
User Badges:
  • Purple, 4500 points or more

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.

vuralsanal Tue, 10/30/2007 - 07:36
User Badges:

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

Collin Clark Tue, 10/30/2007 - 07:41
User Badges:
  • Purple, 4500 points or more

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.

vuralsanal Tue, 10/30/2007 - 07:45
User Badges:

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

Collin Clark Tue, 10/30/2007 - 07:51
User Badges:
  • Purple, 4500 points or more

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.


Collin Clark Tue, 10/30/2007 - 07:43
User Badges:
  • Purple, 4500 points or more

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.

Kevin Dorrell Tue, 10/30/2007 - 07:55
User Badges:
  • Green, 3000 points or more

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


vuralsanal Tue, 10/30/2007 - 08:07
User Badges:

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.

Collin Clark Tue, 10/30/2007 - 08:12
User Badges:
  • Purple, 4500 points or more

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.

Collin Clark Tue, 10/30/2007 - 08:31
User Badges:
  • Purple, 4500 points or more

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

Collin Clark Tue, 10/30/2007 - 08:35
User Badges:
  • Purple, 4500 points or more

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

vuralsanal Tue, 10/30/2007 - 08:39
User Badges:

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

Kevin Dorrell Tue, 10/30/2007 - 08:41
User Badges:
  • Green, 3000 points or more

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


Collin Clark Tue, 10/30/2007 - 08:48
User Badges:
  • Purple, 4500 points or more

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.

Collin Clark Tue, 10/30/2007 - 09:15
User Badges:
  • Purple, 4500 points or more

What do you mean that not enough?

vuralsanal Wed, 10/31/2007 - 03:04
User Badges:

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?

Kevin Dorrell Wed, 10/31/2007 - 03:32
User Badges:
  • Green, 3000 points or more

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


vuralsanal Wed, 10/31/2007 - 04:17
User Badges:

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.

Kevin Dorrell Wed, 10/31/2007 - 04:48
User Badges:
  • Green, 3000 points or more

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


Collin Clark Wed, 10/31/2007 - 06:13
User Badges:
  • Purple, 4500 points or more

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

vuralsanal Thu, 11/01/2007 - 00:53
User Badges:

This client of spoke router

[[email protected] ~]# 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


vuralsanal Thu, 11/01/2007 - 01:29
User Badges:

I solved it :)


router eigrp X

default-information in



Collin Clark Thu, 11/01/2007 - 06:17
User Badges:
  • Purple, 4500 points or more

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)?

Actions

This Discussion