"Ray Martin" wrote:
Could someone please outline and explain the approved LWIP and PHY sequence when reconnecting the cable to a different network or the same network?
As you can't tell whether you are connected to the same or to a new network, the procedure is always the same. Call netif_set_link_up() and netif_set_link_down() to inform lwIP of link status changes. When using DHCP, this will ensure correct behaviour (The DHCP client will try to reach the old DHCP server and request to continue using its current IP address, which will fail in a new network. In that case it just restarts and gets a new address).
Simon |