[CentOS] unable to add IP address to eth0:0 eth0:1 etc

Karanbir Singh mail-lists at karan.org
Fri Sep 7 13:25:40 UTC 2007


Ray Leventhal wrote:
> Hi all,
> 
> I need to (quickly!grrr) update IP addresses for which a given machine
> will answer.

for f in 10 11 30 31 13 15 20 21 22 ; do ip addr add dev eth0 xx.xx.xx.${f}/24 ; 
done; ip addr ls; ip route ls;

check firewall to make sure traffic is allowed in/out for those IP's


-- 
Karanbir Singh : http://www.karan.org/ : 2522219 at icq



More information about the CentOS mailing list