From owner-freebsd-questions Sat Sep 15 11:46:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cx175057-a.ocnsd1.sdca.home.com (cx175057-a.ocnsd1.sdca.home.com [24.13.23.40]) by hub.freebsd.org (Postfix) with ESMTP id 76B2237B40E for ; Sat, 15 Sep 2001 11:46:11 -0700 (PDT) Received: from localhost (bri@localhost) by cx175057-a.ocnsd1.sdca.home.com (8.11.6/8.11.3) with ESMTP id f8FIj2Y00840; Sat, 15 Sep 2001 11:45:02 -0700 (PDT) (envelope-from bri@sonicboom.org) Date: Sat, 15 Sep 2001 11:45:02 -0700 (PDT) From: Brian Whalen X-X-Sender: To: Cc: Subject: Re: ping fails (setup: pptp, ppp, adsl (xs4all.nl), ipf, IPv4) In-Reply-To: <20010915204109.G7106@xs4all.nl> Message-ID: <20010915114354.N829-100000@cx175057-a.ocnsd1.sdca.home.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This looks like lack of a default route, does your netstat give a row starting with the word default? See the no route to host error? Brian "Sonic" Whalen Success = Preparation + Opportunity On Sat, 15 Sep 2001 rene@xs4all.nl wrote: > Hi, I'm running a freebsd ipf firewall. This machine connects an NT box on a > 192.168.102.x network to an ADSL modem running on a physically seperate > 10.0.0.x network. > The software used to glue it together is pptp, ppp and ipf. > I've included some configuration below: > > I'd like to know why a ping from the console itself fails, while it succeeds > from the NT box. ;) > > Nothing appears in my ipf log. > > Please don't hesitate to mail me if you have more questions. > > --- /etc/ppp/ppp.conf > set log IPCP Chat Phase > set authname > set authkey > set timeout 0 > set ifaddr 0 0 > add default HISADDR > #alias enable yes > nat enable yes > > --- ping output > messenger# ping 194.109.6.66 > PING 194.109.6.66 (194.109.6.66): 56 data bytes > ping: sendto: No route to host > ping: sendto: No route to host > > --- netstat -nr output > Routing tables > > ## I've hidden my IP's, since they are irrelevant to the problem, imho. > ## = KPN ADSL gateway ip > ## = my external IP address, what the world sees > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default UGSc 3 170495 tun0 > 10/9 link#2 UC 1 0 xl0 => > 10.0.0.138 0:80:9f:24:39:7e UHLW 2 412954 xl0 664 > 127.0.0.1 127.0.0.1 UH 1 116 lo0 > 192.168.102 link#1 UC 1 0 de0 => > 192.168.102.10 0:10:5a:c0:33:b3 UHLW 3 244778 de0 782 > UH 3 18 tun0 > > --- ifconfig -a output > de0: flags=8843 mtu 1500 > inet 192.168.102.1 netmask 0xffffff00 broadcast 192.168.102.255 > ether 00:00:c5:0e:e1:61 > media: autoselect (10baseT/UTP) status: active > supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP 10baseT/UTP > xl0: flags=8843 mtu 1500 > inet 10.0.0.139 netmask 0xff800000 broadcast 10.127.255.255 > ether 00:10:5a:c0:32:13 > media: autoselect (10baseT/UTP) status: active > supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 100baseTX > lp0: flags=8810 mtu 1500 > ep1: flags=8802 mtu 1500 > ether 00:20:af:92:f1:49 > media: 10baseT/UTP > supported media: 10baseT/UTP > gif0: flags=8010 mtu 1280 > gif1: flags=8010 mtu 1280 > gif2: flags=8010 mtu 1280 > gif3: flags=8010 mtu 1280 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > ppp0: flags=8010 mtu 1500 > sl0: flags=c010 mtu 552 > faith0: flags=8000 mtu 1500 > tun0: flags=8051 mtu 1500 > inet --> netmask 0xffffff00 > Opened by PID 236 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message