08-25-2008 01:06 AM - edited 03-03-2019 11:15 PM
Hi all,
Any one if if i can use virtual to form bgp neighbor ?
interface Port-channel1
ip address 192.168.1.2 255.255.255.192
standby 1 ip 192.168.1.1
router bgp xyz
no synchronization
bgp router-id 192.168.1.1
08-25-2008 03:31 AM
Hi there!
I believe that it is possible.
Under the router bgp x you have to specify:
neighbor "peer_IP_virtual_intf" remote-as "x"
neighbor "peer_IP_virtual_intf" update-source "local_IP_virtual_intf"
of course you have to have some dynamic routing protocol or static routing to reach "peer_IP_virtual_intf"
Good luck!
Cheers,
Calin
08-25-2008 04:43 AM
Hello Jack,
for BGP the better solution is to use loopback addresses as BGP endpoints.
using an HSRP VIP could be possible but when HSRP changes state the session has to be negotiated again.
Two established peers exchange only BGP keepalives: when HSRP changes states the new Active router will receive BGP keepalives for a session that it is trying to negotiate.
So it can take some time: BGP is has a neighbor state machine is not plug and play.
I think it is better to have two BGP sessions terminated on loopbacks.
Hope to help
Giuseppe
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