i have a little question.
Consider i have DHCP0 server (192.168.1.X) and DHCP1 server (10.0.1.X).
I have a board running Linux with connman. Connect my board on DHCP0, start my board. Connman starts and set IP address by DHCP to eth0 interface : 192.168.1.2
Disconnect the board from DHCP0 and connect it to DHCP1.
Why the IP address is not renewed in 10.0.1.X on eth0 ? See that i have the same behavior on my Ubuntu 18.04 without connman. I suppose it is a normal behavior. So, can i configure connman to renew DHCP IP address at "link up" ?
To renew IP address i need to
$ ifconfig eth0 down
$ ifconfig eth0 up
or
$ systemctl restart connman
Thanks for your return
Sylvain
ip monitor link
running?ip monitor link
i see that it is sw0p1 which is linked down, and not eth1. Maybe the problem comes from here.