Hi Glenn, On 28 March 2014 23:37, Glenn Schmottlach <[email protected]> wrote: > 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?
Correct, and only one service can go to online at a time. The online service will get the default route. If no service goes to online state, then the most preferred service in "ready" state will get the default route. You asked in your session mail about the online state. The online state is set, if the service is able to connect to ip[4,6].connman.net:80. Cheers, Jukka _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
