Routing

last person joined: 4 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  BGP over VRRP

    Posted 06-18-2013 10:52

    Hi All,

     

    Assume you have 2 routers J series or MX and you need to peer BGP with an ISP who will only peer with 1 IP.

     

    Is it possible to setup VRRP on the public side and have the provider peer with the VRRP address.  Assumming a failure would happen BGP would reconverge but would this work or is this a terrible terrible idea?

     

    Thanks



  • 2.  RE: BGP over VRRP
    Best Answer

    Posted 06-18-2013 11:58

    Hello,

    Yes, it is possible. Such scenario is discussed in JNCIP Study Guide chapter 6

    http://www.juniper.net/us/en/training/certification/JNCIP_studyguide.pdf

    HTH

    Thanks

    Alex



  • 3.  RE: BGP over VRRP

    Posted 06-18-2013 16:42

    Hi,

     

    Yes it is possible.

    I also found the example of what you are asking on this article:

    BGP and VRRP Failover.

     

    http://www.vyatta.org/node/755



  • 4.  RE: BGP over VRRP

    Posted 06-26-2013 23:55

    VRRP is a LAN protocol. The Routers that you configure as VRRP routers communicate via a switch. I am hard pressed to see how you make it work if the two CISCO routers are configures with the same IP address. 



  • 5.  RE: BGP over VRRP

    Posted 06-27-2013 12:38

    @lyndidon wrote:

    VRRP is a LAN protocol. The Routers that you configure as VRRP routers communicate via a switch. I am hard pressed to see how you make it work if the two CISCO routers are configures with the same IP address. 


    That's a fundamental function of VRRP -- only the active/master of the VRRP pair is going to respond to the configured IP.

     

    When situation is normal, the preferred router will "own" the VRRP IP and establish the BGP session with the upstream peer and the backup router will sit quietly.  In a failover situation, the backup router will take over ownership of the VRRP IP and re-establish the BGP session.



  • 6.  RE: BGP over VRRP

    Posted 06-27-2013 12:49

    Thanks everyone.  That was the answer I was looking for.  I can do it but it must re-establish BGP on failover (expected).

     

     



  • 7.  RE: BGP over VRRP

    Posted 06-27-2013 13:26

    Hello,

     


    @keithr wrote:

    When situation is normal, the preferred router will "own" the VRRP IP and establish the BGP session with the upstream peer and the backup router will sit quietly.  In a failover situation, the backup router will take over ownership of the VRRP IP and re-establish the BGP session.


    I'd be careful with verb "own" and its derivatives in context of VRRP. It has a special meaning:

    IP Address Owner       The VRRP router that has the virtual router's
                              IP address(es) as real interface address(es).

     http://www.ietf.org/rfc/rfc3768.txt

     

    http://tools.ietf.org/html/rfc5798

     

    "Own" in context of VRRP means "have this IP configured on the interface", not "respond to traffic addressed to this IP".

    HTH

    Thanks

    Alex

     



  • 8.  RE: BGP over VRRP

    Posted 06-27-2013 13:49
    Details.. details 🙂
    thumbs-up for the explanation though.


  • 9.  RE: BGP over VRRP

    Posted 06-27-2013 15:52

    @aarseniev wrote:

    Hello,

     

    I'd be careful with verb "own" and its derivatives in context of VRRP. It has a special meaning:


    Alright... but I *did* use the quotes around "own" to signify it was a bit of a liberty with the definition of "own."

     

    Smiley Tongue

     

    "Answers for" or "Responds to ARP for" would be more strictly correct than "own" in this case, yes, but I find that "own" gets the high-level point across.  Pedantic details obviously would require more exactness.

     

    Smiley Wink

     

    Of course we could further confuse the matter by bringing HSRP, VRRP-E, GLBP, etc., into the mix.



  • 10.  RE: BGP over VRRP

    Posted 11-24-2014 00:06

    Hi Guys,

     

    How long it will takes the BGP to re-established when the master switch to backup?

    Thanks,

     



  • 11.  RE: BGP over VRRP

     
    Posted 12-08-2014 23:33

    @sanditehendi wrote:

    Hi Guys,

     

    How long it will takes the BGP to re-established when the master switch to backup?

    Thanks,

     


    re-established sessions most of the time within 30 seconds, but depends on the timeout configured on the other side. also exchanging and learning the advertised routes can take some time, depending on how many routes... etc etc