Fixed
Created: Apr 3, 2017
Updated: Sep 8, 2018
Resolved Date: Apr 18, 2017
Found In Version: 7.0.0.20
Fix Version: 7.0.0.25
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Networking
The dhclient on WRLinux 7 is v4.3.0, which is too old that it misses a fix for partial checksum of IP packet that goes throught virtual network interfaces. So the dhclient needs to be up-reved to above 4.3.2.
More details are here:
https://vendor2.nginfotpdx.net/gitlab/ypp/poky/commit/2c2b003de5aba4f5b5fa4a140bae9164eeec022d
The fix is included in v4.3.2 and onward. WRLinux 8 is using dhclient v4.3.3 so it doesn't have this problem.
Create a new container on Pulsar from WRLinux 7 rootfs tar ball, start it and login to it. The following are example process:
- scp the rootfs tar ball file to cube-dom0
- add cube-hdc from cube-dom0
root@cube-dom0:~# cube-ctl add -n cube-hdc wrlinux-image-glibc-std-intel-x86-64-20170331183816.rootfs.tar.bz2
root@cube-dom0:~# cube-ctl start cube-hdc
- login to cube-hdc to provision HDC
root@cube-dom0:~# cube-console --ns cube-hdc
Once login to newly added container, run dhclient, there will be following error messages:
sh-4.3# dhclient -v veth0
Internet Systems Consortium DHCP Client 4.3.0
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/veth0/16:d3:d8:92:ec:45
Sending on LPF/veth0/16:d3:d8:92:ec:45
Sending on Socket/fallback
DHCPDISCOVER on veth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST on veth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.42.2
DHCPREQUEST on veth0 to 255.255.255.255 port 67
DHCPDISCOVER on veth0 to 255.255.255.255 port 67 interval 5
DHCPREQUEST on veth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.42.2
3 bad udp checksums in 5 packets
DHCPREQUEST on veth0 to 255.255.255.255 port 67
DHCPDISCOVER on veth0 to 255.255.255.255 port 67 interval 3
DHCPREQUEST on veth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.42.2
DHCPREQUEST on veth0 to 255.255.255.255 port 67
DHCPDISCOVER on veth0 to 255.255.255.255 port 67 interval 6
DHCPREQUEST on veth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.42.2
DHCPREQUEST on veth0 to 255.255.255.255 port 67
DHCPREQUEST on veth0 to 255.255.255.255 port 67
DHCPDISCOVER on veth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on veth0 to 255.255.255.255 port 67 interval 6
5 bad udp checksums in 5 packets