Could be. Wouldn’t hurt to try a regular old “dumb” switch.

From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Robert Deschambault
Sent: Wednesday, June 17, 2015 4:48 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Strategy Question for DHCP


Any suggestions are appreciated!  We are using straight Ethernet through a 
managed switch.  I can attach the record if it might help. DHCP and static IP 
work with no problems. But when I set the switch to disable DHCP or put it in 
unmanaged mode and enable autoip I see the assignment but no pings work. I 
notice someone else had the same problem but I wasn't able to figure out if 
there was a solution. I will try your suggestion to break on the switch to stop 
mode and see how the code got there. Could the switch be doing something?
On Jun 17, 2015 6:38 PM, "Zach Smith" 
<[email protected]<mailto:[email protected]>> wrote:
That is strange. What is your physical interface - Ethernet? Wi-Fi? Are you 
possibly getting your own probes reflected back to you thus thinking that 
someone else out there already has your address – long shot.
Sorry I can’t help more. I would put a breakpoint where you see the state get 
set back to STOP (I think there is only a couple places):
netif->autoip->state = AUTOIP_STATE_OFF;
Then work backwards from there to see how you got there.
-Zach

From: 
[email protected]<mailto:[email protected]>
 
[mailto:lwip-users-bounces+zsmith<mailto:lwip-users-bounces%2Bzsmith>[email protected]<mailto:[email protected]>]
 On Behalf Of Robert Deschambault
Sent: Tuesday, June 16, 2015 7:48 AM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Strategy Question for DHCP

Hi,

I have been doing some additional checking using the built in debug messages 
from lwip during my autoip sequence.  What I have found that the autoip moves 
to state 1 (probing) to state 2 (announcing).  But when the IP is assigned, it 
goes to state 0 (stop) and never gets to state 3 (bound).  I am calling 
autoip_tmr() every 100 ms.  I can see the autoip_bind() call getting executed.  
Any ideas?

Thanks,
Bob

--
Bob Deschambault
________________________________
Confidentiality Notice: This e-mail may contain confidential and privileged 
material for the sole use of the intended recipient(s). Any review, use, 
distribution or disclosure by others is strictly prohibited. If you are not the 
intended recipient (or authorized to receive from the recipient), please 
contact the sender by reply e-mail and delete all copies of the message.

_______________________________________________
lwip-users mailing list
[email protected]<mailto:[email protected]>
https://lists.nongnu.org/mailman/listinfo/lwip-users
________________________________
Confidentiality Notice: This e-mail may contain confidential and privileged 
material for the sole use of the intended recipient(s). Any review, use, 
distribution or disclosure by others is strictly prohibited. If you are not the 
intended recipient (or authorized to receive from the recipient), please 
contact the sender by reply e-mail and delete all copies of the message.
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to