From owner-freebsd-questions Thu Jun 12 04:45:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA24164 for questions-outgoing; Thu, 12 Jun 1997 04:45:36 -0700 (PDT) Received: from mail.EUnet.hu (www.eunet.hu [193.225.28.100]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA24159 for ; Thu, 12 Jun 1997 04:45:33 -0700 (PDT) Received: by mail.EUnet.hu, id NAA17585; Thu, 12 Jun 1997 13:45:25 +0200 Received: (from zgabor@localhost) by CoDe.hu (8.7.5/8.7.3) id NAA00545; Thu, 12 Jun 1997 13:09:51 +0200 (MET DST) From: Zahemszky Gabor Message-Id: <199706121109.NAA00545@CoDe.hu> Subject: Re: natd and 2.1.7 ? To: freebsd-questions@freebsd.org (FreeBSD questions) Date: Thu, 12 Jun 1997 13:09:51 +0200 (MET DST) Cc: gvw@brainaid.diginet.de In-Reply-To: from Guido von Walter at "Jun 11, 97 02:19:42 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi. > > I'm running a 2.1.7 box with an isdn connection to a local isp. To > give internet access to the local network (running a 192.168 network) > I would like to use ip aliasing with natd. > This seems to require a 2.2 kernel. > ppp aliasing is not an option as I'm using raw HDLC without ppp with > the bisdn package. > Is there an alternative to upgrading the system to 2.2? I think - but don't know! -, that Darren Reed's IP-FILTER is good for you, it has NAT in it. Bye, Gabor -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"