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

Re: can't ping local 'net, even with no firewall



On Sun, Jul 22, 2001 at 02:10:07PM -0500, Matthew Garman wrote:
> On Sun, Jul 22, 2001 at 08:57:41PM +0200, Jörgen Johansson wrote:
> > do you ping with host names or ip adress ?
> > how about default routes gateway netmask ?
> 
> I am trying to ping with ip addresses (e.g. ping 192.168.0.2).
> 
> Here is the results of route:
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> generic10.infoa *               255.255.255.255 UH    0      0        0 ppp0
> home            *               255.255.255.0   U     0      0        0 eth0
> default         generic10.infoa 0.0.0.0         UG    0      0        0 ppp0
> 
> Somewhere (not sure where :), "home" became an alias for
> 192.168.0.0/24, because if I issue the following command:
[snip]

See /etc/networks (analogous to /etc/hosts)

Use "route -n" or "netstat -rn" to disable DNS, /etc/hosts,
/etc/networks lookups.

About your pinging problem, does it actually time out or does it
just appear not to do anything?

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.)

You could also try running tcpdump on both boxes while pinging
to see what's going on.

-- 
Michael Wood        | Tel: +27 21 762 0276 | http://www.kingsley.co.za/
wood@kingsley.co.za | Fax: +27 21 761 9930 | Kingsley Technologies



Reply to: