KVM: configure a secondary assigned IPv4

If you run Debian or Ubuntu

Edit /etc/network/interfaces

auto eth0:0
iface eth0:0 inet static
    address X.X.X.X
    netmask 255.255.255.0

 

 

For Centos

edit

/etc/sysconfig/network-scripts/ifcfg-eth0:0

 

DEVICE=eth0:0
BOOTPROTO=none
ONPARENT=yes
IPADDR=XXX.XXX.XXX.XXX
NETMASK=255.255.255.0

 

 

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

KVM Virtualizor - how to use assigned IPv6 /64 subnet

To manage the IPv6 /64 subnet assigned to your KVM vps please use the following button to carve...

Reinstall OS for OpenVZ based VPS

Go to the SolusVM control panelhttps://solusvm.prometeus.net/  Login using the credentials you...

Slow debian apt-get network download

If after the provisioning of a debian openvz vps the apt-get update is slow to download updates...

Powered by WHMCompleteSolution