Will FreeS/WAN work on a VLAN (802.1q) network?
Yes, FreeSwan works fine, though some network drivers have problems with jumbo sized ethernet frames. If you used interfaces=%defaultroute you do not need to change anything, but if you specified an interface (eg eth0) then remember you must change that to reflect the VLAN interface (eg eth0.2 for VLAN ID 2). The “eepro100” module is known to be broken, use the e100 driver for those cards instead (included in 2.4 as ‘alternative driver’ for the Intel EtherExpressPro/100. You do not need to change any MTU setting (those are workarounds that are only needed for buggy drivers) This FAQ contributed by Paul Wouters.