Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2001 11:49:59 -0700 (PDT)
From:      Brian Whalen <bri@sonicboom.org>
To:        <rene@xs4all.nl>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: ping fails (setup: pptp, ppp, adsl (xs4all.nl), ipf, IPv4)
Message-ID:  <20010915114946.Y829-100000@cx175057-a.ocnsd1.sdca.home.com>
In-Reply-To: <20010915114354.N829-100000@cx175057-a.ocnsd1.sdca.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I see now it is there, whoops..

Brian "Sonic" Whalen
Success = Preparation + Opportunity


On Sat, 15 Sep 2001, Brian Whalen wrote:

> 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 <somethingOK>
> >  set authkey <somethingOK>
> >  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.
> > ## <gw-ip> = KPN ADSL gateway ip
> > ## <my-ext-ip> = my external IP address, what the world sees
> >
> > Internet:
> > Destination        Gateway            Flags     Refs     Use     Netif Expire
> > default            <gw-ip>	     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
> > <gw-ip>		   <my-ext-ip> 	      UH          3       18     tun0
> >
> > --- ifconfig -a output
> > de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex> 10baseT/UTP
> > xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
> > lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> > ep1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
> > 	ether 00:20:af:92:f1:49
> > 	media: 10baseT/UTP
> > 	supported media: 10baseT/UTP
> > gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
> > gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
> > gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
> > gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
> > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> > 	inet 127.0.0.1 netmask 0xff000000
> > ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> > sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> > faith0: flags=8000<MULTICAST> mtu 1500
> > tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
> > 	inet <my-ext-ip> --> <gw-ip> 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
>


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?20010915114946.Y829-100000>