Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

BGP route Selection for Outgoing Traffic


I am going to implement a multihome internet connection to two different ISP.  Before implementing in real network, I have prepared the same in GNS3 and testing.  Subnet 10.x.5.0/24 should take R1 to outside from LAN and 10.x.6.0/24 should take R2 to outside from LAN.

Below is my configuration;

  • HSRP between R1 and R2 towards LAN.  R1 is the primary HSRP device.
  • R6 is the host (example) and subnet .5.0/24 and .6.0/24 are connected to R6.
  • R6 is sending a default route to HSRP VIP.
  • R1 is advertising subnet 10.x.5.0/24 and R2 is advertising subnet 10.x.6.0/24
  • iBGP is configured between R1 and R2

From Internet to LAN:

From router 5 (exam.: Internet) traffic is divided in to two routers.  traffic for 10.x.5.0/24 coming to R1 and traffic for 10.x.6.0/24 coming to R2.  This is absolutely fine. What i expected.

From LAN to Internet:

I need traffic from 10.x.5.0/24 should take R1 to go to internet (outside) and from 10.x.6.0/24 should take R2 to go to Inernet (outside).

I have tried with higher Local Preference on each router but is not working. All traffic from R6 (i.e. LAN) to outside is taking only R1 to go outisde.

Could any one can help on how I can share traffic for 10.x.5.0/24 & 10.x.6.0/24 divided in two Routers from LAN.

Diagram is attached.

New Member

IN HSRP keep R2 as active

IN HSRP keep R2 as active router for 10.x.6.0/24 Subnet.

If you do not want to change HSRP, Then create a route map, match the  10.x.6.0/24 Subnet and the set the next hope as R4.

CreatePlease to create content