Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2004 12:26:38 -0600
From:      Nathan Kinkade <nkinkade@ub.edu.bz>
To:        Marty Landman <MLandman@face2interface.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: newbie: no route to host
Message-ID:  <20040216182638.GE17922@nkinkade>
In-Reply-To: <6.0.0.22.0.20040216124447.079e2b18@pop.face2interface.com>
References:  <6.0.0.22.0.20040216124447.079e2b18@pop.face2interface.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--OAsA6xQjj2jRKPG2
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 16, 2004 at 12:53:09PM -0500, Marty Landman wrote:
> Sorry, I have looked around and also am going to d/l=20
> http://www.freebsd.org/doc/en/ later today so once I run htdig on my loca=
l=20
> doc site these sorts of things may be easier for me look up.
>=20
> Meantime I reinstalled fbsd 4.8 rel last week and don't know how to fix m=
y=20
> internet connection.
>=20
>=20
> %ping -c2 freebsd.org
> PING freebsd.org (216.136.204.21): 56 data bytes
> ping: sendto: No route to host
> ping: sendto: No route to host
>=20
> --- freebsd.org ping statistics ---
> 2 packets transmitted, 0 packets received, 100% packet loss
> %
>=20
> My lan has dialup through 192.168.0.1 [delliver] which shares using ics o=
n=20
> xp. Works fine for my rh9, debian woody, and w98 boxes and used to work=
=20
> fine on this too till I started over again.
>=20
> Also,
>=20
> %ifconfig -a
> ep0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 192.168.0.7 netmask 0xffffff00 broadcast 192.168.0.255
>         inet6 fe80::220:afff:fe4d:24b7%ep0 prefixlen 64 scopeid 0x1
>         ether 00:20:af:4d:24:b7
>         media: Ethernet 10baseT/UTP
> lp0: flags=3D8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> faith0: flags=3D8002<BROADCAST,MULTICAST> mtu 1500
> lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
>         inet 127.0.0.1 netmask 0xff000000
> ppp0: flags=3D8010<POINTOPOINT,MULTICAST> mtu 1500
> sl0: flags=3Dc010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> %
>=20
>=20
> Thanks in advance.
>=20
> Marty Landman   Face 2 Interface Inc 845-679-9387

Do you have a default route?  Check out, and post, your systems routing
table using the command `netstat -rn`.  If you don't have a default
route you can add one with something like:
# route add default 192.168.0.1

Then add the line:

defaultrouter=3D"192.168.0.1"

to the file /etc/rc.conf and it will automatically setup the route at
boot time.

Nathan
--=20
gpg --keyserver pgp.mit.edu --recv-keys D8527E49

--OAsA6xQjj2jRKPG2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQFAMQteO0ZIEthSfkkRAjDrAKDpAVSQBNsScVk4hHrJ7d/dpKrzLwCff7Ji
880GMuz4669DUjiZuv2Q0eA=
=tW47
-----END PGP SIGNATURE-----

--OAsA6xQjj2jRKPG2--



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