Bug #147

Router doesn't get DHCP address unless it's rebooted

Added by Srikanth Sundaresan on May 15, 2011. Updated on Sep 20, 2011.
New High Dave Täht


If the router boots up without a WAN connection, it doesn’t get a dhcp address once connected. Needs a reboot.
udhcpc is up, but not working properly.


Updated by Srikanth Sundaresan on May 15, 2011.
Complex. Once the main DHCP server (that gives out the lease) has a cache, the wan interface is able to get an address.

Behavior is udhcpc polls continuously for a DHCP address when the link is down. When the link goes up, theory is unless the main router has an ARP cache for the secondary router, it fails to provide an address.

Updated by Dave Täht on May 15, 2011.
There are patches that landed in main openwrt and my mailbox over the last few days that revise link-state negotiation somewhat. They may help. They may hurt. As extensive QA has already been performed down to the kernel level, and fiddling with such a complex, critical system at this late date introduces other risks, I would prefer to not deal with this one, as it seems hard to reproduce.

unless this proves a serious problem (please, more people duplicate) I would prefer to remain frozen so that future routers can be updated via opkg rather than a complete new sysupgrade.

Updated by Dave Täht on May 22, 2011.
I will look further into this upon the next release of cerowrt and/or iscwrt.
Updated by Dave Täht on May 22, 2011.
Updated by Dave Täht on Jul 31, 2011.
Updated by Jim Gettys on Sep 20, 2011.

This is a static export of the original bufferbloat.net issue database. As such, no further commenting is possible; the information is solely here for archival purposes.
RSS feed

Recent Updates

Jul 21, 2024 Wiki page
Jul 21, 2024 Wiki page
What Can I Do About Bufferbloat?
Jul 21, 2024 Wiki page
Tests for Bufferbloat
Jul 1, 2024 Wiki page
RRUL Chart Explanation
Dec 3, 2022 Wiki page
Codel Wiki

Find us elsewhere

Bufferbloat Mailing Lists
#bufferbloat on Twitter
Google+ group
Archived Bufferbloat pages from the Wayback Machine


Comcast Research Innovation Fund
Nlnet Foundation
Shuttleworth Foundation

Bufferbloat Related Projects

OpenWrt Project
Congestion Control Blog
Flent Network Test Suite
The Cake shaper
CeroWrt (where it all started)

Network Performance Related Resources

Jim Gettys' Blog - The chairman of the Fjord
Toke's Blog - Karlstad University's work on bloat
Voip Users Conference - Weekly Videoconference mostly about voip
Candelatech - A wifi testing company that "gets it".