Re: RE: [SLE] ping: sendto: Network is unreachable
Hi,
Thanks !!!!!!!!!!!!
Adding the word "all" in nsswitch.conf solved my problem.
Thanks, Vincent Botteman
Hey...no worries. Glad I could have been of help :-) --Thomas Adam
-----Original Message----- From: THOMAS ADAM [SMTP:1adamt71@solent.ac.uk] Sent: donderdag 4 oktober 2001 13:03 To: Vincent Botteman Cc: suse-linux-e@suse.com Subject: Re: [SLE] ping: sendto: Network is
unreachable
Hello,
Hi,
h cable :
I have two pc's connected to each other by a patc pythia : 158.64.89.41 delphi : 158.64.89.40
ive the error : PING delphi.men.lu (158.64.69.40): 56 da ta bytes
But when I try to ping from one pc to the other I rece ping: sendto: Network is unreachable ping: wro
te delphi.men.lu 64 chars, ret=-1
Output from the ifco
nfig-command :
eth0 Link encap:Ethernet HWaddr 00:D0:B
7:BE:58:9A inet addr:158.64.89.41 Bcast:158.64.89.255 M ask:255.255.255.0 inet6 addr: fe80::d0:b7be:589a/10 Scop e:Link inet6 addr: fe80::2d0:b7ff:febe:589a/10 Scope:Lin k UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX p ackets:0 errors:0 dropped:0 overruns:0 frame:0 TX packet s:10 errors:0 dropped:0 overruns:0 carrier:0
collisions: > 0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:732 (732.0 > b) Interrupt:10 Base address:0xa800 Memory:c8840000-c88 > 40c40
Output from the route-command :
Kernel IP
routing table Destination Gateway Genmask Flags Metric R ef Use Iface 158.64.89.0 * 255.255.255.0 U 0 0 0 eth0
From what you have posted, it looks like there should
be
nothing wrong, and that it should work.....
You might want to try some degenerative cases here.....
1. Just as an absolute test, try the following:
ping 127.0.0.1 -c 5
2. Also check the following file:
/etc/nsswitch.conf
make sure that the following line exists:
"hosts: dns files all"
What you have to make sure is that the word "all" is at then end.
3. *This* is not necssary, but try entering the following:
ifconfig 158.64.69.40 up
Let me know how you get on,
Regards,
Thomas Adam
Thomas Adam "The Linux Weekend Mechanic" -- <www.linuxgazette.com> A Student at the "Southampton Institute", Southampton, Hants, ENGLAND
participants (1)
-
THOMAS ADAM