Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 06:36:00 -0800
From:      Ron 'The InSaNe One' Rosson <insane@lunatic.oneinsane.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: ipnat problem?
Message-ID:  <20010124063600.A46017@lunatic.oneinsane.net>
In-Reply-To: <20010124143026.A61137@freenix.no>; from morten@freenix.no on Wed, Jan 24, 2001 at 02:30:26PM %2B0100
References:  <20010124143026.A61137@freenix.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Morten A . Middelthon (morten@freenix.no) wrote:
> 
> I'm currently using a FreeBSD box with ipf/ipnat as a gateway for our internal
> network (10.0.0/24), and this, ofcourse, works like a charm. But(!) today I set
> up an extra net internally (10.0.1/24) for some testing purposes. Talking
> between 10.0.0/24 and 10.0.1/24 is easy, but I couldn't get any hosts on
> 10.0.1/24 to go through my ipf/ipnat box. In my ipnat config I've already got 
> 'map fxp0 10.0.0/24 -> xxx.xxx.xxx.xxx/32', and so now I added
> map fxp0 10.0.1/24 -> xxx.xxx.xxx.xxx/32' for the new net, but that didn't help.
> xxx.xxx.xxx.xxx is ofcourse not in my actual config... 
> 
> 'ipnat -l' doesn't show the new mapping I added.
> 
> The network layout looks roughly like this:
> 
> inet <-- [Host A, ipnat gateway] <-- 10.0.0/24 <-- [Host B, gateway] <-- 10.0.1/24
> 
> Any suggestions to how I might fix this problem?
> 

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.

Hope this helps

TIA
-- 
------------------------------------------------------------------------------
Ron Rosson          			      ... and a UNIX user said ...
The InSaNe One                 			      rm -rf *
insane@oneinsane.net     	            and all was /dev/null and *void()
------------------------------------------------------------------------------
      Just because I'm moody doesn't mean you're not irritating.


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010124063600.A46017>