X

Move your VMware and KVM applications to the cloud without making any changes

  • April 14, 2015

Instructions for VMware ESXi Guest VM external connectivity

Please follow the instructions to enable ingress/egress connectivity to the VMs running on top of VMware ESXi™ in Ravello. The VMs must be defined with static IP configuration since the Ravello built-in DHCP server won’t work with nested VMs.

  1. Add a second NIC to an ESXi host VM in Ravello UI . The second NIC would be used to create an uplink for a separate vSwitch on ESXi. Nested VMs will be connected to this vSwitch.
  2. In Ravello UI define a subnet for nested VMs. For example if you wish to use subnet 20.0.0.x/24 put the following in the newly created NIC form:
    1. IP address: 20.0.0.1
    2. Subnet: 255.255.255.0
    3. Gateway: 20.0.0.254

    The IP address 20.0.0.1 can be used for the first nested guest VM running in the ESXi

  3. For each additional VM press Advanced/Add and enter a different IP address from the same subnet and the identical gateway address as in step 2.
  4. If you wish to provide ingress connectivity to a specific TCP/UDP port go to the Services tab and click on Add Supplied Service. Then fill in a port number and select the designated address of the VM (20.0.0.1 - for the example given in step 2.)
  5. In ESXi create a new vSwitch of type “Virtual machine port group” and bind it to the second physical NIC created in step 1. VMs that need external connectivity must be wired to this vSwitch.
  6. In a running nested VM: turn off a DHCP client and use static IP configuration instead. Type an IP address and router from step 2 and 3.:
    1. Ifconfig eth0 20.0.0.1/24
    2. ip route add –net 0 gw 20.0.0.254

    Now make sure you have egress connectivity by pinging an Internet address: ping 8.8.8.8. After that you can test ingress connectivity.

VMware product names, logos, brands, and other trademarks featured or referred to in the ravellosystems domain are the property of VMware. VMware is not affiliated with Ravello Systems or any of Ravello System's employees or representatives. VMware does not sponsor or endorse the contents, materials, or processes discussed on the site.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.