|
From: | Marco Jakobs |
Subject: | [lwip-users] Default Gateway does not change back after PPP link is deactivated |
Date: | Mon, 21 Nov 2011 15:57:10 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
Dear all, i'm facing a problem with LwIP (1.3.2) and the use of PPP.The Ethernet port has defined an IP address, Netmask and the default gateway configuration. Everything works pretty well, also sending packets to different subnets to the default gateway.
As soon as i activate the PPP link, the default gateway is now automatically the PPP destination, so the PPP overrides the default gateway (which is correct so far).
But after deactivating the PPP, the standard gateway of LwIP seems not to return to the value defined in the ethernet link! As soon as the PPP was up once and was put down again, the standard gateway is not working and all connections to different subnets are without any efford.
How can i "reset" the standard gateway of LwIP to the gateway already defined in the ethernet settings?
BR Marco
[Prev in Thread] | Current Thread | [Next in Thread] |