Hello.<br><br>I want to report a regression in dhcp4 (4.1-ESV-R2) in contrast to dhcp3.<br><br>Lets assume that there is an interface definition in dhclient.conf (interface "eth1" { ... }).<br><br>If I run<br>#> killall dhclient<br>
#> echo -n > /tmp/dhclient.leases (there is symbolic link to this file)<br>#> ifconfig eth1 0.0.0.0 up<br>#> dhclient -cf /etc/dhcp/dhclient.conf<br>there is no action for eth1 (tcpdump doen't show any dhcp traffic).<br>
<br>I figured out that it happens for interface with 0.0.0.0 address or interface which had 0.0.0.0 address before it was put down.<br>The problem somewhere in discover_interfaces(DISCOVER_UNCONFIGURED), because "interface" list is identical (empty) for working and not working case before this function and in the bad case there is no eth1 interface in this list after this function (in the good case there is eth1 with REQUESTED, AUTOMATIC flags and after config parsing AUTOMATIC flag disappears).<br>
<br>Environment: buildroot + uclibc-0.9.31 system based on busybox 1.17.1, linux-2.6.35 kernel, dhclient-script slightly modified (0 address replaced with 0.0.0.0 because busybox's ifconfig does not accept 0 as valid address).<br>
<br>By the way, is there a way to disable bind compilation in dhcp 4.2 (I have problems with cross-compilation with uclibc)?<br><br>Thanks in advance, <br><br>Sergey Naumov.<br>