Hi Jukka -

>> I assume if a service becomes active and has an associated gateway
>> that ConnMan will automatically update the default route. This would
>> include the case when the service is dynamically configured (e.g.
>> DHCP) as well as statically configured (assuming the gateway is
>> provided). What happens if the DHCP server does *not* provide gateway
>> information?
>
> That would be quite problematic and in that case the default route
> cannot be set.
>

So is it safe to say the ConnMan will only set the default route when
promoting a "ready" service to an "online" status (assuming it has
gateway information configured). This is  assuming there can be only
one ConnMan service that is in the "online" state at a time. So if
you're in a scenario where you're switching between services
(disconnect one, connect another), the default route will be updated,
correct?

Thanks,

Glenn
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to