Re: can't ping local 'net, even with no firewall
On Mon, Jul 23, 2001 at 09:11:41AM +0200, Michael Wood wrote:
> Use "route -n" or "netstat -rn" to disable DNS, /etc/hosts,
> /etc/networks lookups.
% netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
207.144.202.10 0.0.0.0 255.255.255.255 UH 40 0 0 ppp0
192.168.0.2 0.0.0.0 255.255.255.255 UH 40 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
0.0.0.0 207.144.202.10 0.0.0.0 UG 40 0 0 ppp0
Just for clarity, the address of eth0 is 192.168.0.1, and the other
computer on the LAN is 192.168.0.2. You can see that I tried to
explicitly add the route to 192.168.0.2.
> About your pinging problem, does it actually time out or does it
> just appear not to do anything?
It looks like it's sending packets, just not receiving them. And if I
watch the activity lights on my switch, they are flashing.
> If the latter, try "ping -n" to disable DNS lookups. (Depending
> on your ping it may be trying to resolve your 192.168 IP
> addresses before printing the responses.)
% ping -n 192.168.0.2
PING 192.168.0.2 (192.168.0.2): 56 data bytes
<here's where I wait a while, then press CTRL-C>
--- 192.168.0.2 ping statistics ---
14 packets transmitted, 0 packets received, 100% packet loss
> You could also try running tcpdump on both boxes while pinging
> to see what's going on.
The other box is a Windows NT box (so I'm even more in the dark there :(
Also, I *can* ping localhost (both "ping localhost" and "ping 127.0.0.1"
work fine), and I can even ping Internet hosts when I have ppp connection
alive.
About a week ago this worked: I could ping the other computer, and it
could load pages off my webserver, and I could even get NAT working.
Any more thoughts?
Thanks,
Matt
--
Matt Garman, garman@uiuc.edu
"I'll tip my hat to the new constitution, Take a bow for the new revolution
Smile and grin at the change all around, Pick up my guitar and play
Just like yesterday, Then I'll get on my knees and pray..."
-- Pete Townshend/The Who, "Won't Get Fooled Again"
Reply to: