VMware - Configuring additional IPs [Linux]

Additional IPs at iWeb are not provided with an additional gateway so customers using VMWare or other virtualization tools might be wondering how they can use the additional IPs to create new Guest OS or Virtual Machines. It can be done by configuring VMWare to bridge connection to eth0.

Here is the specific way to make it work

  1. Configure your first additional IP as a secondary IP on eth0:0
    1. IP configuration is done in /etc/sysconfig/network-scripts/ifcfg-eth0:0
  2. Enable IP forwarding to route VM traffic
    1. IP forwarding can be enabled by adding net.ipv4.ip_forward = 1 to /etc/sysctl.conf
  3. In VMWare make sure that your VM uses the bridge connection to eth0.
  4. Configure your VM with one of your remaining 5 additional IPs.
  5. The netmask is 255.255.255.248 (If you have been provided with 6 IPs). You can calculate the netmask via a website such as http://www.ipcalc.net/
  6. Use XX.XX.XX.1 as the gateway

Example with actual IPs:

If you have been assigned the following additional IPs:

72.55.155.169
72.55.155.170
72.55.155.171
72.55.155.172
72.55.155.173
72.55.155.174

You would :

  1. Configure the ip 72.55.155.169 as a secondary IP on eth0:0
  2. Enable IP forwarding to route VM traffic
  3. Make sure that your VM uses the bridge connection to eth0
  4. Configure your VM with one of the available IPs (.170, .171, .172, .173 or .174)
  5. Use 255.255.255.248 as the Netmask.
  6. Use 72.55.155.169 as gateway.

Your VM's network should now be properly configured!

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk