openwrt / odhcpd

This repository is a mirror of https://git.openwrt.org/?p=project/odhcpd.git. Pull requests will be accepted which will be merged in odhcpd.git
GNU General Public License v2.0
160 stars 96 forks source link

T1 as received via DHCP option 58 and DHCP server temporarily not reachable: retransmission policy #171

Closed AlfonsHeyrman closed 3 years ago

AlfonsHeyrman commented 3 years ago

Zip_info.zip

Setup

CPE (DHCPv4 server, dnsmasq) ==Ethernet== Extender (odhcpd DHCPv4 Client)

Initial DHCP exchange

Error condition

Extra information

Appendix A

The DHCPv4 server on the CPE has defined: 'option leasetime '2h'' and 'list dhcp_option_force 'option:T1,60''

On the extender: 7320 root 11824 S odhcpc -p /var/run/odhcpc-br-lan.pid -s /lib/netifd/dhcp.script -f -t 0 -i br-lan -r 192.168.1.1 --dhcp_b

Appendix B: extra odhcpd traces

dedeckeh commented 3 years ago

odhcpd has no DHCPv4 client functionality; it only supports DHCPv4/DHCPv6 server functionality. DHCPv4 client in OpenWrt is supported by the busybox udhcpc applet