Hi,
I’m trying to investigate some DHCP issues and noticed that DHCP requests from odhcp6c have incorrect checksum:
23:27:58.891929 xx:xx:xx:xx:xx:xx > xx:xx:xx:xx:xx:xx, ethertype IPv6 (0x86dd), length 234: (flowlabel 0xd75ae, hlim 64, next-header UDP (17) payload length: 180) xxxx:xxx:xxxx:x:xxxx:xxxx:xxxx:xxxx.546 > xxxx:xxxx:xxxx:xx::xxx.547: [bad udp cksum 0xacb4 -> 0xda2a!] dhcp6 renew (xid=c8c0a (elapsed-time 0) (option-request SIP-servers-domain SIP-servers-address DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82 opt_83 opt_94 opt_95 opt_96 server-unicast) (client-ID hwaddr type 1 xxxxxxxxxxxx) (server-ID hwaddr/time type 1 time xxxxxxxxx xxxxxxxxxxxx) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0 (IA_ADDR xxxx:xxx:xxxx:x::xx pltime:0 vltime:0)) (IA_PD IAID:1 T1:0 T2:0 (IA_PD-prefix xxxx:xxx:xxxx::/64 pltime:0 vltime:0)))
I found 2 solutions to fix it. First:
ethtool --offload eth2 tx off
-ash: ethtool: not found
opkg install ethtool
Unknown package ‘ethtool’.
Collected errors:
- opkg_install_cmd: Cannot install package ethtool.
And the second one:
iptables -A POSTROUTING -t mangle -p udp --dport bootpc -j CHECKSUM --checksum-fill
iptables v1.6.2: unknown option “–checksum-fill”
Try `iptables -h’ or ‘iptables --help’ for more information.
Any idea how to install ethtool or some better way to fix it?
Thanks!
P.S.
cat /etc/turris-version
4.0.3