<br>Dear Ray,<br><br>Please assure me that:<br><br>/sbin/ifconfig eth0:0 xx.xx.xx.10 netmask <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://255.255.255.0/" target="_blank">255.255.255.0</a><br><br>Is this the valid netmask "
<a href="http://255.255.255.0">255.255.255.0</a>" for static IP address for this machine<br>you mentioned????<br><br>it will be "ifconfig eth0:0 xxxxx netmask <a href="http://255.255.255.255">255.255.255.255</a>
"<br><br>Regards,<br><br>Umair Shakil<br>ETD<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;">
Hi all,<br><br>I need to (quickly!grrr) update IP addresses for which a given machine<br>will answer.<br><br>I did this:<br><br>/sbin/ifconfig eth0:0 xx.xx.xx.10 netmask <a href="http://255.255.255.0">255.255.255.0</a><br>
/sbin/ifconfig eth0:1 xx.xx.xx.11 netmask <a href="http://255.255.255.0">255.255.255.0</a><br>/sbin/ifconfig eth0:2 xx.xx.xx.30 netmask <a href="http://255.255.255.0">255.255.255.0</a><br>/sbin/ifconfig eth0:3 xx.xx.xx.31
netmask <a href="http://255.255.255.0">255.255.255.0</a><br>/sbin/ifconfig eth0:4 xx.xx.xx.13 netmask <a href="http://255.255.255.0">255.255.255.0</a><br>/sbin/ifconfig eth0:5 xx.xx.xx.15 netmask <a href="http://255.255.255.0">
255.255.255.0</a><br>/sbin/ifconfig eth0:6 xx.xx.xx.20 netmask <a href="http://255.255.255.0">255.255.255.0</a><br>/sbin/ifconfig eth0:7 xx.xx.xx.21 netmask <a href="http://255.255.255.0">255.255.255.0</a><br>/sbin/ifconfig eth0:8
xx.xx.xx.22 netmask <a href="http://255.255.255.0">255.255.255.0</a><br><br><br>but on looking at the output of /sbin/ifconfig, I see this:<br><br>[root@sunspot ray]# /sbin/ifconfig<br>eth0 Link encap:Ethernet HWaddr 00:00:C5:C2:1B:01
<br> inet addr:<a href="http://64.135.16.15">64.135.16.15</a> Bcast:<a href="http://64.135.16.255">64.135.16.255</a> Mask:<a href="http://255.255.255.0">255.255.255.0</a><br> inet6 addr: fe80::200:c5ff:fec2:1b01/64 Scope:Link
<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:5491775 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:962501 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000
<br> RX bytes:436018277 (415.8 MiB) TX bytes:156248463 (149.0 MiB)<br> Interrupt:12 Base address:0xcf00<br><br>eth0:0 Link encap:Ethernet HWaddr 00:00:C5:C2:1B:01<br> inet addr:xx.xx.xx.10 Bcast:
xx.xx.xx.255 Mask:<a href="http://255.255.255.0">255.255.255.0</a><br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> Interrupt:12 Base address:0xcf00<br><br>eth0:1 Link encap:Ethernet HWaddr 00:00:C5:C2:1B:01
<br> inet addr:xx.xx.xx.11 Bcast:xx.xx.xx.255 Mask:<a href="http://255.255.255.0">255.255.255.0</a><br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> Interrupt:12 Base address:0xcf00<br>
<br>eth0:2 Link encap:Ethernet HWaddr 00:00:C5:C2:1B:01<br> inet addr:xx.xx.xx.30 Bcast:xx.xx.xx.255 Mask:<a href="http://255.255.255.0">255.255.255.0</a><br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
<br> Interrupt:12 Base address:0xcf00<br><br>eth0:3 Link encap:Ethernet HWaddr 00:00:C5:C2:1B:01<br> inet addr:xx.xx.xx.31 Bcast:xx.xx.xx.255 Mask:<a href="http://255.255.255.0">255.255.255.0</a><br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> Interrupt:12 Base address:0xcf00<br><br>eth0:4 Link encap:Ethernet HWaddr 00:00:C5:C2:1B:01<br> inet addr:xx.xx.xx.13 Bcast:xx.xx.xx.255
Mask:<a href="http://255.255.255.0">255.255.255.0</a><br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> Interrupt:12 Base address:0xcf00<br><br>eth0:5 Link encap:Ethernet HWaddr 00:00:C5:C2:1B:01
<br> inet addr:xx.xx.xx.15 Bcast:xx.xx.xx.255 Mask:<a href="http://255.255.255.0">255.255.255.0</a><br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> Interrupt:12 Base address:0xcf00<br>
<br>eth0:6 Link encap:Ethernet HWaddr 00:00:C5:C2:1B:01<br> inet addr:xx.xx.xx.20 Bcast:xx.xx.xx.255 Mask:<a href="http://255.255.255.0">255.255.255.0</a><br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
<br> Interrupt:12 Base address:0xcf00<br><br>eth0:7 Link encap:Ethernet HWaddr 00:00:C5:C2:1B:01<br> inet addr:xx.xx.xx.21 Bcast:xx.xx.xx.255 Mask:<a href="http://255.255.255.0">255.255.255.0</a><br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> Interrupt:12 Base address:0xcf00<br><br>eth0:8 Link encap:Ethernet HWaddr 00:00:C5:C2:1B:01<br> inet addr:xx.xx.xx.22 Bcast:xx.xx.xx.255
Mask:<a href="http://255.255.255.0">255.255.255.0</a><br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> Interrupt:12 Base address:0xcf00<br><br>lo Link encap:Local Loopback<br> inet addr:
<a href="http://127.0.0.1">127.0.0.1</a> Mask:<a href="http://255.0.0.0">255.0.0.0</a><br> inet6 addr: ::1/128 Scope:Host<br> UP LOOPBACK RUNNING MTU:16436 Metric:1<br> RX packets:5744 errors:0 dropped:0 overruns:0 frame:0
<br> TX packets:5744 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0<br> RX bytes:591811 (577.9 KiB) TX bytes:591811 (577.9 KiB)<br><br><br>And this, in /var/log/messages<br>
[root@sunspot ray]# tail /var/log/messages<br>Sep 7 06:50:31 sunspot avahi-daemon[2203]: Registering new address<br>record for xx.xx.xx.15 on eth0.<br>Sep 7 06:50:31 sunspot avahi-daemon[2203]: Registering new address<br>
record for xx.xx.xx.20 on eth0.<br>Sep 7 06:50:31 sunspot avahi-daemon[2203]: Withdrawing address record<br>for xx.xx.xx.20 on eth0.<br>Sep 7 06:50:31 sunspot avahi-daemon[2203]: Registering new address<br>record for xx.xx.xx.20
on eth0.<br>Sep 7 06:50:31 sunspot avahi-daemon[2203]: Registering new address<br>record for xx.xx.xx.21 on eth0.<br>Sep 7 06:50:31 sunspot avahi-daemon[2203]: Withdrawing address record<br>for xx.xx.xx.21 on eth0.<br>
Sep 7 06:50:31 sunspot avahi-daemon[2203]: Registering new address<br>record for xx.xx.xx.21 on eth0.<br>Sep 7 06:50:33 sunspot avahi-daemon[2203]: Registering new address<br>record for xx.xx.xx.22 on eth0.<br>Sep 7 06:50:33 sunspot avahi-daemon[2203]: Withdrawing address record
<br>for xx.xx.xx.22 on eth0.<br>Sep 7 06:50:33 sunspot avahi-daemon[2203]: Registering new address<br>record for xx.xx.xx.22 on eth0.<br><br><br>How can I get my NIC to accept traffic for these IPs?<br><br>Thanks In Advance,
<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>