I am running two FreeBSD servers both running Stable 11.1 r328125. Each machine has a onboard intel nic that uses the em(4) driver. Each machine has a VLAN tagged interface on vlan40. They are both plugged into a VLAN capable switch tp-link TL-SG108E.
The two machines cannot communicate with each other.
On the switch I have set port 1 and 2 to be tagged for vlan40.
On the FreeBSD servers I created the vlan interfaces
Server 1
Server 2
The output for each vlan40 on each server looks like this
vlan40: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3<RXCSUM,TXCSUM> ether 0c:54:a5:52:63:2f inet 192.168.40.1 netmask 0xffffff00 broadcast 192.168.40.255 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: active vlan: 40 vlanpcp: 0 parent interface: em0 groups: vlan
I have upgraded the firmware of the switch and it still doesn't work. I have also tried setting the ports to do untagged 40 and disabling the vlan interfaces and the two servers can communicate.
When I test with tagged 40 and use the vlan interfaces they cannot ping each other. PF is not running on either machine and there is no firewall between the two. They are simply on the same subnet and I am trying to establish a basic ping.
The two machines cannot communicate with each other.
On the switch I have set port 1 and 2 to be tagged for vlan40.
On the FreeBSD servers I created the vlan interfaces
Server 1
Code:
cloned_interfaces="vlan40"
ifconfig_vlan40="inet 192.168.40.1/24 vlan 40 vlandev em0"
Server 2
Code:
cloned_interfaces="vlan40"
ifconfig_vlan40="inet 192.168.40.2/24 vlan 40 vlandev em0"
The output for each vlan40 on each server looks like this
vlan40: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3<RXCSUM,TXCSUM> ether 0c:54:a5:52:63:2f inet 192.168.40.1 netmask 0xffffff00 broadcast 192.168.40.255 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: active vlan: 40 vlanpcp: 0 parent interface: em0 groups: vlan
I have upgraded the firmware of the switch and it still doesn't work. I have also tried setting the ports to do untagged 40 and disabling the vlan interfaces and the two servers can communicate.
When I test with tagged 40 and use the vlan interfaces they cannot ping each other. PF is not running on either machine and there is no firewall between the two. They are simply on the same subnet and I am trying to establish a basic ping.