Hello to all,
I have a question about Wireless Bonding that I will be very glade to listen your advise.
I know that is possible to do LACP (802.3ad Link Aggregation Control Protocol) in a Debian box with 2 wired interfaces.
You may think why? And the answer is: For the network load to be balanced across more links, and because of bandwidth limitations.
I will need to combine two physical Ethernet links or ports, into one logical link via channel bonding. Of course this solution required manual configuration on both sides of the aggregation, and I mentioned identical I mean that both support 802.3ad. Like others linux distributions I'm using ifenslave, miitools, etc.
To do my wired bonding/aggregation I follow this link »linux-ip.net/html/ether-bonding.html (the difference is that I chose mode=0) but is all ok, up and running.
After this I think... why not try to do bonding of 2 wifi cards also, the ath0 and ath1 that I have.
Tried but when i add the second wifi device ( ifenslave bond0 wlan1 )its mac gets changed into the same as the first device, and 2 ap's with the same mac can't be good, how do i get arround this? I tried what was written above and also did some Googling, but every way that I try seems to work fine until 2 wireless devices are bonded. When that happens they both disconnect and reconnect like crazy.
Code:
#modprobe bonding mode=0 miimon=100 downdelay=200 updelay=200
#ifconfig bond0
#ifenslave bond0 ath0 ath1
My ifconfig output:
bond0 Link encap:Ethernet HWaddr A4:BA

B:10:30:1E
inet addr:132.207.108.7 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a6ba:dbff:fe10:301e/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:572665 errors:0 dropped:0 overruns:0 frame:0
TX packets:145041 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:320433098 (305.5 Mi

TX bytes:11531560 (10.9 Mi
ath0 Link encap:Ethernet HWaddr A4:BA

B:FF:FA:KE
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:286461 errors:0 dropped:0 overruns:0 frame:0
TX packets:87853 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:160503391 (153.0 Mi

TX bytes:6747616 (6.4 Mi

Interrupt:106 Memory:da000000-da012800
ath1 Link encap:Ethernet HWaddr A4:BA

B:FF:FA:KE
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:286204 errors:0 dropped:0 overruns:0 frame:0
TX packets:57188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:159929707 (152.5 Mi

TX bytes:4783944 (4.5 Mi

Interrupt:114 Memory:dc000000-dc012800
I think because my two wifi cards are getting the same MAC address the wireless access point is getting confused. Did I need to make surevthat both cards get different MAC addresses? But at same time I also think the process of bonding will always make the device IP and MAC address the same. That is the meaning of the word 'bonded'. And I agree and this is working well on wired interfaces. But in Wireless interfaces no.
Have someone had success bonding 2 wifi interfaces?
All advises or experience that you all may give will be very appreciated.
Thanks in advanced,
Best Regards,
Larry