On Mon, 2011-10-31 at 13:05 +0000, Dance, Brian wrote: > Is it possible to set two different IP addresses for one hardware > interface with lwip 1.4.0? Is it as simple as doing a netif_add and a > netif_set_up for the second IP?
You would need two netifs rather than just calling netif_add() a second time on the same netif with a different IP. This is likely to be something that is not often used in lwIP, so there may be other issues, but it should be possible. Your driver will need to pass the received packets up to the correct netif, which might be difficult as it may not know which is which - normally a driver has only a single netif per hardware interface and so doesn't have to worry about that. Kieran _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
