On 14.12.2009, at 18:35, Roberto Greiner wrote:
> The problem I ran into is that when trying to create vlans, it didn´t work. The web page (and
console) says that everything was set properly, but the network does not work. I´ve used Wireshark
to read the packets coming out of the Monowall box, and confirmed that the packets are coming out
without any vlan tag.
> Is that a bug on the re driver? Monowall?
Most likely a bug in either FreeBSD 6.4's if_re or Xen. Real-world RealTek controllers that use the
re(4) driver support hardware based VLAN tagging, and FreeBSD uses that feature if it's available.
Perhaps it's a problem in the interaction between FreeBSD and Xen? (e.g. FreeBSD thinks the virtual
NIC does "hardware" based VLAN tagging, when in fact it does not)
You could try disabling VLAN hardware tagging by entering the following commands on
ifconfig re0 -vlanhwtag
ifconfig re1 -vlanhwtag
(only lasts until the next reboot)