Ubuntu 14.04 - Bonding 2 WIFI cards

Solution 1:

because mostly the "association" ( connection on the "physical link layer" , like plugging an ethernet cable) to wireless network is done via the mac address and thus spoofing / sending with a wrong packet will be tricky

the following hints may be helpful:

  • many routers ( and bridges) have STP ( Spanning Tree Protocol) enabled , preventing loopings at link level , but also filtering situations like the one you want ( packet comes from another port where router doesn't expect it ) STP Wikipedia Entry

  • the balance_xx modes from the bonding driver needs promiscious mode, refer here for getting your wifi card into this mode

  • the router needs client isolation off , and maybe also a patched hostapd/wpa-supplicant to accept packets that do not belong to the associated MAC address

  • as a workaround: try tinc or gretap to have an IP endpoint ,and connect this virtual tunnels to a bridge on the router side