Wind River Support Network

HomeDefectsLIN6-1388
Not to be fixed

LIN6-1388 : [Feature Testing][networking]: dhcpd doesn't work for IPv6 on BCM-XLP.

Created: Nov 6, 2013    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Found In Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: BSP

Description

Problem Description
======================
dhcpd doesn't work for IPv6 on BCM-XLP.
It works for intel-x86-64/p2020/ti-66ak2hxx.

Expected Behavior
======================


Observed Behavior
======================
on target:
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/dhcpd_v4_v6# cat /etc/dhcp/dhcpd6.conf
default-lease-time 600;                                 
max-lease-time 7200;
subnet6 2001:db8:0:f101::/64 {
range6 2001:db8:0:f101::100 2001:db8:0:f101::101;
prefix6 2001:db8:0:f101:: 2001:db8:0:f101:: /64;
}
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/dhcpd_v4_v6# 
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/dhcpd_v4_v6# ps aux|grep dhcp
root       347  0.0  0.0   2944   320 ?        Ss   Nov05   0:00 udhcpc -R -n -p /var/run/udhcpc.eth0.pid -i eth0
root     13099  0.0  0.0   8448  2688 ?        Ss   08:45   0:00 dhcpd -6 -cf /etc/dhcp/dhcpd6.conf
root     13286  0.0  0.0   2560   576 pts/0    S+   09:04   0:00 grep dhcp
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/dhcpd_v4_v6#

On client:
root@intel_westmere_ep-3:~# dhclient -6 eth3

dhclient can not get IPv6 addr here, hanged.

Steps to Reproduce

1 configure a project
/lpg-build/cdc/fast_prod/wrlinux60/dvd_install/lx23_13fa/wrlinux-6/wrlinux/configure
--enable-board=bcm-xlp --enable-kernel=standard
--enable-rootfs=glibc-std
--with-layer=/buildarea2/fyan/wr-testing/userspace-new/
--with-template=feature/lttng2,feature/acl,feature/nfsd,feature/mysql,feature/mysql-odbc
--enable-test=yes --enable-prelink=no --enable-build=profiling
--enable-jobs=16 --enable-parallel-pkgbuilds=8
2. make fs
3. connect the target with a clinet.
4. boot the target, on target:
	a. config the dhcpd on target
	b. start dhcpd on target
	c. try to get IPv6 addr on client
	or
	you can "cd /opt/wr-test/testcases/userspace-new/dhcpd_v4_v6; ./runtest.sh" if you build the project with layer wr-testing/userspace-new/
Live chat
Online