Force Main IP Remote Detection

If you have multiple IPs assigned to your KVM VPS and remote connections are only seeing your secondary IP, you can manually change the settings on your VPS to force traffic over the main IP by default.

Using CentOS as an example, open /etc/sysconfig/network-scripts/ifcfg-eth0:0 and comment out the GATEWAY line. Do this for all eth0:X files (one is created for each IP), then restart the network.

You can also use the following commands:

sed -i 's/GATEWAY/#GATEWAY/g' /etc/sysconfig/network-scripts/ifcfg-eth0:0
service network restart

Repeat the above commands for each eth0:X file (e.g., eth0:1). 
  • 0 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Related Articles

cPanel Reverts to Trial Mode

If your cPanel install on a KVM VPS reverts to trial mode, please see this...

What happens if I run out of bandwidth?

If your VPS uses all of its bandwidth for the month, it will be automatically suspended. You may...

Missing Swap

SolusVM KVM templates have a tendency to not set up swap correctly. Please enter the following in...

Operating System Templates and ISOs

The following operating systems are available to install on our VPSs through the SolusVM CP.Â...

How do I order more bandwidth?

To order extra bandwidth, log into the Client Area. Go to Services > View Available Addons....

Powered by WHMCompleteSolution