Solved

EIGRP Default Networks V.S. Static Default Gateway

Posted on 2006-06-15
7
1,647 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
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Join & Write a Comment

Before I go to far, let's explain HA (High Availability) and why you should consider it.  High availability is the mechanism used to provide redundancy to any service at the same site and appears as a single service to the users of that service.  As…
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now