why accept routes in bgp when you have default gateway from ISP?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
why accept routes in bgp when you have default gateway from ISP?
I am realtively new to BGP. I use BGP in my network to advertise my /20 subnet. What i would like to know is what is the point of accepting routes from your neighbouring AS(ISP)?
My ISP has given me a default gateway, and no matter what I want to reach on the internet I have to go through that default gateway, so why populate the routing table with soo many routes?
also, as i understand it, there are 3 kinds of routes that you can accept, those are full routes, directly connected routes and default routes. What is the diffrence between them and again how do they affect routing since my network only has the one default gateway?
Maybe I am totally unaware of the mechanics of BGP and am asking a stupid question, but any insight or links to url that will help me understand will be appreciated.
Last edited by saiyen2002; 04-07-2010 at 05:05 AM.
It's only useful if you have more than one Internet connection.
Full routes - an explicit route to every prefix advertised into the default free zone using BGP, it allows your router to choose the best route out of you network, but the router must be able to cope with a large (> 300,000 entries) route table.
Default routes - a default gateway is configured using BGP, the advantage over static configuration is that broken link or router is detected. Large route tables are not needed, but your router can't pick the best route.
Directly connected routes - I'm not sure, it could either refer to networks directly connected to yours, or to your ISP.
the advantage over static configuration is that broken link or router is detected.
can the problem of static route being broken be overcome by the use of administrative distance. If i set up 2 static routes of default gateways to 2 ISP and setup administrative distances, then if one route falls off the other will kick in?
Last edited by saiyen2002; 04-12-2010 at 04:41 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.