On Wed, 2016-11-30 at 10:10 +0100, Daniel Wagner wrote:
> As mentioned
> in the patch, the same block will be only offered if it was not
> allocated for any other device. Should we think of a way where we
> maintain the offered blocks for a particular device so that next
> time the same is offered or more freedom to the application in
> choosing its subnet?
Of course we could implement something like this but I would like to
know why is that so important? Is it because you have static IP
addresses assigned to devices which use the uplink?
And let's not forget that sooner or later an uplink service will end up
issuing an IP on a subnet that clashes with a pre-defined tethering
subnet. These cases are now detected, and tethering restarted with a
different subnet in order to provide Internet connectivity as the
primary target for ConnMan. Finding the hosts on the tethered subnet
has been left as an excersise for mDNS.