Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2007 11:25:44 -0800
From:      "Michael K. Smith - Adhost" <mksmith@adhost.com>
To:        <questions@FreeBSD.org>
Subject:   PF with VLAN's - Reference Physical Interface or VLAN Interface?
Message-ID:  <17838240D9A5544AAA5FF95F8D52031602E5452C@ad-exh01.adhost.lan>

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

--PGP_Universal_900DE564_59633B3B_7BFE9ABA_58013D6B
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: QUOTED-PRINTABLE

Hello All:

Thanks to everyone for the hints on carp_alias interfaces.  On a second not=
e, we are implementing 802.1Q trunked interfaces.  So, our pre-vlan configu=
ration is:

$ext_if=3D"em1"

And an associated NAT rule is:

nat on $ext_if from $mail_in01_int to any -> $mail_in01_ext

With the addition of VLAN's, em1 won't have an IP address.  Instead, the ad=
dresses of $mail_in01_int and $mail_in01_ext will be on the VLAN interfaces=
.  So, my question is, does the rule above stay the same or should it now b=
e:

$vlan2_if=3D"vlan2"

nat on $vlan2_if from $mail_in01_int to any -> $mail_in01_ext

Regards,

Mike

--PGP_Universal_900DE564_59633B3B_7BFE9ABA_58013D6B
Content-Type: application/pgp-signature;
	name="PGP.sig"
Content-Transfer-Encoding: 7BIT
Content-Disposition: attachment;
	filename="PGP.sig"

-----BEGIN PGP SIGNATURE-----
Version: 9.7.0 (Build 867)

iQEVAwUBR1hMuPTXQhZ+XcVAAQiP4wgAtn/qlBhEQZITORg8npFlgTzkymuVD2L1
gNF0Z3nwC+fNYCMg/KIafW6L0U6li1up3aQsiZXIbH0+Pq01upCUAbzO8CuduVCm
FXJNJ+joU1MuzRjQVYpp4Kt5vvddf/344Y+LkoA4VDGsfzK5ZHfy+MUMUTWeIF7K
tuoS/5YG3fQ2mxFp/xsQbW5qFU9pipjp11SRSIirzpnb0+STaVO4mdBqpAPRSeWt
04PYzvLkwTnd001wwb4v7/o+NW7VUqPOZEKNwcJYozgvcPY4789PpTKIXR0kEuJX
6OszRYY9chq5rR+2LkpIYJp+M00oYiUR7BbXKoO5P45nIaLbsiy8gg==
=wYhw
-----END PGP SIGNATURE-----

--PGP_Universal_900DE564_59633B3B_7BFE9ABA_58013D6B--



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