Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to abuse@whmcs.com

Adding First IP in - Centos KVM Print

  • 1

1) Add the lines below in your /etc/sysconfig/network-scripts/ifcfg-eth0. Change Your-VPS-Main-IP-Address with the main IP of your VPS and Your-IP-MAC-ADDRESSwith your IP MAC Address.

DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
TYPE=Ethernet
NETMASK=255.255.255.255
IPADDR=Your-VPS-Main-IP-Address
GATEWAY=192.99.21.254
ARP=yes
HWADDR=Your-IP-MAC-ADDRESS

2) Add the lines below in your/etc/sysconfig/network-scripts/route-eth0

192.99.21.254 dev eth0
default via 192.99.21.254 dev eth0

3) Add Nameserver in /etc/resolv.conf

nameserver 213.186.33.99

4) Enable network.

ifup eth0

Was this answer helpful?

« Back