05-15-2007 01:47 PM - edited 03-03-2019 04:59 PM
I will be doing my first BGP config from scratch next week and needed some suggestions from the BGP gurus here..
I will have 2x 3640 routers connected to 3 different upstreams. I will call them Platinum, Gold and Silver based on the preference of use.
The Platinum will be the preferred route out and in. The gold would be next and the silver would be last.
See the attached.. Both 3640 routers will run BGP partial routes only (connected networks on the upstreams). They will also run VRRP to provide failover. The switches that handle the upstream coming in will be L2 only and acting as a transciever to the fibre links converting them to copper.
What is the best way to setup BGP to use the Platinum only unless it fails, then the gold and then silver? Minimal traffic over the gold and silver would be allowed, but would prefer to direct 99% of the traffic out to the 1gbps link via Platinum.
The larger switches are 5505 with a single SUP3 and RSM for VLAN termination. They will be running HSRP for redundancy for the server vlans below it (not pictured).
Any suggestions would be appreciated.
05-21-2007 10:58 AM
The best way would be using MED in this case.
05-21-2007 11:01 AM
Are you going to be connecting to a single AS or different ISPs?
Thanks.
05-21-2007 11:16 AM
I will be connecting to 3 different AS.
05-23-2007 09:57 AM
In that case you should consider AS prepending.
Thanks.
05-23-2007 04:12 PM
Yes when you are trying to manipulate routing(egree)from your network AS-Path prepeding is the way to go
06-06-2007 01:34 PM
I just initiated a BGP session with the first upstream (primary) and none of my routes are being distributed.
Below is my config, IP addresses, pw and ASN info have been removed.
router bgp 99999
bgp router-id
no synchronization
bgp log-neighbor-changes
network our.ip.40.0 mask 255.255.252.0
network pri.ip.160.199 mask 255.255.255.255
neighbor pri.ip.225.9 remote-as PRI-ASN
neighbor pri.ip.225.9 password xyz
neighbor sec.ip.95.128 remote-as SEC-ASN
neighbor sec.ip.95.128 password xyz
neighbor ter.ip.130.1 remote-as TER-ASN
neighbor ter.ip.130.1 password xyz
no auto-summary
What am I missing? I know I probably need some filters, etc.. but not sure where to start.
Thanks
06-06-2007 01:52 PM
To advertise your prefixes to your service provider you should either redistribute routes (either from static or IGP) into BGP or use network statements, which match routes that are already present in the RIB.
The recommendation is usually to use a network statement for an Internet connect router.
Hope this helps,
06-06-2007 01:58 PM
In the above example I am specifying the network for ours and the primary upstream requires that we have a loopback announced for a /32 they provided.
I also only want to receive the minimum routes since it is a 3640 with 128MB of RAM. I have looked and looked and keep finding myself in a loop with the regex portion for lists. The router is now with the basic config posted above.
Any examples would be appreciated..
06-12-2007 05:48 AM
Ok, my BGP is up and running. I had to null route my ip space and add a prefix list out.
Now that we are talking BGP to our neighbors, I want to set a preference for my outbound traffic. Since our primary is a 1gbps flat rate connection up 100mbps then we are charged a minimal amount. The other 2 are pay as you use links.
I want to set our preferred routes out to be the primary, then the secondary (next least expensive) and then the most expensive.
The next thing is probably answered in my question.. Our primary only allows a single bgp loopback session (we have a single link in from them) and I have 2 routers that are directly connected to it using a 2948G as a media filter/transciever to take the fiber link to copper. Should I set up an iBGP session between my 2 routers so I can get default routes to the primary passed to the second router?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: