newbie: no route to host
Nathan Kinkade
nkinkade at ub.edu.bz
Mon Feb 16 10:30:36 PST 2004
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
> http://www.freebsd.org/doc/en/ later today so once I run htdig on my local
> doc site these sorts of things may be easier for me look up.
>
> Meantime I reinstalled fbsd 4.8 rel last week and don't know how to fix my
> internet connection.
>
>
> %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
>
> --- freebsd.org ping statistics ---
> 2 packets transmitted, 0 packets received, 100% packet loss
> %
>
> My lan has dialup through 192.168.0.1 [delliver] which shares using ics on
> xp. Works fine for my rh9, debian woody, and w98 boxes and used to work
> fine on this too till I started over again.
>
> Also,
>
> %ifconfig -a
> ep0: flags=8843<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=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
> lo0: flags=8049<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=8010<POINTOPOINT,MULTICAST> mtu 1500
> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> %
>
>
> Thanks in advance.
>
> 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="192.168.0.1"
to the file /etc/rc.conf and it will automatically setup the route at
boot time.
Nathan
--
gpg --keyserver pgp.mit.edu --recv-keys D8527E49
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040216/45062085/attachment.bin
More information about the freebsd-questions
mailing list