lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 23 Jan 2010 10:26:18 +1300
From:	Herbert Xu <herbert@...dor.apana.org.au>
To:	Ben Hutchings <bhutchings@...arflare.com>
Cc:	netdev@...r.kernel.org
Subject: Re: VLAN vs bridging receive precedence

On Fri, Jan 22, 2010 at 08:34:56PM +0000, Ben Hutchings wrote:
. 
> As I said, it attaches a bridge interface to each NIC (physical
> interface) to start with - whether or not the administrator chooses to
> bridge the NIC to any guest interfaces.  So it doesn't work without VLAN
> receive acceleration.

That should work fine, as long as it doesn't also attach a VLAN
device to the same physical device.  The VLAN device should instead
be attached to the bridge device.

No you won't get VLAN acceleration, but really the cost wouldn't
be worth it anyway.

> And if you are going to mix them, on a virtualised server you may want
> to bridge them both to guests, separately.  That seems to require either
> that a VLAN interface and a bridge interface can be attached to the
> physical interface, with the VLAN interface taking precedence on
> receive; or that a virtual interface accepting only untagged traffic can
> be attached to the physical interface.

You mean you want to bridge both the physical device and VLAN
devices on top of it? Again it works fine if you set it up right.
You first create a bridge which includes the physical device,
then you add a VLAN on top of the bridge, and not the physical
device, finally you bridge that VLAN device.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists