[ previous ] [ next ] [ threads ]
 From:  Manuel Kasper <mk at neon1 dot net>
 To:  Roberto Greiner <mrgreiner at gmail dot com>
 Cc:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall-dev] VLANs in 1.3
 Date:  Mon, 14 Dec 2009 18:50:08 +0100
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)