On Aug 12, 2:47 pm, ibupro...@painkiller.example.tld (Moe Trin) wrote:
> On Sat, 11 Aug 2007, in the Usenet newsgroup comp.os.linux.networking, in
> article <1186864716.490851.58...@l22g2000prc.googlegroups. com>,
>
> Why isn't ARP working?
I guess, that is what I am trying to find out

Thanks for the input
so far, Old guy! Much appreciated!
> What does a packet sniffer (on _BOTH_ the
> invisible host and the Mac) show when the arp-cache is not set
> manually and you try to connect? The fact that packets can be
> exchanged once the Mac knows about the hardware address suggests
> something is screwed up there, but there's not enough details of
> how the network is laid out.
Maybe I should have left the Mac out of the picture as it just
complicates the matter unnecessarily. The issue also happens on the
router.
Alas, I was not yet able to run a package sniffer while 10.0.0.10 was
invisible to either the router or the Mac. When I tried just now, I
could not ping 10.0.0.10 from 10.0.0.1 ("Destination Host
Unreachable"), so I ssh'd to the Mac (10.0.0.200) to log into
10.0.0.10 from there. When I did (without having to set the arp entry,
btw. I assume this was still cached from the nightly backup script
that runs on the Mac and connects to 10.0.0.10 by first setting the
arp entry.), 10.0.0.10 all of a sudden was reachable from 10.0.0.1. I
guess I can wait until the ARP entry times out again...
> >router:
> >Kernel IP routing table
> >Destination Gateway Genmask Flags MSS Window irtt Iface
> >10.0.0.0 * 255.255.255.0 U 0 0 0 eth1
> >192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
> >99.99.99.0 * 255.255.255.0 U 0 0 0 eth2
> >169.254.0.0 * 255.255.0.0 U 0 0 0 eth2
> >default 99.99.99.1 0.0.0.0 UG 0 0 0 eth2
>
> 1. What is the primary address on eth1? You have routes to both
> 10.0.0.0/24 and 192.168.1.0/24 and if the other hosts don't know what
> the address is, things can get confusing (when 10.0.0.11 tries to figure
> out how to reply to 192.168.1.11 or vice-versa).
I do not know how to set the primary address on a device. For now, I
have disabled the 192.168.1.0 subnet but it did not make any
difference. 10.0.0.10 remained invisible
> 2. Do you _REALLY_ want a ZeroConf address (169.254.0.0/16) on a public
> address interface?
No, I didn't. This was left over from a system upgrade over the
weekend that installed the avahi zeroconf demon. I have meanwhile
disabled it and deleted the route. This made no difference again.
> >mac (10.0.0.200 via wireless DHCP at 10.0.0.254):
> >Destination Gateway Flags Refs Use Netif Expire
> >default 10.0.0.254 UGSc 14 4 en1
> >10/24 link#5 UCS 3 0 en1
> >10.0.0.1 0:40:f4:cf:96:32 UHLW 1 218 en1 1142
> >10.0.0.10 0:c0:49:fa:3c:49 UHLS 1 495 en1
> >10.0.0.200 127.0.0.1 UHS 2 1715 lo0
> >10.0.0.254 0:3:93:1e:d6:47 UHLW 13 9 en1 222
> >10.0.0.255 link#5 UHLWb 1 36 en1
> >127 127.0.0.1 UCS 0 0 lo0
> >127.0.0.1 127.0.0.1 UH 10 280557 lo0
> >169.254 link#5 UCS 0 0 en1
>
> Hmmm, are you saying that this is '10.0.0.200' and to reach anything
> you need to us a bridge at 10.0.0.254 (which from the Ethers seems to
> be something else from Apple)? 0:40:f4 is someone called "Cameo
> Communications" from Nashua, NH - but other than that, I've never
> heard of them. What is it?
yes, the Mac is 10.0.0.200 and is connected via a wireless router
(10.0.0.254), which is an old version Apple Airport. 10.0.0.254 is
connected to the hub that also connects 10.0.0.1 and 10.0.0.10. Again,
the Mac connection is probably just adding some confusion here and I
don't suspect it to be the problem, since 10.0.0.10 is also invisible
from 10.0.0.1.
> >To set up the arp cache on the Mac, I use '/usr/sbin/arp -s 10.0.0.10
> >00:C0:49:FA:3C:49'
>
> That looks correct, but why is this command needed? If 10.0.0.254 is
> a bridge, what is it's configuration like?
10.0.0.254 uses 10.0.0.1 as gateway (255.255.255.0 netmask - could
this be a problem?). It hands out IP addresses in the 10.0.0.201 to
10.0.0.252 range via DHCP. The Mac has 10.0.0.200 manually set.
let me know what other information might be useful! Again, thanks for
any input!!