Configuring Vlans with Wan & Lan
-
New to pfsense. Trying to setup a two layer firewall with dmz on a test/poc VMware infra along the lines of the below:
Internet
|
intWan0 / 10.0.20.1/24 (Vlan0) (Will be ISP assigned)
-EdgeFW
IntLan0 / 10.0.15.1/24 (Vlan1)
|
intLan1 / 10.0.14.1/24 (Vlan2)
DMZFW—intLan2 / 10.0.13.1/24 (Vlan3) — AppServ intLan3 / 10.0.12.1/24 (Vlan4)
|
IntLan4 / 10.0.12.2/24 (Vlan5)
InnerFW
IntLan5 / 10.0.81.1/24 (Vlan6)
|
|
IntLan6
CorpNetMy question is regarding Vlan addressing for the Wan / Lan interfaces. I’ve reviewed the netgate documentation on Vlans and its light in this area.
Whats the correct procedure for configuring the vlans for the Lan/ Wan interfaces?
Setting vlans during the installation / cli setup assigning vlans didn’t seem to work, should we be specifying static addresses first at cli then through the gui screen configure vlans and assign to parents and adding routing/ fw rules thereafter?
Thanks
Nathan -
@nmpuk said in Configuring Vlans with Wan & Lan:
IntLan0 / 10.0.15.1/24 (Vlan1)
|
intLan1 / 10.0.14.1/24 (Vlan2)How do you expect these to talk to each other? If they are in different vlans (layer2) and even different networks at layer 3?
I have a feeling you don't actually understand what a vlan is..
-
@johnpoz That would be a typo. As you can see correctly shown further down.
Any thoughts on my question above?
-
@nmpuk where are the corrections - that diagram makes no sense..
DMZFW—intLan2 / 10.0.13.1/24 (Vlan3) — AppServ intLan3 / 10.0.12.1/24 (Vlan4) | IntLan4 / 10.0.12.2/24 (Vlan5) InnerFW
And here you have the same network in 2 different vlans? and then also '
Assigning vlans works just fine during first setup.. But it's never going to work like you have it drawn.
If you can't take the time to actually draw up correctly what you want - how is anyone going to help you.
So your going to have 3 firewalls running on a VM.. Why would you need to setup vlans in the first place in pfsense? Vlans are when traffic is tagged.. Just put your different interfaces in different port groups.. No real reason to tag anything on pfsense. Only place you would might need to tag is when leaving the vm host, and again no reason to tag that in pfsense. You could but then the port group on your vm host would need to be set to pass the tags.