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:
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.

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

3 comments… add one
  • Karthikeyan.N Feb 16, 2008 @ 5:41

    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.



  • thomas Mar 10, 2008 @ 11:31


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


  • Aleh May 8, 2008 @ 16:06

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

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.