From owner-freebsd-isdn Wed Apr 8 12:12:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA04554 for freebsd-isdn-outgoing; Wed, 8 Apr 1998 12:12:23 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from mailc.telia.com (root@mailc.telia.com [194.22.190.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA04548 for ; Wed, 8 Apr 1998 12:12:14 -0700 (PDT) (envelope-from arve.ronning@ah.telia.no) Received: from d1o203.telia.com (root@d1o203.telia.com [195.204.220.241]) by mailc.telia.com (8.8.8/8.8.8) with ESMTP id VAA15137 for ; Wed, 8 Apr 1998 21:12:10 +0200 (MET DST) Received: from t3o201p43.telia.com (t3o201p43.telia.com [195.204.216.163]) by d1o203.telia.com (8.8.5/8.6.12) with SMTP id VAA06732 for ; Wed, 8 Apr 1998 21:12:07 +0200 (MET DST) X-Authentication-Warning: d1o203.telia.com: t3o201p43.telia.com [195.204.216.163] didn't use HELO protocol Message-ID: <352C4A60.70A1@ah.telia.no> Date: Wed, 08 Apr 1998 21:11:12 -0700 From: Arve Ronning X-Mailer: Mozilla 3.03 (Win16; I) MIME-Version: 1.0 To: freebsd-isdn@FreeBSD.ORG Subject: [Fwd: Re: I4B & NAT] Content-Type: multipart/mixed; boundary="------------EFB1BB67D84" Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 X-Mailer: Mozilla 3.03 (Win16; I) MIME-Version: 1.0 To: Poul-Henning Kamp 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