Linux vmware VPS server routing problem
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: 65.90.xxx.12
Secondary IP: eth1: 65.92.xxx.54 - 65.92.xxx.57
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.
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Linux / UNIX FAQ:
- CentOS Linux install kernel headers to build vmware / 3rd party modules
- Suse Linux install vmware tools
- FreeBSD Set a Default Route / Gateway
- Will Microsoft office and other Windows applications be able to run on my Linux distribution?
- Dual boot 2 or 3 different Linux distributions on a laptop
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Please do not use the comment form to ask for help / question. Ask your question on the excellent Linux tech support forum. Thank you very much for stopping by our site!
~ Last updated on: November 6, 2006


February 16th, 2008 at 5:41 am
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.
Regards,
Karthikeyan.N
March 10th, 2008 at 11:31 am
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!!!
Thanks.
Thomas
May 8th, 2008 (1 weeks ago) at 4:06 pm
I’ve ruined into the same problem.
Changing openVZ networking mode to bridged helped.