lwIP - A Lightweight TCP/IP stack - Tasks: task #10446, DHCP extensions for AutoIP
You are not allowed to post comments on this tracker with your current authentication level.
task #10446: DHCP extensions for AutoIP
| Submitter: | Bill Auerbach <billauerbach> | ||
| Submitted: | Tue 08 Jun 2010 06:21:41 PM UTC | ||
| Category: | DHCP | Should Start On: | Tue 08 Jun 2010 04:00:00 AM UTC |
| Should be Finished on: | Tue 08 Jun 2010 04:00:00 AM UTC | Priority: | 3 - Low |
| Status: | Cancelled | Privacy: | Public |
| Percent Complete: | 0% | Assigned to: | goldsimon |
| Open/Closed: | Closed | Planned Release: | None |
| Effort: | 0.00 | ||
Jump to the original submission
|
Tue 06 Jul 2010 12:27:57 PM UTC, comment #9: |
Bill Auerbach <billauerbach> |
|
Mon 05 Jul 2010 02:45:45 PM UTC, comment #8:
|
Simon Goldschmidt <goldsimon> |
|
Wed 16 Jun 2010 01:24:14 PM UTC, comment #7: You and I are going down the same path. We need named devices and the intent is if the named device is has an AutoIP address, we will change the IP address to make it "reachable". If the system is set up with "Fallback to static", we don't touch it. We are simply using the name to return to the PC application the IP address of the device. Although ZeroConf would be nice, it's a big project and there is a device in our system that does not support it. We can give it a name that we can query.
|
Bill Auerbach <billauerbach> |
|
Tue 15 Jun 2010 08:15:30 PM UTC, comment #6: I'm not against such changes, only I didn't fully understand it ;-)
|
Simon Goldschmidt <goldsimon> |
|
Tue 15 Jun 2010 08:01:47 PM UTC, comment #5: Hmmm, I misunderstood that you liked the feature that if DHCP fails that AutoIP will use (by the user calling a function) a static IP address. We use this because it allows falling back to a known address so that the device can be pinged, tested and still accessed (on the same static subnet). If it falls back to true AutoIP, the IP address isn't known.
|
Bill Auerbach <billauerbach> |
|
Tue 15 Jun 2010 07:51:12 PM UTC, comment #4: Actually, I don't really know what you mean by "AutoIP with fallback to a user-defined IP address". At which time do you want to use the static IP? After the first conflict? Or after some conflicts? Using random IP addresses in the AutoIP range (and a good random function, of course), conflicts shouldn't appear that often...
|
Simon Goldschmidt <goldsimon> |
|
Tue 15 Jun 2010 06:32:59 PM UTC, comment #3: Simon, if the user specifies AutoIP with fallback to a user-defined IP address, the probing will still take place at this user-defined address. If there is a conflict, autoip_restart will increment this address and try again. I don't mind this as it prevents a potential IP address conflict.
|
Bill Auerbach <billauerbach> |
|
Mon 14 Jun 2010 04:07:37 PM UTC, comment #2: I can do the part of indicating the address is an AutoIP address. I did the fallback in my application, but it would be nice if there was a static address for AutoIP to fallback to. I can add that because it would be nice for it to be autonomous. I'll do both items.
|
Bill Auerbach <billauerbach> |
|
Sat 12 Jun 2010 07:21:35 PM UTC, comment #1: I like the idea, but do you have any code prepared? I'm not in a situation to put much time into this, currently. Also, where would you save the preconfigured address? We currently only have one IP address per netif, so that cannot be used to store the preconfigured static fallback IP.
|
Simon Goldschmidt <goldsimon> |
|
Tue 08 Jun 2010 06:21:41 PM UTC, original submission:
In order to be more flexible with lwIP products in the field, I'd like a little more control over AutoIP. It's minor but I believe it might help others.
|
Bill Auerbach <billauerbach> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
| Date | Changed by | Updated Field | Previous Value | => | Replaced by |
|---|---|---|---|---|---|
| 2015-04-24 | goldsimon | Status | None | Cancelled | |
| Assigned to | None | goldsimon | |||
| Open/Closed | Open | Closed |
Powered by Savane 3.12.
Corresponding source code

I submitted a patch I'm current using in 3 products. It includes a minor bug-fix to dhcp.c which is needed to correctly determine if DHCP or AutoIP provided the IP address.
https://savannah.nongnu.org/patch/?7224