centos adding mutli-IP to system

  • 5

Enter network card eth0

vi /etc/sysconfig/network-scripts/ifcfg-eth0

Add this command at last line

NM_CONTROLLED=NO

 

create a range0

vi /etc/sysconfig/network-scripts/ifcfg-eth0-range0

Input the following setting

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR_START=Your Starting IP address
IPADDR_END=Your Last IP address
CLONENUM_START=0
GATEWAY=Your Gateway
NETMASK=Your Netmask
NO_ALIASROUTING=yes


Was this answer helpful?

© Copyright 2019. CTG SERVER LTD