|
From: | Robert Deschambault |
Subject: | Re: [lwip-users] Strategy Question for DHCP |
Date: | Wed, 17 Jun 2015 18:48:26 -0400 |
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?
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: lwip-users-bounces+zsmith=address@hidden [mailto:lwip-users-bounces+zsmith=address@hidden] 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
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |