lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] multiple ports/interfaces


From: goldsimon
Subject: Re: [lwip-users] multiple ports/interfaces
Date: Sun, 07 Oct 2018 10:52:32 +0200
User-agent: K-9 Mail for Android


Ranran wrote:
>On Thu, Oct 4, 2018 at 9:28 PM address@hidden <address@hidden>
>wrote:
>>
>> On 04.10.2018 17:14, Ranran wrote:
>> > Does lwip support using multiple ports (physical interface) ?
>>
>> Yes. Do you want a single IP address or each netif with its own IP?
>> For a single IP address, you need something like a switch (see
>> bridgeif.c for a start).
>>
>
>I need to have each netif with its own IP.

That's no problem. You only might get routing problems when the two netifs are 
in the same subnet.

>> > Is there any example showing how we should configure more than one
>port?
>>
>> That depends on the above question.
>>
>Is there a simple example for multiple netif each with itw own IP ?

No. Just call netif_add etc. for each netif.


Simon



reply via email to

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