Assigning two IPs to one NIC in CentOS

view story

http://serverfault.com – I have been following this method described here: http://linuxwave.blogspot.com/2010/01/setting-virtual-ip-in-centos.html To assign a virtual IP to one NIC. Basically I copied ifcfg-eth0 and makde it ifcfg-eth0:1, set a new device name and IP Address, but the error I get when I do service network restart is as such: Active connection state : activated Active conncetion path : /org/ freedesktop /NetworkManager /ActiveConnection/xx The actual config for ifcfg-eth0: DEVICE="eth0" NM_CONTROLLED="yes" ONBOOT="yes" TYPE=Ethernet BOOTPROTO=static IPADDR= PREFIX=23 GATEWA (HowTos)