Hi,

OK ... found the solution by myself.

To all who may have the same problem: After the PPP is brought down, a call

netif_set_default( &xEMAC_if );

with the Ethernet netif as parameter is needed to make the ethernet again the default interface.

BR
Marco


Am 21.11.2011 15:57, schrieb Marco Jakobs:
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

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users


_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to