Use the CLI to verify that the BGP routes are learned. You can also check from the external router that the NSX-connected VMs are reachable.

Prerequisites

Procedure

  1. Log in to the NSX Manager CLI.
  2. View the routes learned from the external BGP neighbor.
    nsx-edge1(tier0_sr)> get route bgp
    
    Flags: c - connected, s - static, b - BGP, ns - nsx_static
    nc - nsx_connected, rl - router_link, t0n: Tier0-NAT, t1n: Tier1-NAT
    
    
    b    10.10.10.0/24        [20/0]        via 192.168.100.254
    
    
  3. From the external router, check that BGP routes are learned and that the VMs are reachable through the NSX overlay.
    1. List the BGP routes.
      user@router# run show ip route bgp
      Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
             I - ISIS, B - BGP, > - selected route, * - FIB route
      
      B>* 172.16.10.0/24 [20/0] via 192.168.100.2, eth2, 00:00:48
      B>* 172.16.20.0/24 [20/0] via 192.168.100.2, eth2, 00:00:48
      B>* 172.16.30.0/24 [20/0] via 192.168.100.2, eth2, 00:00:48
    2. From the external router, ping the NSX-connected VMs.
      ping 172.16.10.10
      PING 172.16.10.10 (172.16.10.10) 56(84) bytes of data.
      64 bytes from 172.16.10.10: icmp_req=1 ttl=62 time=127 ms
      64 bytes from 172.16.10.10: icmp_req=2 ttl=62 time=1.96 ms
      ^C
      --- 172.16.10.10 ping statistics ---
      2 packets transmitted, 2 received, 0% packet loss, time 1001ms
      rtt min/avg/max/mdev = 1.966/64.793/127.620/62.827 ms
      
    3. Check the path through the NSX overlay.
      traceroute 172.16.10.10
      traceroute to 172.16.10.10 (172.16.10.10), 30 hops max, 60 byte packets
       1  192.168.100.3 (192.168.100.3)  0.640 ms  0.575 ms  0.696 ms
       2  100.91.176.1 (100.91.176.1)  0.656 ms  0.604 ms  0.578 ms
       3  172.16.10.10 (172.16.10.10)  3.397 ms  3.703 ms  3.790 ms
      
  4. From the internal VMs, ping the external IP address.
    ping 10.10.10.10
    PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
    64 bytes from 10.10.10.10: icmp_req=1 ttl=62 time=119 ms
    64 bytes from 10.10.10.10: icmp_req=2 ttl=62 time=1.93 ms
    ^C
    --- 10.10.10.10 ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 1001ms
    rtt min/avg/max/mdev = 1.936/60.865/119.795/58.930 ms
    

What to do next

Configure additional routing functionality, such as ECMP.