lwip-users
[Top][All Lists]
Advanced

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

Re: AW: [lwip-users] LWIP and second IP feasible?


From: Simon Goldschmidt
Subject: Re: AW: [lwip-users] LWIP and second IP feasible?
Date: Sat, 12 Mar 2011 19:25:57 +0100

I also have implemented this myself by using two "virtual" netifs connected to 
the same hardware. I had to add my own code to decide which netif to pass to 
the input functions, though.

However, the new IPv6 patch already implements multiple IP addresses per netif 
(at least one v4 and 2 v6), so it should be pretty easy to adjust that code to 
allow 2 v4 addresses once it is added to CVS (after 1.4.0 is released).

Simon


"Hugh Reynolds" <address@hidden> wrote:

> I can see a use for multiple IP addresses.  If this gets onto the
> development schedule please keep me informed.
> 
> Regards
> 
> Hugh Reynolds
> 
> 
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf Of
> Emil Ljungdahl
> Sent: 07 March 2011 07:22
> To: 'Mailing list for lwIP users'
> Subject: SV: AW: [lwip-users] LWIP and second IP feasible?
> 
> Hi
> 
> I would also be interested in a "multiple IPs on a single interface" feature
> in lwIP. If someone (Bernd?) starts to implement this, please let me know so
> we can make a joint effort!
> 
> Emil Ljungdahl
> 
> -----Ursprungligt meddelande-----
> Från: address@hidden
> [mailto:address@hidden För Kieran
> Mansley
> Skickat: den 6 mars 2011 08:37
> Till: Mailing list for lwIP users
> Ämne: Re: AW: [lwip-users] LWIP and second IP feasible?
> 
> 
> On 6 Mar 2011, at 00:51, Delta Control - Bernd Uttich wrote:
> 
>> Dear all,
>> 
>> I would like to have a second IP network on the same physical interface as
> the configurable one,
>> as you guessed.
> 
> I don't think there's a way to achieve this easily with lwIP at the moment.
> WIth separate interfaces it would work, but with two IP addresses on the
> same interface we'd need to do some work as I think at the moment each netif
> is assumed to have a single address.  You might get somewhere by arranging
> to have two netifs on the same physical interface, but I'm not sure how that
> would work with the driver when it receives a packet as both netifs would
> need to be involved.
> 
> Kieran
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
> 
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
> 
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

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