08-28-2018 11:33 PM - edited 03-08-2019 04:01 PM
Hi ,
I would like to know pros and cons between static route vs BGP between ISP PE router and our customer edge CE routers.if we use our router are low bandwidth and lower hardware capacity (CPU ,RAM ,throughput).May i know Pros and cons
Solved! Go to Solution.
08-31-2018 07:26 AM
In most cases if you have multiple Internet links from one ISP, they will put their own routers in your DC. They will then run a First Hop Resolution Protocol (e.g. HSRP) so that you just need to set up a static default route pointing to their hand-off address. This is fine. Most small-medium companies would work this way. Let the ISP look after all of the complexity. You don't even need CE routers, your external firewall can be configured with the static default route pointing to the ISP's routers.
I have also seen a number of attempts to use BGP when it is not necessary. It often ends up with the techie buying a completely inappropriate router and wondering why it doesn't work. (aka CV polishing)
If you want ISP independence, or multiple independent links with some degree of load sharing (NB not load balancing), yes use BGP, but be aware of the size of router that you need to hold a full table. Consensus puts the table size as over 700k prefixes, so you are looking at an ASR1k or more, regardless of the bandwidth you have bought. I connected to one ISP last year that had 273k prefixes in the local AS alone! You also need to be aware of how your ISP(s) treat your route advertisement. Many of them will modify your advertisements (e.g. through summarisation if you have Provider Assigned addresses -PA- or other manipulation if you have Provider Independent -PI- addresses) that means your intended behaviour gets ignored or even reversed.
Finally, you have the headache of ensuring that your routers are fully hardened because they will be unprotected on the Internet and will undoubtedly be hit by every script-kiddie out there.
Generally, I would suggest that unless you have a good business need for running BGP (mainly due to resilience) don't bother.
I hope this helps. Please come back if you have further questions. If you do go for BGP, I wish you well, your first Internet-BGP installation is usually a lot of fun and a big learning experience.
Regards,
Dave
08-29-2018 02:53 AM
Hello,
Static routing is just that. In the absence of the next hop physical interface dropping, the route is active. There are some work arounds to this, but it is not really dynamic and if there is redundancy and alternative / backup routes involved it is harder to achieve. It does require less CPU though.
BGP, like any other routing protocol, is dynamic and provides the ability to re-route traffic if there is redundancy. It can also be controlled in a way to influence routing as one needs. It requires more CPU, but depending on the size of the routing table and requirements, generally it could be wash between the two.
In the end, it there is no redundancy at the CE, and there is only a single route in an out of the location, static routing would suffice. In instances where there is redundancy with multiple or primary and secondary paths, then BGP would probably the better fit.
Hope this helps.
08-29-2018 03:31 AM
08-29-2018 06:09 AM
i Found internet in some facts. it is correct or another pros and cons ? i have only one ISP which route should i use ?
Static Route | BGP |
Less resource usage(CPU,RAM,Bandwidth) | More Secure |
Most Stable | |
No Routing Information ad | |
cannot get Route information | More resource usage(CPU,RAM,Bandwidth) |
Need more configuration | |
08-29-2018 06:30 AM
If you have only one ISP and a single link to the Internet a default static route should be sufficient. There would really no reason for BGP.
Regards
08-29-2018 05:52 PM
The major different between static route and BGP are - resource usage and routing table only ?
if i have multiple branches and single HUB.( HUB have two internet Link but single ISP )
which one is better ? which benefit can get more .
08-31-2018 07:26 AM
In most cases if you have multiple Internet links from one ISP, they will put their own routers in your DC. They will then run a First Hop Resolution Protocol (e.g. HSRP) so that you just need to set up a static default route pointing to their hand-off address. This is fine. Most small-medium companies would work this way. Let the ISP look after all of the complexity. You don't even need CE routers, your external firewall can be configured with the static default route pointing to the ISP's routers.
I have also seen a number of attempts to use BGP when it is not necessary. It often ends up with the techie buying a completely inappropriate router and wondering why it doesn't work. (aka CV polishing)
If you want ISP independence, or multiple independent links with some degree of load sharing (NB not load balancing), yes use BGP, but be aware of the size of router that you need to hold a full table. Consensus puts the table size as over 700k prefixes, so you are looking at an ASR1k or more, regardless of the bandwidth you have bought. I connected to one ISP last year that had 273k prefixes in the local AS alone! You also need to be aware of how your ISP(s) treat your route advertisement. Many of them will modify your advertisements (e.g. through summarisation if you have Provider Assigned addresses -PA- or other manipulation if you have Provider Independent -PI- addresses) that means your intended behaviour gets ignored or even reversed.
Finally, you have the headache of ensuring that your routers are fully hardened because they will be unprotected on the Internet and will undoubtedly be hit by every script-kiddie out there.
Generally, I would suggest that unless you have a good business need for running BGP (mainly due to resilience) don't bother.
I hope this helps. Please come back if you have further questions. If you do go for BGP, I wish you well, your first Internet-BGP installation is usually a lot of fun and a big learning experience.
Regards,
Dave
08-31-2018 11:35 PM
09-01-2018 06:24 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide