Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Sep 2005 00:09:37 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Stephen Moore <sjmoore@sympatico.ca>
Cc:        freebsd-net@freebsd.org
Subject:   Re: NAT over multiple subnets
Message-ID:  <43210B01.4040801@mac.com>
In-Reply-To: <BAYC1-PASMTP04DF5DB5137C49CCC062FFD2980@cez.ice>
References:  <BAYC1-PASMTP04DF5DB5137C49CCC062FFD2980@cez.ice>

next in thread | previous in thread | raw e-mail | index | archive | help
Stephen Moore wrote:
[ ...chaining multiple NATs... ]
> Any response appreciated.

The simplest way to deal with that is to add interfaces to the machine running 
natd and put one NIC on each distinct subnet.

You can also use supernetting to combine a 192.168.1.0/24 subnet and a 
192.168.2.0/24 subnet by giving your natd box a /22 netmask instead.  You might 
also need to set up a route pointing to the 192.168.1.0/24 subnet on the natd 
box, so it knows where to send the traffic.

-- 
-Chuck




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