dladm(1M) text under add-bridge subcommand states that it is possible to
bridge wireless links.

    dladm add-bridge [-R root-dir] -l link [-l link...] bridge-
     name
[...]
         The links assigned to a bridge must not also  be  VLANs,
         VNICs,  or  tunnels.  Only  physical Ethernet datalinks,
         aggregation  datalinks,  wireless  links,  and  Ethernet
         stubs are permitted to be assigned to a bridge.
[...]

The bridging spec also states support for wireless links:

      In this initial version, the links must also be Ethernet type,
      which includes 802.3 and 802.11 media.  Bridging is well-defined
      over a few other media, and there are some dodgy ways to make it
      work on still others, but those cases are subjects for a future
      release.


But in dladm.c we have restricted the media to the following:
7900                 if (media != DL_ETHER && media != DL_100VG &&
7901                     media != DL_ETH_CSMA && media != DL_100BT)
7902                         die("%s interface %s cannot be bridged",
7903                             dladm_media2str(media, pointless), links[n]);

So I believe the code in dladm.c should be fixed to allow DL_WIFI. I will
file a bug to make the change. 

Rishi
_______________________________________________
rbridges-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/rbridges-dev

Reply via email to