Solved

EIGRP Default Networks V.S. Static Default Gateway

Posted on 2006-06-15
7
1,660 Views
Last Modified: 2008-01-09
I am not getting something here and I hope you can help me...

Static routing:
Default network - ROuter says if I dont know where to send you i send you to this SPECIFIC ROUTER interface, soo...
ip route 0.0.0.0 0.0.0.0 192.168.1.1  says "send it all to 192.168.1.1" if I dont know where to go.  
That makes PERFECT sense to me....

EIGRP

ip default-network 192.168.1.0  
How the heck does it know which router on this network to send it to?  Is it selecting the first network route in the list, and using the router specifed there?
i.e. if i have two routes : IP ROute 192.168.1.0 255.255.255.120 192.168.1.1
                                     IP route 192.168.1.0 255.255.255.120 192.168.1.254
So in this case  it could select either depending  on whats avilable etc??

So if I have a network righ now that is, let's say:
IP route 0.0.0.0 0.0.0.0 10.0.0.1  (class A just for fun)
Now it would be:
ip default network 10.0.0.0.0 255.255.255.0


I think what really confuses me is where to put the default network statment. In other words you put a static Default route on every router.  Do I just need to put this on one router and all the others will pick it up?


0
Comment
Question by:neoponder
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 8

Expert Comment

by:Danny_Larouche
ID: 16916728
They may have different metrics, so the one with lowest metric will have precedence. If you have static routes mixed with dynamic routes, static ones always have lower metric value.

default=0.0.0.0
Routers within your network doesnt need a default route, but the one acting as internet gateway does.



0
 

Expert Comment

by:nikhil_ahluwalia
ID: 16916919
the default static route are cofigured on the end routers of the network so actually you only have one gateway possible

in the dyanamic eigrp routing you don't give default route you only advertise the networks that are directly connected to the router and than it dyanamically fills the routing table with the routes to those networks which are directly attached to the other routers which also have eigrp configured

and again if their can be more than one path between two routers the path with lowest metric is given preference although you can enable path sharing if  you want in which case the traffic would flow from both the paths
0
 
LVL 4

Expert Comment

by:v_karthik
ID: 16916968
Read this carefully coz this the 'official' doc -
http://www.cisco.com/warp/public/105/default.html#ipnetwork

Now,
i.e. if i have two routes : IP ROute 192.168.1.0 255.255.255.120 192.168.1.1
                                     IP route 192.168.1.0 255.255.255.120 192.168.1.254
So in this case  it could select either depending  on whats avilable etc??


Usually if u have multiple routes, the one with the least metric is used. For a connected route, the metric is considered 0, so that its always picked. Static routes have 1 as the metric (someone correct me here if I'm wrong). So they are picked next. Apart from that, depending on what protocol u use, the metric is calculated based on different factors like bandwidth etc.  If more routes have exactly the same metric, the cisco routers can load balance between them. If I remember right, by default, 4 routes are load balanced. You can raise it up to 6 thru a command. Its not that the metric needs to be EXACTLY the same for load balancing to happen. You can set a 'variance', a factor that says, "if the difference in metric between 2 routes is less than a certain percentage, load balance between them".

0
Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
LVL 4

Author Comment

by:neoponder
ID: 16922065
But If I don't want to use static routes anywhere, or at least in a very limtied fashion, but I want all routers to have a default route so they can surf the net, How do that in EIGRP?

Right now I put a static default route on every router that says go "upstream" to the router that eventually ships it out to the the firewall.

How Do I get rid of those statics with EIGRP?

Here is my real world problem....
I need router A to fail over between the path to b and c, including the default route so that they get internet access....


sooo

          >------|RTRB|
RouterA                  |------ROuter D------->Firewall---------->Internet
          >------|RTRC|

So do I just need to put a "default network" statment in the router D?  right now routerD points to the firewall this way:  ip route 0.0.0.0 0.0.0.0 10.10.10.254  (meaning 10.10.10.254 is the firewall)


If I put "default network 10.10.10.0 255.255.255.0" in router D and remove statics everywhere, is that all i need?




0
 
LVL 8

Accepted Solution

by:
Danny_Larouche earned 500 total points
ID: 16922556
>If I put "default network 10.10.10.0 255.255.255.0" in router D and remove statics everywhere, is that all i need?
>

Yes, you have default route on the routerD if all routers are using dynamic routing and your DHCP server advertise the routerD as the default gateway.

Do not confuse "default route" and "default network". Default network is 0.0.0.0 with a mask of 0.0.0.0.  
0
 
LVL 4

Author Comment

by:neoponder
ID: 16923102
That is what I needed to know.  ON an intersting side note, router d is acutally a L3 3550 running EIGRP. I did the default network and it's working, accept all the sudden the switch is bogged down to the point where I cant barly get past the logon via telnet.

I did not expect that much of a performence hit.  
0
 
LVL 4

Author Comment

by:neoponder
ID: 16954614
I still can't get it to propogate the route to the route out.  Shows up on the rotuer D as *10.blah blah blah

Oh well. I will figure it out one of these days.

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question