Main repository for pfSense
Go to file
Scott Ullrich c5af8bf92a multiple vlans + spoofmac result in unexpected behaviour
Ticket #1514

Introduction
I have an acceptable workaround, so the problem is not urgent, but before i fiogured out the workaround, is was severely impacting performance (3 interfaces not operating). I am a network specialist and I am available to assist wherever possible. If the issue si considered seriousenough for a fix, I can assist in more detailed pinpointing using tcpdumps on test-platforms.

Symptoms
If a interface is using vlan tagging for virtual interfaces and also the untagged interface is using MAC address spoofing, communication fails on the tagged vlans.

Description
On interface rl1 is untagged the WAN connection. This requires a spoofed MAC address, eg using <spoofmac>00:03:6b:f7:3b:3f</spoofmac>. On interface rl1 is also a vlan/tagged interface, eg vlan0 using rl1 and vlan tag 5. The tagged interface vlan0 expects to use the original MAC address of the interface rl0. But the issue is that interface rl0 is only processing incoming packets with destination mac address spoof_mac_rl1.

Workarounds (no code change required)
acceptable configure the <spoofmac>00:03:6b:f7:3b:3f</spoofmac> on all vlan interfaces connected to interface rl1
funny start a tcpdump on the vlan interface. This will put the interface in promiscuous mode and it will process all packets. Now the packets destined for the original MAC address (and active on the vlan interface)
bypass Do not use tagged interfaces on a interface with spoofmac

Remarks
It is very confusing that when a vlan is created, the GUI a refernece shows to the physical/original MAC address, even when the MAC addres of the untagged interface is
2007-11-01 18:14:16 +00:00
boot Remove the beastie boot loader prompt and return to prior freebsd behavior. 2007-10-19 21:19:54 +00:00
cf/conf Increase net.inet.ip.intr_queue_maxlen to 1000 which is the IP input queue. 2007-08-22 18:01:11 +00:00
conf.default Increase net.inet.ip.intr_queue_maxlen to 1000 which is the IP input queue. 2007-08-22 18:01:11 +00:00
etc multiple vlans + spoofmac result in unexpected behaviour 2007-11-01 18:14:16 +00:00
root Set tcsh autologout to 0 2007-04-21 21:28:24 +00:00
sbin DHCP Renew does "too much" Ticket #1260 2007-02-23 18:35:27 +00:00
tmp If index.html, fred.png or dfuife.cgi is found remove them on upgrade. 2007-10-01 18:13:03 +00:00
usr Fix courtesey of Billm, hackathon 2007 conversation. 2007-10-29 22:00:56 +00:00