dhclient not binding ip address to eth0
Cheng-Yang Tan
cytan299 at yahoo.com
Sun Feb 5 15:27:54 UTC 2012
Hi
I'm having a very weird problem with dhclient running on arm-linux. I can get an ip address from dhclient:
*********************************************
# cat dhclient.leases
lease {
interface "eth0";
fixed-address 192.168.1.6;
option subnet-mask 255.255.255.0;
option dhcp-lease-time 86400;
option routers 192.168.1.1;
option dhcp-message-type 5;
option dhcp-server-identifier 192.168.1.1;
option domain-name-servers 192.168.1.1;
renew 4 1970/01/01 10:05:28;
rebind 4 1970/01/01 21:01:42;
expire 5 1970/01/02 00:01:42;
}
***************************************
BUT it is *not* bound to eth0:
******************************************
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 56:C7:86:20:37:A6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:277 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23176 (22.6 KiB) TX bytes:1026 (1.0 KiB)
Interrupt:54
*******************************************
I can manually bind the address using:
ifconfig eth0 192.168.1.6
and eth0 talks to the world.
I believe I've set up /etc/network/interface correctly:
*****************************************************
auto lo
iface lo inet loopback
#
auto eth0
iface eth0 inet dhcp
*****************************************************
How can I make dhclient bind the ip address to eth0.
Thanks for any info!
cytan
P.S. linux version is: 2.6.39.4
and dclient comes from dhcp-4.1-ESV-R3.tar.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120205/0cf376b5/attachment.html>
More information about the dhcp-users
mailing list