[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weird ping behaviour


I hope someone can help me out there... I've been banging my head on the walls
for weeks now, reading volumes of documentation and even failing to find
consolation in beer :-)

I am trying to set up a two-PCs home network with an ADSL connection. I
thought it might be smart to install Open instead of linux on my gateway. This
machine's got two NICs: is connected to the linux-machine (aka, is connected to the ADSL modem. I am using an out of the
box 2.8; the network has been partially setup during install; I have not
meddled in any way with any configuration file. I join the files I thought
might be useful, including `ifconfig -a`.

To be more precise, I do have tried meddling in all sorts of ways, in all
kinds of files, have reinstalled a couple of times with slightly different
options; to no avail. So I am back to the rock bare distrib (didn't even
install zsh !).

My aim is quite simple: being able to ping both (the other machine)
and (the modem -- the IP was attributed at factory time). Alas, it
seems that only dc0 (which is is able to ping anybody. If it is
connected (by an ethernet cable) to (which is the desired
configuration), I can ping but not If it is connected to, I can ping but not (Ping indicates that the
host is down.)

To get more specific, here is an account of the most basic experimentation
I could imagine:

* Reinstall Open, configuring the network during install, meaning
attributing IP adresses to dc0 ( and dc1 (, christening
the machine "Tintagel" and nothing more. Check with 'ifconfig -a' that
everything is okay.

* reboot; ping and (this works).

* ping, which is connected to (this works -- and yet no
route has been setup for this address; maybe dc0 is the default route).

* ping, which is connected to (this should fail, and does,
since no route has been defined).

* "route add -host"; this fails:
writing to routing socket: File exists
add host gateway : File exists
(I wonder what file defines a route for

* "route delete; route add -host"; "route show"
says it is OK; but "route get" says the interface for this route is
dc0 ( Strange.

* Let's give it a try: "ping"; and then Open simply answers:
"/bsd: arpresolve: can't allocate llinfo".
Beats me. Now what does that mean ? There seems to be nothing about either
'arpresolve' of 'llinfo' using 'apropos'.

* OK, now is the worst part: after a "route flush", I can no longer ping "route get" says that the interface for this host is dc0
(! Trying "sh -x /etc/netstart" does not ressucitate

This is too much for me. I cannot comprehend how this kind of thing could
happen. Just to make sure I hadn't switched to yet another parallel
universe I removed Open, installed an out of the box RedHat 7.0 (ahem) and
everything worked fine from the start. I could ping both and by just adding the routes. I also tried moving the cards (both
Netgear FA310TX) to other PCI slots, switching them, changing the ethernet
cables and reciting the coder's prayer; to no avail.

Please! *Any* help would be *greatly* appreciated!

I absolutely need this adsl connection for last week; I am on the verge of
installing a good ol' Slack... localhost Tintagel.none Tintagel
inet NONE 
inet NONE 
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32972
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
	inet6 ::1 prefixlen 128
	inet netmask 0xff000000 
lo1: flags=8008<LOOPBACK,MULTICAST> mtu 32972
	media: Ethernet autoselect (100baseTX full-duplex)
	status: active
	inet6 fe80::2a0:ccff:feda:584c%dc0 prefixlen 64 scopeid 0x1
	inet netmask 0xffffff00 broadcast
	media: Ethernet autoselect (10baseT)
	status: active
	inet6 fe80::2a0:ccff:fed3:7400%dc1 prefixlen 64 scopeid 0x2
	inet netmask 0xffffff00 broadcast
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=10<POINTOPOINT> mtu 3000
tun1: flags=10<POINTOPOINT> mtu 3000
enc0: flags=0<> mtu 1536
enc1: flags=0<> mtu 1536
enc2: flags=0<> mtu 1536
enc3: flags=0<> mtu 1536
bridge0: flags=0<> mtu 1500
bridge1: flags=0<> mtu 1500
gre0: flags=8010<POINTOPOINT,MULTICAST> mtu 1450
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280

Visit your host, monkey.org