Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 1999 19:15:41 +0200
From:      Barry Irwin <bvi@rucus.ru.ac.za>
To:        J McKitrick <jcm@dogma.freebsd-uk.eu.org>
Cc:        Mark Ovens <mark@dogma.freebsd-uk.eu.org>, freebsd-questions@FreeBSD.ORG
Subject:   Re: hostname resolving
Message-ID:  <19990929191541.G23989@rucus.ru.ac.za>
In-Reply-To: <Pine.BSF.4.02A.9909282138120.29734-100000@dogma.freebsd-uk.eu.org>
References:  <19990928213408.G279@marder-1> <Pine.BSF.4.02A.9909282138120.29734-100000@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue 1999-09-28 (21:38), J McKitrick wrote:
> Any idea why ping won't even work?

could be routing problems I've seen this before.

try a netstat -rn to show the routing tables. ( -n  stops it trying to do a
dns lookup)

root@server2:/usr/local/etc# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif
Expire
default            196.25.141.129     UGSc        7     5820      rl0
10/24              link#1             UC          0        0      rl0
10.0.0.255         ff:ff:ff:ff:ff:ff  UHLWb       1     1390      rl0
127.0.0.1          127.0.0.1          UH         21    32242      lo0
192.168.1          link#1             UC          0        0      rl0
192.168.1.255      ff:ff:ff:ff:ff:ff  UHLWb       2     1707      rl0

check that your ppp device is the default route.

Secondly  if this is the case try connecting just using the IP.

eg ping 192.168.1.1

or telnet 192.168.1.1 ( chosing the appropriate IP's for your ISP's
machines)

A good IP to test with is the IP of the gateway on the other side that you
are connecting to.

Barry

-- 
--------------------------------------------------------------------------
Barry Irwin 				 	IRC:  balin@zanet (#linux)
bvi@moria.org  					http://rucus.ru.ac.za/~bvi
Whois BI414		- PMPN8EZ -		http://moria.org
--------------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990929191541.G23989>