Dear Ray,<br><br>I think u should need to explain whole scenario what u actually want??? <br>i suppose Karanbir is not getting what u want.... Please clear ur confusions....<br><br>secondly by adding the IPs with this cammand just only changes the ip of running interface..... what when u reboot the system????
<br>try modifying this:<br><br>vi /etc/sysconfig/network-scripts/ifcfg-eth0 and so on<br><br>Regards,<br><br>Umair Shakil<br>ETD<br>Pakistan<br><br><div><span class="gmail_quote">On 9/7/07, <b class="gmail_sendername">Ray Leventhal
</b> <<a href="mailto:centos@swhi.net">centos@swhi.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Karanbir Singh wrote:
<br>> Ray Leventhal wrote:<br>>> Hi all,<br>>><br>>> I need to (quickly!grrr) update IP addresses for which a given machine<br>>> will answer.<br>><br>> for f in 10 11 30 31 13 15 20 21 22 ; do ip addr add dev eth0
<br>> xx.xx.xx.${f}/24 ; done; ip addr ls; ip route ls;<br>><br>> check firewall to make sure traffic is allowed in/out for those IP's<br>><br>><br>Thank you very much, but please forgive my ignorance...and allow me to
<br>explain the entire situation.<br><br>The server I'm adding IPs to is in one /24, the ips I'm adding are in<br>another /24 (which is why I specified the netmask in the /sbin/ifconfig<br>statement, or it'd have auto-chosen 
<a href="http://255.255.0.0">255.255.0.0</a>)<br>I'm not sure where/when/how to execute what you've suggested.  Again,<br>forgive my ignorance, but if you'd explain, I'd be grateful.<br><br>Thanks,<br>~Ray
<br>_______________________________________________<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos
</a><br></blockquote></div><br>