[Top][All Lists]

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

Re: [lwip-users] 2 netifs and using netif_set_default() problems

From: Sergio R. Caprile
Subject: Re: [lwip-users] 2 netifs and using netif_set_default() problems
Date: Mon, 28 Jan 2019 15:16:22 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

So, so far:

When switching default interface with connections open, traffic stops
going out on the former default interface (A) but starts going out on
the new one (B), but using the former address (addrA):
Default interface is A, traffic is going from addrA to addrX outside the
local network, default interface is switched to B, and then I can see
Ethernet frames on B with the addrA, being sent to the default gateway
(on B).

The point is... Being that lwIP does not route, is it allowed to call
netif_set_default() with connections open ? Is there anything else to
check/prevent ? (in addition to properly dropping connections and
starting them again as on an address change)
Simon, guys ?

reply via email to

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