lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] IPv6 gateway processing


From: Erik Slagter
Subject: [lwip-devel] IPv6 gateway processing
Date: Wed, 29 Jan 2025 13:01:42 +0100
User-agent: Mozilla Thunderbird

Hi people,

Sorry to bother, but I have a question that has been on my mind for a long time and I can't find the answer from any documentation or the source itself.

How does LWIP find out what to do related to (default) gateway?

1) there is no way to install a default gateway
2) you can set a static address, but you cannot specify a netmask
3) it does seem to work, even without router advertisements

I'd gladly supply netmask and default gateway, but AFAIK there is no way to do it.

So when I e.g. send a UDP packet to some "global" type address, how does LWIP decide it's on the local subnet and request neighbour advertisements OR it's not on the local subnet and forward the packet to the default GW and where is that GW exactly?

It's even more interesting as in practice this works, sending non-local packets, but only after continuously sending packets for 30 seconds. After that, it keeps working. How does it know where to forward the packets to? And how kan I facilitate this process to work better?

Thanks!
Erik.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]