To configure eBGP-multihop Peer using NSX Advanced Load Balancer Controller UI and CLI:

Using NSX Advanced Load Balancer UI

Login to NSX Advanced Load Balancer UI and navigate to Infrastructure > Routing > BGP Peering, provide the value for BGP AS, and select the eBGP option.

Provide the following values to BGP, IPv4 Prefix, IPv4 Peer, Remote AS, and Multihop:

Using NSX Advanced Load Balancer CLI

  1. Peer Configuration — Enable BGP, set the following attributes:

    • AS – 65000

    • Type – eBGP

    • Remote AS – 1

    • BFD – Yes

    • Advertise VIP – Yes

    • Advertise SNAT – Yes

    Use vrfcontext sub-mode to configure the required attributes:

    [admin-controller]: > configure vrfcontext global
    [admin:controller]: vrfcontext:bgp_profile> peers index 1
    [admin:controller]: vrfcontext:bgp_profile> peers ebgp_multihop 2
    [admin-controller]: vrfcontext:bgp_profile > peers peer_ip subnet md5_secret abcd
    [admin:controller]: vrfcontext:bgp_profile:peers> save
    [admin:controller]: vrfcontext:bgp_profile> save
    [admin:controller]: vrfcontext> save
    [admin:controller]: >

    For more information on configuring BGP on NSX Advanced Load Balancer, see BGP Support for Scaling Virtual Services.

  2. The following diagram explains all the required configurations for configuring multihop eBGP peers:

    Configure static route or default route to reach peer network ( using router R1 ( next hop

  3. Configure two virtual service IP addresses:

    • VIP ( is configured in the same subnet as the interface network (

    • VIP ( is configured in some random subnet.