lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Problem with two netifs


From: Sujith K V
Subject: Re: [lwip-users] Problem with two netifs
Date: Fri, 27 Apr 2012 15:29:13 +0530

Hi All,

It worked for me. It was a problem with my configurations of the
ethernet peripheral.

Thanks and Regards,
Sujith

On 4/26/12, Sujith K V <address@hidden> wrote:
> Hi All,
>
> I am writing lwip port for a 3 port Gigabit switch (2 ports are slave
> ports, P1 and P2). My intention is to get two different IPs for the
> two ports, and I should be able to ping to both IPs (virtually, two
> devices). To achieve this, for P1 and P2 (have different MAC
> addresses), I have added two different netifs.
>
> When I connect only one port (any of P1 and P2), everything works
> fine. I am able to do DHCP and ping works fine.
>
> But, with the same code when I connect both ports simultaneously, the
> P1 completes DHCP and  P2 sends DHCP discover (both ports are
> connected to same network and a DHCP server is running). However, the
> DHCP server continuously sends DHCP OFFER for this and the network
> hangs.
>
> Anyone faced this kind of problem ? Or lwIP doesnot support what I meant ?
>
> Thanks for your time.
>
> Regards,
> Sujith
>



reply via email to

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