pfsense/etc/inc
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
..
m0n0 global s/[wW]ebGUI/webConfigurator/ - brought up via ticket #1427 2007-10-17 00:25:25 +00:00
array_intersect_key.inc MFC array_intersect_key.inc 2005-12-03 23:42:58 +00:00
auth.inc Remove trailing space / cr 2007-05-27 00:25:58 +00:00
authgui.inc Fix field display on login screen 2007-08-06 02:49:13 +00:00
captiveportal.inc Unbreak captive portal images. 2007-06-09 20:54:54 +00:00
config.inc Move RRD upgrade code inline with 1.2 2007-10-15 21:11:04 +00:00
dyndns.class Remove trailing space / cr 2007-05-27 00:25:58 +00:00
filter.inc Lookup the gateway ip for rules which reference gateways by name 2007-10-19 20:11:51 +00:00
functions.inc Remove trailing space / cr 2007-05-27 00:25:58 +00:00
globals.inc Bump global config version to 4.1 for releng_1 2007-10-15 21:11:54 +00:00
interfaces.inc multiple vlans + spoofmac result in unexpected behaviour 2007-11-01 18:14:16 +00:00
lb.inc Remove trailing newline 2006-01-18 21:05:37 +00:00
notices.inc * Turn off led earlier in function to avoid return 2007-01-29 21:27:36 +00:00
openvpn.inc Ticket 1709: fixed typo in OpenVPN cfg-page 2007-10-24 19:41:22 +00:00
PEAR.inc Unbreak radius auth 2006-10-02 00:51:38 +00:00
pfsense-utils.inc Define ifconfig command 2007-10-29 05:59:27 +00:00
pkg-utils.inc Remove trailing space / cr 2007-05-27 00:25:58 +00:00
radius.inc Somehow pear.inc was commited to repo as PEAR.inc 2007-02-27 17:31:25 +00:00
service-utils.inc remove part of solution of problem solved elsewhere 2007-06-21 13:07:02 +00:00
services.inc Ticket 1458: Add "option host-name" to dhcpd.conf 2007-09-25 19:47:34 +00:00
shaper.inc Remove trailing space / cr 2007-05-27 00:25:58 +00:00
smtp.inc Import smtp.inc which allows sending e-mails from PHP. This will be used later down the road for the automatic logging/emailing system. This will also allow pfSense developers to begin e-mail equipping portions of the system as well. 2007-05-02 21:46:31 +00:00
system.inc Improve fall through logic 2007-10-19 19:40:28 +00:00
util.inc Remove trailing space / cr 2007-05-27 00:25:58 +00:00
vpn.inc Adding keep alive host to IPsec causes warning in webGUI 2007-11-01 17:54:41 +00:00
vslb.inc Correct is_array() check. Suggested-by: Bill M 2007-04-21 23:39:18 +00:00
xmlparse.inc Add prelimenary Routing page. 2007-10-19 19:10:16 +00:00
xmlrpc_client.inc Remove trailing space / cr 2007-05-27 00:25:58 +00:00
xmlrpc_server.inc Remove trailing space / cr 2007-05-27 00:25:58 +00:00
xmlrpc.inc Remove logging on target nodes, the primary is keeping track. 2006-05-02 21:57:40 +00:00