Linux vmware VPS server routing problem

last updated in Categories ,

Q. My service provider (EV1 and softlayer) provides total 5 public IP address using private VLAN. I have installed VMWARE on CentOS Linux and setup bridged networking. Next I had assigned one of the secondary public IP to vmware guest os. But I am unable to connect outside world? How do I solve this problem? My IP address range:


Primary IP: eth0:
Secondary IP: eth1: –

A. To route traffic over VLAN from secondary IP address you need bind one of secondary IP address to router. So if you have total 5 secodary IP address you need to burn 3 IP address for VLAN/router. It will result into 2 usable public IP address. Ask your service provider to burn and route public address via private VLAN.

Another choice is to use VMWARE NAT feature. It allows you to use existing gateway / router IP to router traffic between VMWARE guest os over VLAN to rest of the world.


Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

3 comment

  1. I need to know how to configure terminal server in redhat linux. I am the new one to linux. In windows i can do but in linux i can’t .Please help me as soon as possible.Already i did time but it’s not working.



  2. Hi,

    I have this same issue. But I dint understand a single thing you have mentioned here. Can you please elaborate a little bit for me to digest.

    I am trying to solve this for the past few weeks and dint find any answer.

    Is there anything that can be done without calling the ISP ppl. I have two public IP and both working fine on the linux host OS. When I try assigning one for the vmware guest OS with the same route gw &dns settings I am not able to connect internally and externally.. Real problem!!! :(


  3. I’ve ruined into the same problem.
    Changing openVZ networking mode to bridged helped.

    Still, have a question? Get help on our forum!