I'm using yocto gatesgarth.
In debian 10, when I'm switching between two network(DHCP-> static), if ip address is not allocated by the host then it uses the old ip configured by the DHCP.
In yocto, the problem i'm facing is while disconnecting from one DHCP to static network does not preserve the ip address. (there is no auto ip assign in the static network)