From owner-freebsd-questions Sat Sep 15 11:41:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp8.xs4all.nl (smtp8.xs4all.nl [194.109.127.134]) by hub.freebsd.org (Postfix) with ESMTP id E84EA37B410 for ; Sat, 15 Sep 2001 11:41:10 -0700 (PDT) Received: from xs4.xs4all.nl (xs4.xs4all.nl [194.109.6.45]) by smtp8.xs4all.nl (8.9.3/8.9.3) with ESMTP id UAA26754 for ; Sat, 15 Sep 2001 20:41:09 +0200 (CEST) From: rene@xs4all.nl Received: (from rene@localhost) by xs4.xs4all.nl (8.9.0/8.9.0) id UAA20169 for questions@freebsd.org; Sat, 15 Sep 2001 20:41:09 +0200 (CEST) Date: Sat, 15 Sep 2001 20:41:09 +0200 To: questions@freebsd.org Subject: ping fails (setup: pptp, ppp, adsl (xs4all.nl), ipf, IPv4) Message-ID: <20010915204109.G7106@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 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