Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 14:30:26 +0100
From:      "Morten A . Middelthon" <morten@freenix.no>
To:        freebsd-stable@freebsd.org
Subject:   ipnat problem?
Message-ID:  <20010124143026.A61137@freenix.no>

next in thread | raw e-mail | index | archive | help

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?

-- 
Morten A. Middelthon
Freenix Norge
http://www.freenix.no/
--
The older I grow, the less important the comma becomes.  Let the reader
catch his own breath.
                -- Elizabeth Clarkson Zwart


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?20010124143026.A61137>