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  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1264180303.2784.19.camel@achroite.uk.solarflarecom.com>
Date:	Fri, 22 Jan 2010 17:11:42 +0000
From:	Ben Hutchings <bhutchings@...arflare.com>
To:	Herbert Xu <herbert@...dor.apana.org.au>
Cc:	netdev@...r.kernel.org
Subject: Re: VLAN vs bridging receive precedence

On Fri, 2010-01-22 at 16:11 +1300, Herbert Xu wrote:
> Ben Hutchings <bhutchings@...arflare.com> wrote:
> >
> > It is not clear which behaviour is 'correct'.  However it appears that
> > the XenCenter network management software currently depends on the
> > accelerated behaviour.
> 
> My question would be why would you have both VLAN and bridging
> on the same physical interface in the first place?
> 
> These two configurations are well-defined and work as expected:
> 
> 1) Bridging after VLAN: The bridge only includes the VLAN device,
> ethX.Y, not the physical ethX.
> 2) VLAN after bridging: The VLAN should be linked to the bridge
> device, i.e., brX.Y, and not the physical ethX.
> 
> So what exactly is the admin trying to achieve here?

The administrator might just be trying to bridge a VLAN to a guest.

XenCenter attaches a bridge interface ('Network') to each NIC.  The
administrator can define additional Networks which are associated with
VLANs on specific NICs; for each of these it attaches a VLAN interface
to the physical interface and a bridge interface to the VLAN interface.

Ideally people wouldn't mix tagged and untagged traffic, and then
XenCenter could refuse to bridge both a physical interface and a VLAN
attached to it.  In practice, people do mix them, and I think we need to
work out what the proper semantics are.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ