12-12-2017 06:17 AM - edited 03-05-2019 09:38 AM
Hi All
I have a router connected to 2 ISP's and I need to run BGP to each of them, but with separate source AS per connection on my side.
Would this mean I would need to set up 2 separate BGP processes on my router?
cheers
12-12-2017 06:20 AM - edited 12-12-2017 06:24 AM
Hi
You cannot have 2 or more BGP AS on a router. BGP allows to have multiple peerings through IPv4 unicast or through Address-family with VRF. For example
router bgp 100
no sync
no auto
neighbor 1.1.1.1 remote 1
neighbor 2.2.2.2 remote 2
12-12-2017 07:13 AM
OK, What if I want to keep the traffic to each site separate?
Would I just use the same AS source number, but then when I create the address families using VRF's will this allow me to keep the traffic separate on the router?
I wont use route target export/import etc
cheers
12-12-2017 07:40 AM - edited 12-12-2017 07:42 AM
Hi
If you are going to use VRF you can separate the routing tables and if it is not going to be used for an MPLS you can remove the route-targets, for example you can have:
ip vrf A
rd 1:1
ip vrf B
rd 2:2
interface g0/0
ip vrf forward A
ip add 1.1.1.2 255.255.255.252
interface g0/1
ip vrf forward B
ip add 2.2.2.1 255.255.255.252
router bgp 100
no syn
no auto
address-family ipv4 vrf A
neighbor 1.1.1.1 remote 1
neighbor 1.1.1.1 activate
address-family ipv4 vrf B
neighbor 2.2.2.2 remote 2
neighbor 2.2.2.2 activate
The traffic will be isolated from each other, but you need to specify what prefixes will be into each VRF.
:-)
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