Hi
I've been trying to get freenas working with my multiple vlans but I'm not convinced it's working how it should.
I've the following:
Vlan 1 (default), which is home to the 192.168.1.0/24 network running servers etc, and then, vlan 4, running 192.168.2.0/24 network, with PCs etc.
Ports for freenas is in vlan 1, but tagged with vlan 3 also.
The physical interface has nothing on it, I created two vlan intefaces both with the same parent interface (em0), I'm not sure if this is correct, but essentially, I added two vlans within the vlans tab, after this I can could add an interface with the nic as the the vlan I created, so I did this and removed any ip address information on the em0 interface.
ifconfig on the box looks like:
With this setup, I seem have a few connection issues. I did observe that I can see traffic for 192.168.10.0/24 when i run:
tcpdump -ni em0 vlan 4
So I think stuff is leaking into the wrong vlans etc.
I've been trying to get freenas working with my multiple vlans but I'm not convinced it's working how it should.
I've the following:
Vlan 1 (default), which is home to the 192.168.1.0/24 network running servers etc, and then, vlan 4, running 192.168.2.0/24 network, with PCs etc.
Ports for freenas is in vlan 1, but tagged with vlan 3 also.
The physical interface has nothing on it, I created two vlan intefaces both with the same parent interface (em0), I'm not sure if this is correct, but essentially, I added two vlans within the vlans tab, after this I can could add an interface with the nic as the the vlan I created, so I did this and removed any ip address information on the em0 interface.
ifconfig on the box looks like:
Code:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO> ether 68:05:ca:23:7f:40 inet 192.168.1.108 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=9<PERFORMNUD,IFDISABLED> media: Ethernet autoselect (1000baseT <full-duplex>) status: active vlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=103<RXCSUM,TXCSUM,TSO4> ether 68:05:ca:23:7f:40 inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=9<PERFORMNUD,IFDISABLED> media: Ethernet autoselect (1000baseT <full-duplex>) status: active vlan: 1 parent interface: em0 vlan4: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=103<RXCSUM,TXCSUM,TSO4> ether 68:05:ca:23:7f:40 inet 192.168.2.7 netmask 0xffffff00 broadcast 192.168.2.255 nd6 options=9<PERFORMNUD,IFDISABLED> media: Ethernet autoselect (1000baseT <full-duplex>) status: active vlan: 4 parent interface: em0
With this setup, I seem have a few connection issues. I did observe that I can see traffic for 192.168.10.0/24 when i run:
tcpdump -ni em0 vlan 4
So I think stuff is leaking into the wrong vlans etc.