Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 16:38:10 +0400
From:      "dotslash" <dotslash@linif.org>
To:        "fq" <freebsd-questions@FreeBSD.ORG>
Subject:   can't ping localhost
Message-ID:  <01a501c0cbf2$578bfc90$2903010a@atg.altayer.com>

next in thread | raw e-mail | index | archive | help
i have compiled ipfilter in the kernel, applied the ipfilter patch (i'm
using fbsd 4.2-release), rebooted and checked.  i  can ping, ftp, lynx
remote hosts fine but i can't ping my localhost.  the default policy for
ipfilter in my kernel is block all but i've even set a "pass in quick on xl0
all" and "pass out quick on xl0 all" in /etc/ipf.rules and used it without
effect.  here's the output from netstat -rn:

Destination        Gateway            Flags     Refs     Use     Netif
Expire
default            xx.xx.xx.xx          UGSc        3        0      xl0
127.0.0.1          127.0.0.1          UH          0       12      lo0


if i ping localhost i get:

PING localhost (127.0.0.1): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host


i know something is wrong as one should be able to ping localhost right?  i
just couldn't find out what i did that caused this.


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?01a501c0cbf2$578bfc90$2903010a>