Wind River Support Network

HomeDefectsLINCD-316
Not to be fixed

LINCD-316 : The IPv6 address of the board can not ping when using the ping -6 -I interface

Created: Nov 14, 2019    Updated: Jun 4, 2020
Resolved Date: Jun 4, 2020
Found In Version: 10.20.3.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

1. Ping the board with ping -6 -I eth0 -c 5 ipv6address
 root@intel-x86-64:~# ifconfig
 eth0      Link encap:Ethernet  HWaddr 00:15:17:ac:00:f0  
           inet addr:128.224.165.208  Bcast:128.224.165.255  Mask:255.255.255.0
           inet6 addr: fe80::215:17ff:feac:f0/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:108079 errors:0 dropped:0 overruns:0 frame:0
           TX packets:46707 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000 
           RX bytes:132436759 (126.3 MiB)  TX bytes:7133052 (6.8 MiB)
           Memory:b1920000-b193ffff 
 
 lo        Link encap:Local Loopback  
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:65536  Metric:1
           RX packets:124 errors:0 dropped:0 overruns:0 frame:0
           TX packets:124 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000 
           RX bytes:8698 (8.4 KiB)  TX bytes:8698 (8.4 KiB)
 
 root@intel-x86-64:~#
 
 root@intel-x86-64:~# ping -6 -I eth0 -c 5 fe80::215:17ff:feac:f0
 ping: Warning: source address might be selected on device other than: eth0
 PING fe80::215:17ff:feac:f0(fe80::215:17ff:feac:f0) from :: eth0: 56 data bytes
 
 --- fe80::215:17ff:feac:f0 ping statistics ---
 5 packets transmitted, 0 received, 100% packet loss, time 4108ms
 
2. Another way to ping: ping -6 -c 5 fe80::215:17ff:feac:f0%eth0
 root@intel-x86-64:~# ping -6 -c 5 fe80::215:17ff:feac:f0%eth0
 PING fe80::215:17ff:feac:f0%eth0(fe80::215:17ff:feac:f0%eth0) 56 data bytes
 64 bytes from fe80::215:17ff:feac:f0%eth0: icmp_seq=1 ttl=64 time=0.030 ms
 64 bytes from fe80::215:17ff:feac:f0%eth0: icmp_seq=2 ttl=64 time=0.026 ms
 64 bytes from fe80::215:17ff:feac:f0%eth0: icmp_seq=3 ttl=64 time=0.027 ms
 64 bytes from fe80::215:17ff:feac:f0%eth0: icmp_seq=4 ttl=64 time=0.027 ms
 64 bytes from fe80::215:17ff:feac:f0%eth0: icmp_seq=5 ttl=64 time=0.027 ms
 
 --- fe80::215:17ff:feac:f0%eth0 ping statistics ---
 5 packets transmitted, 5 received, 0% packet loss, time 4128ms
 rtt min/avg/max/mdev = 0.026/0.027/0.030/0.001 ms
 root@intel-x86-64:~#

Workaround

ping -6 -c 5 fe80::215:17ff:feac:f0%eth0

Steps to Reproduce

1) setup.sh
 --machine intel-x86-64 --dl-layers --distro wrlinux-cgl --templates feature/xfce feature/dhcp-server-kea feature/ipv6 feature/nfsd feature/ntp feature/test --layers meta-filesystems meta-security-compliance meta-virtualization --dl-layers
 2). ./environment-setup-x86_64-wrlinuxsdk-linux
 3) . ./oe-init-build-env build_test
 4) bitbake wrlinux-image-glibc-cgl

5) boot on target and harddisk startup
 6) run command as problem descriptio
Live chat
Online