×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Announce route with BGP

Answered Question
Jun 7th, 2014
User Badges:

Hi,

how can i announce in router C with BGP, the VLAN 2 to the router A, and VLAN 3 to router B?

The router B can't know the VLAN 2 and router A can't know the VLAN 3


thanks for the help

Correct Answer by paul driver about 3 years 2 months ago

Hello

following on from richards post - below is an example of the config he is refering to -

 

conf t
access-list 2  permit 192.168.2.0 0.0.0.255
access-list 3  permit 192.168.3.0 0.0.0.255

ip as=path access-list 1 permit ^$

 

route-map Vlan2 permit 10
match ip address 2

route-map Vlan3 permit 10
match ip address 3


router bgp 11111
network 192.168.2.0
network 192.168.3.0
neighbour 10.10.1.x route-map Vlan2 out
neighbour 10.10.1.x filter-list 1 out ( prohibit transit routes Between isp A and B)
neighbour 10.10.2.x route-map Vlan3 out
neighbour 10.10.2.x filter-list 1 out ( prohibit transit routes between isp B and A)

 

res

Paul

Correct Answer by Richard Burts about 3 years 2 months ago

This is not a complicated thing to do. Configure BGP on all three routers. On router C configure both router A and router B as neighbors. In configuring router A as a neighbor configure a route map for outbound advertisements and in the route map permit vlan 2 but not vlan 3. In configuring router B as a neighbor configure a route map for outbound advertisements and in the route map permit vlan 3 but not vlan 2.

 

HTH

 

Rick

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Richard Burts Sat, 06/07/2014 - 13:34
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

This is not a complicated thing to do. Configure BGP on all three routers. On router C configure both router A and router B as neighbors. In configuring router A as a neighbor configure a route map for outbound advertisements and in the route map permit vlan 2 but not vlan 3. In configuring router B as a neighbor configure a route map for outbound advertisements and in the route map permit vlan 3 but not vlan 2.

 

HTH

 

Rick

Correct Answer
paul driver Sat, 06/07/2014 - 15:47
User Badges:
  • Green, 3000 points or more

Hello

following on from richards post - below is an example of the config he is refering to -

 

conf t
access-list 2  permit 192.168.2.0 0.0.0.255
access-list 3  permit 192.168.3.0 0.0.0.255

ip as=path access-list 1 permit ^$

 

route-map Vlan2 permit 10
match ip address 2

route-map Vlan3 permit 10
match ip address 3


router bgp 11111
network 192.168.2.0
network 192.168.3.0
neighbour 10.10.1.x route-map Vlan2 out
neighbour 10.10.1.x filter-list 1 out ( prohibit transit routes Between isp A and B)
neighbour 10.10.2.x route-map Vlan3 out
neighbour 10.10.2.x filter-list 1 out ( prohibit transit routes between isp B and A)

 

res

Paul

Actions

This Discussion

Related Content