From owner-freebsd-stable  Wed Jan 24  7:40:24 2001
Delivered-To: freebsd-stable@freebsd.org
Received: from netcabo.pt (mail.netcabo.pt [212.113.161.135])
	by hub.freebsd.org (Postfix) with ESMTP id BD95137B401
	for <freebsd-stable@freebsd.org>; Wed, 24 Jan 2001 07:40:05 -0800 (PST)
Received: from netcabo ([213.22.31.177]) by netcabo.pt  with Microsoft SMTPSVC(5.5.1877.537.53);
	 Wed, 24 Jan 2001 15:37:03 +0000
From: "Bruno Miguel" <brunomiguel@netcabo.pt>
Organization: Artists, Inc.
To: freebsd-stable@freebsd.org
Date: Wed, 24 Jan 2001 15:38:18 -0000
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Re: ipnat problem?
Reply-To: brunomiguel@netcabo.pt
Message-ID: <3A6EF6EA.3332.A2053@localhost>
In-reply-to: <20010124063600.A46017@lunatic.oneinsane.net>
References: <20010124143026.A61137@freenix.no>; from morten@freenix.no on Wed, Jan 24, 2001 at 02:30:26PM +0100
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: owner-freebsd-stable@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

> I would try replacing this entry:
>  map fxp0 10.0.0/24 -> xxx.xxx.xxx.xxx/32
> with
>  map fxp0 10.0.0/23 -> xxx.xxx.xxx.xxx/32
> 
> I assume you are using class C subnets.
> 

map fxp0 10.0.0.0/24 -> ip/32
map fxp0 10.0.1.0/24 -> ip/32

or simply 

map fxp0 10.0.0.0/16 -> ip/32

now, you have to ipnat -FC -f /etc/natrules if your config is at /etc/natrules... :)
ipnat -l *has* to show you that. Use x.y.z.w/ll formatting.


      
      ...:-=>> The freaking Mail Band <<=-:...
                  hununu@netcabo.pt
             D.E.Q. @ I.S.T. - Portugal


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message