Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
Announcing the release of Fedora 18 Alpha
Posted Sep 18, 2012 21:54 UTC (Tue) by zlynx (subscriber, #2285)
You could do an ARP probe to see if the DHCP server or gateway of one of the other connected devices was available. Or even ARP for the other interface IP.
You could just look at the DHCP server to see if the same one is available on both interfaces.
If the interface turns out to be on the same network go ahead and add it to the bond.
The ARP or DHCP probing would also be a good way to add locations to NetworkManager.
Or better yet, some kind of LocationManager that could use connected network information, WiFi scan results, BlueTooth, GPS, compass and/or inertial sensor data to track location.
Posted Sep 19, 2012 3:58 UTC (Wed) by ebiederm (subscriber, #35028)
There are other valid cases where two interfaces on the same network are ok but 802.3ad let boths sides no you are bonded, and is specified to allow for auto-configuration of bonds.
There are other games you can play but you should start with 802.3ad.
Posted Sep 19, 2012 4:12 UTC (Wed) by zlynx (subscriber, #2285)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds