Date: Wed, 08 Apr 1998 21:11:12 -0700 From: Arve Ronning <arve.ronning@ah.telia.no> To: freebsd-isdn@FreeBSD.ORG Subject: [Fwd: Re: I4B & NAT] Message-ID: <352C4A60.70A1@ah.telia.no>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------EFB1BB67D84 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sorry, forgot to CC: the list :( -Arve --------------EFB1BB67D84 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <352C39D0.2EEC@ah.telia.no> Date: Wed, 08 Apr 1998 20:00:32 -0700 From: Arve Ronning <arve.ronning@ah.telia.no> X-Mailer: Mozilla 3.03 (Win16; I) MIME-Version: 1.0 To: Poul-Henning Kamp <phk@critter.freebsd.dk> Subject: Re: I4B & NAT References: <3323.892053564@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Poul-Henning Kamp wrote: > > >Also, ping and nslookup fails from any other internal host. > > > >So: why doesn't this work ? > >(I know, it's probably a screw-up caused by my ignorance:). > >Any help would be appreciated. > > > >Any clues in the logs below ? > > Did you remember to turn on ip forwarding in /etc/{rc.conf|sysconfig} ? > Yes (or so I believe:), with the /etc/rc.conf line gateway_enable="YES" I believe that packets _are_ being forwarded from the local host 'Internal' to the ISP because natd says (from the original post): Out [ICMP] 172.16.3.40 -> 10.0.0.1 aliased to 0.0.0.0 -> 10.0.0.1 In [ICMP] 10.0.0.1 -> 192.193.194.240 aliased to 10.0.0.1 -> 192.193.194.240 where 'Internal' is 172.16.3.40; isppp0 on 'Gate' (my FreeBSD router/gateway box) is 192.193.194.240, and 10.0.0.1 is the ISP's host which I'm trying to ping. So I believe the exchange should be Out [ICMP] 172.16.3.40 -> 10.0.0.1 aliased to 0.0.0.0 -> 10.0.0.1 In [ICMP] 10.0.0.1 -> 192.193.194.240 aliased to 10.0.0.1 -> 172.16.3.40 ----------- Does this sound correct ? BTW, /etc/rc.conf also contains router_enable="NO" could that be my problem ? Regards. -Arve --------------EFB1BB67D84-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?352C4A60.70A1>