IPv4LL address not fetched when powering up from PoE injector
shreesha vitthala
Wed Jan 18 12:02:13 2017
Hi,
I connect my PoE powered device to PoE injector's Data+Power port. The
injector model is Ault Inc.'s PW130.
On boot dhcpcd fails to fetch an 169.254.x.x IP address.
However it works fine when powered up from a PoE switch (TP LINK
TL-SF1008P).
dhcpcd version is 6.11.5
Below is the output:
eth0: waiting for carrier
timed out
dhcpcd exited
cat /sys/class/net/eth0/carrier outputs 0.
However when I pass -K or --nolink option to dhcpcd it issues an IP.
Also I no longer see the "eth0: waiting for carrier" message.
Next I tried putting nolink option in dhcpcd.conf but I observed that it no
longer fetches a dhcp address when powered from the PoE switch connected to
a dhcp server.
It instead fetches a link local address. Following is the log:
read_lease: dhcp_read_lease_fd: Success
eth0: soliciting a DHCP lease
macb f802c000.ethernet eth0: link up (100/Full)
eth0: probing for an IPv4LL address
eth0: using IPv4LL address 169.254.113.49
eth0: adding route to 169.254.0.0/16
eth0: adding default route
forked to background, child pid 434
So how should I configure dhcpcd to be able to work with PoE injector also?
Thanks and regards,
Shreesha
Archive administrator: postmaster@marples.name