bridge.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [Bridge] no wireless interfaces?
@ 2011-04-29 16:33 Joe Harvell
  2011-04-30  3:26 ` Joel Wiramu Pauling
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Harvell @ 2011-04-29 16:33 UTC (permalink / raw)
  To: Bridge

I tried to bridge a wireless interface to a wired Ethernet interface,
and it failed with "Operation not supported."

Looking at the kernel code, it seems like this is intentional.  I
noticed the following in br_add_if:

        /* No bridging devices that dislike that (e.g. wireless) */
        if (dev->priv_flags & IFF_DONT_BRIDGE)
                return -EOPNOTSUPP;

I'm curious to know why this is not supported.

---
Joe


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bridge] no wireless interfaces?
@ 2011-04-29 16:36 jharvell+lists.bridge
  2011-04-29 16:48 ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: jharvell+lists.bridge @ 2011-04-29 16:36 UTC (permalink / raw)
  To: Bridge@lists.linux-foundation.org

I tried to bridge a wireless interface to a wired Ethernet interface,
and it failed with "Operation not supported."

Looking at the kernel code, it seems like this is intentional.  I
noticed the following in br_add_if:

        /* No bridging devices that dislike that (e.g. wireless) */
        if (dev->priv_flags & IFF_DONT_BRIDGE)
                return -EOPNOTSUPP;

I'm curious to know why this is not supported.

-- 
---
Joe

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bridge] no wireless interfaces?
  2011-04-29 16:36 jharvell+lists.bridge
@ 2011-04-29 16:48 ` Stephen Hemminger
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Hemminger @ 2011-04-29 16:48 UTC (permalink / raw)
  To: jharvell+lists.bridge@dogpad.net; +Cc: Bridge@lists.linux-foundation.org

On Fri, 29 Apr 2011 11:36:28 -0500
"jharvell+lists.bridge@dogpad.net" <jharvell+lists.bridge@dogpad.net> wrote:

> I tried to bridge a wireless interface to a wired Ethernet interface,
> and it failed with "Operation not supported."
> 
> Looking at the kernel code, it seems like this is intentional.  I
> noticed the following in br_add_if:
> 
>         /* No bridging devices that dislike that (e.g. wireless) */
>         if (dev->priv_flags & IFF_DONT_BRIDGE)
>                 return -EOPNOTSUPP;
> 
> I'm curious to know why this is not supported.

See discussion on netdev. Basically without some form of MAC spoofing
(NAT at level 2); it is not possible to bridge in station mode.

-- 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bridge] no wireless interfaces?
  2011-04-29 16:33 [Bridge] no wireless interfaces? Joe Harvell
@ 2011-04-30  3:26 ` Joel Wiramu Pauling
  0 siblings, 0 replies; 4+ messages in thread
From: Joel Wiramu Pauling @ 2011-04-30  3:26 UTC (permalink / raw)
  To: Joe Harvell; +Cc: Bridge

Because 802.11a/b/g/n does odd things with mac headers which make
bridging them sometimes not work as expected.

On 30 April 2011 04:33, Joe Harvell <joe.harvell@tektronix.com> wrote:
> I tried to bridge a wireless interface to a wired Ethernet interface,
> and it failed with "Operation not supported."
>
> Looking at the kernel code, it seems like this is intentional.  I
> noticed the following in br_add_if:
>
>        /* No bridging devices that dislike that (e.g. wireless) */
>        if (dev->priv_flags & IFF_DONT_BRIDGE)
>                return -EOPNOTSUPP;
>
> I'm curious to know why this is not supported.
>
> ---
> Joe
>
> _______________________________________________
> Bridge mailing list
> Bridge@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/bridge
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-30  3:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-29 16:33 [Bridge] no wireless interfaces? Joe Harvell
2011-04-30  3:26 ` Joel Wiramu Pauling
  -- strict thread matches above, loose matches on Subject: below --
2011-04-29 16:36 jharvell+lists.bridge
2011-04-29 16:48 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).