AnsweredAssumed Answered

A problem of DHCP

Question asked by yxd4038@sina.com on Jun 3, 2013
Latest reply on Jun 14, 2013 by Aaronwu

hello world,

    i have a bf518f-ezbrd running the linux-kernel with 2011 version.I run "dhcpcd" command, but the linux cannot get an IPv4 address, only IPv6 address is obtained.

root:/> ifconfig eth0 up
root:/> dhcpcd
root:/> ifconfig
eth0      Link encap:Ethernet  HWaddr 80:00:FA:00:FA:00
          inet6 addr: fe80::8200:faff:fe00:fa00/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:168 (168.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

then I run "dhcpcd -d"

root:/> dhcpcd -d

ioctl SIOCSIFBFDADDR (ifConfig): Cannot assign requested address

 

what's the problem with the program?what should i do to get the ipv4 address?

Outcomes