The configuration files which contain your IP addresses are in the directory: /etc/sysconfig/network-scripts There is one file per IP address. Your default IP address file is: /etc/sysconfig/network-scripts/ifcfg-eth0 (eth0 is the name of your network card) Your second (virtual) IP address is configured in the file 'ifcfg-eth0:0', your third IP address in the file 'ifcfg-eth0:1' and so on. Secondary (alias) IP addresses are configured with a netmask of 255.255.255.255. To restart the network to re-read IP address configuration file: /etc/init.d/network restart
|