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 Utenti hanno trovato utile questa risposta
Hai trovato questa risposta utile?

Related Articles

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

How do I install the CentOS cPanel ISO for KVM?

To install the CentOS cPanel ISO on a KVM VPS: Log into the SolusVM CP. Click CDRom. Mount the...

What is the difference between SSD and SSD-Cached?

Our SSD VPSs are built with hardware RAID10 arrays of pure SSD storage. They are some of the...

Operating System Templates and ISOs

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

CKVM Performance Tweaks

For the best performance, tweak your SSD-Cached KVM VPS with the following commands:For an...

Powered by WHMCompleteSolution