Linux vmware VPS server routing problem

Posted on in Categories , last updated November 6, 2006

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 and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

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!!! :(


Leave a Comment