Ok, so I'm working my lab on some neato things like HSRP + BGP. End goal is LAN & WAN redundancy.
Please see the attached diagram here: http://www.data102.com/~randal/hsrp_bgp_fun.gif
The general gist is that I have two routers, 7204 (RTR_A) and a 3640 (RTR_B), that are running HSRP on the LAN side. The 7204 has two BGP sessions on it (faked from an openbgpd machine) that include default and three 10.x.x.x networks, working fine.
I have read that using HSRP on the WAN side is a bad time, especially when it comes to maintaining BGP sessions and convergence times. Instead, both of the routers peer with both of the upstreams, with RTR_B being AS-Prepended by one as-hop to make it less desirable when RTR_A is up. This is up and running.
If I unplug RTR_A's ethernet interface, HSRP does work and the LAN side fails over appropriately. The problem I have is that if RTR_A LAN interface goes down, the WAN interface + BGP sessions don't! All of the outgoing traffic does go out RTR_B as it should, but the return traffic goes to RTR_A, which then goes nowhere.
So basically, my question is this: in the case of RTR_A's LAN failure, is there a way to make it close all of it's BGP sessions or at least stop announcing the routes so that inbound traffic comes through RTR_B?
Followup question then turns to tracking the WAN links, decrementing priorities & removing routes, all of which should be straightforward.
Please see the attached diagram here: http://www.data102.com/~randal/hsrp_bgp_fun.gif
The general gist is that I have two routers, 7204 (RTR_A) and a 3640 (RTR_B), that are running HSRP on the LAN side. The 7204 has two BGP sessions on it (faked from an openbgpd machine) that include default and three 10.x.x.x networks, working fine.
I have read that using HSRP on the WAN side is a bad time, especially when it comes to maintaining BGP sessions and convergence times. Instead, both of the routers peer with both of the upstreams, with RTR_B being AS-Prepended by one as-hop to make it less desirable when RTR_A is up. This is up and running.
If I unplug RTR_A's ethernet interface, HSRP does work and the LAN side fails over appropriately. The problem I have is that if RTR_A LAN interface goes down, the WAN interface + BGP sessions don't! All of the outgoing traffic does go out RTR_B as it should, but the return traffic goes to RTR_A, which then goes nowhere.
So basically, my question is this: in the case of RTR_A's LAN failure, is there a way to make it close all of it's BGP sessions or at least stop announcing the routes so that inbound traffic comes through RTR_B?
Followup question then turns to tracking the WAN links, decrementing priorities & removing routes, all of which should be straightforward.