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
jharvell+lists.bridge at dogpad.net
2011-Apr-29 16:36 UTC
[Bridge] no wireless interfaces?
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
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 at 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 at lists.linux-foundation.org > https://lists.linux-foundation.org/mailman/listinfo/bridge >