Re: Dual port dual subnet question

From: Dave Uhring (daveuhring_at_yahoo.com)
Date: 09/13/04


Date: Sun, 12 Sep 2004 19:36:29 -0500

On Sun, 12 Sep 2004 17:00:06 -0700, Ben Jirou wrote:

Top posting corrected. We put our responses *below* the quoted text.

> Dave Uhring <daveuhring@yahoo.com> wrote:
>
> %On Sun, 12 Sep 2004 16:40:41 -0700, Ben Jirou wrote:
> %
> %> nat on $ext1 from 192.168.1.1/24 to any -> $ext1
> %> nat on $ext1 from 192.168.2.1/24 to any -> $ext1
> %
> %You *do* know that Class C networks are designated with a .0 as the
> last
> %quad, don't you?

> Ooops. That was a typo on the post. The pf.conf has the correct
> "*.0/24" thing.

Your $ext1 does not designate the IP address of that interface, either.

nat on $ExtIF from 192.168.0.0/24 to any -> ($ExtIF)

Is that another typo?