#6435 (udhcpc classless routes handle fix) – OpenWrt
dev.archive.openwrt.org › ticket › 6435root@OpenWrt:~# uci show network.wan network.wan=interface network.wan.ifname=eth0.2 network.wan.proto=dhcp network.wan.reqopts=msstaticroutes staticroutes root@OpenWrt:~# udhcpc -i eth0.2 -O msstaticroutes -O staticroutes udhcpc: unknown option 'msstaticroutes' root@OpenWrt:~# ifup wan route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255 ...
[OpenWrt Wiki] DHCP configuration
https://openwrt.org/docs/guide-user/network/protocol.dhcp27.11.2021 · DHCP configuration See: DHCP client, DHCPv6 client Troubleshooting # Install packages opkg update opkg install tcpdump # Capture DHCP traffic tcpdump -evni any udp port 67 & \ sleep 5; \ killall -SIGUSR1 udhcpc; \ sleep 5; \ killall tcpdump # Capture DHCPv6 traffic tcpdump -evni any udp port 547 & \ sleep 5; \ killall -SIGUSR1 odhcp6c; \ sleep 5; \ killall tcpdump
[OpenWrt Wiki] DNS and DHCP examples
openwrt.org › docs › guide-userDNS and DHCP examples See also: DNS and DHCP configuration, DNS encryption, DNS hijacking Introduction This how-to provides most common dnsmasq and odhcpd tuning scenarios adapted for OpenWrt. Instructions Static leases LuCI -> DHCP and DNS -> Static Leases Add a fixed IPv4 address 192.168.1.22 and name
[OpenWrt Wiki] DHCP configuration
openwrt.org › docs › guide-userNov 27, 2021 · DHCP configuration See: DHCP client, DHCPv6 client Troubleshooting # Install packages opkg update opkg install tcpdump # Capture DHCP traffic tcpdump -evni any udp port 67 & \\ sleep 5; \\ killall -SIGUSR1 udhcpc; \\ sleep 5; \\ killall tcpdump # Capture DHCPv6 traffic tcpdump -evni any udp port 547 & \\ sleep 5; \\ killall -SIGUSR1 odhcp6c; \\ sleep 5; \\ killall tcpdump