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 Users Found This Useful
這篇文章有幫助嗎?

Related Articles

How do I order more bandwidth?

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

cPanel Reverts to Trial Mode

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

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

Cannot Allocate Memory Error

If you are trying to run an update on your KVM VPS and see the "cannot allocate memory" error,...

KVM VPS Information / Installation Guide

KVM VPS clients have two ways to install their VPS OS. Log into the SolusVM control panel and...

Powered by WHMCompleteSolution