On 11 Jun 2004 09:04:27 +1200, Cameron Kerr
<(E-Mail Removed)> wrote:
>
>Ok, that error message is reported in ifup with this code fragment. I
>don't know what version of RH this came from, I found it on Google when
>searching for your error message.
>
> if ! arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR} ; then
> echo $"Error, some other host already uses address ${IPADDR}."
> exit 1
> fi
>
>Is arping installed on your system? `locate arping | grep bin'
>
>From the arping manual page, this is what the options mean.
>
> -q Quiet mode
>
> -c Count
>
> -w Wait this long between requests, in microseconds
>
> -D (Not an option in my version of arping (Debian Sid)), probably
> `Find duplicate replies'
>
> -I Interface (-i in my version)
>
>So I would suggest you see if you can run that command and find out
>what the result is.
>
>--
>Cameron Kerr
>(E-Mail Removed) : http://nzgeeks.org/cameron/
>Empowered by Perl!
Hmmm - I think you're on to something.
FYI, the system now has address 192.168.0.9 because we changed it at
one point in pursuing this issue.
Here's the output from arping (I removed the -q switch so we can see
the output):
/usr/sbin/arping -c 2 -w 3 -D -I eth0 192.168.0.9
ARPING 192.168.0.9 from 0.0.0.0 eth0
Unicast reply from 192.168.0.9 [00:E0:B6:03:35:5F] 0.864ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)
Now, look at this output for ifconfig -a. Note the hardware address
for eth0 and compare it to that above for arping:
/sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00

0:C9:13:21:23
inet addr:192.168.0.9 Bcast:192.168.0.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:276315 errors:0 dropped:0 overruns:0 frame:0
TX packets:236389 errors:3 dropped:0 overruns:0 carrier:3
collisions:0 txqueuelen:100
RX bytes:23771914 (22.6 Mb) TX bytes:40333161 (38.4 Mb)
Interrupt:11 Base address:0xe000 Memory:e9100000-e9100038
So, it appears that in arping eth0 is thought to have HW address of
00:E0:B6:03:35:5F and in ifconfig it thinks etho has HW address of
00

0:C9:13:21:23 ? Am I reading this right ? If so I would guess I
have some kind of hardware conflict here - perhaps w/ a 2nd NIC ?
To further confuse the issue, my gateway at 192.168.0.1 appears to
have HW address 00:E0:B6:03:35:5F:
/sbin/arp -a
? (192.168.0.1) at 00:E0:B6:03:35:5F [ether] on eth0
Any clue as to what is going on here ?
-Mark