Fixed
Created: Jul 31, 2014
Updated: Dec 3, 2018
Resolved Date: Aug 4, 2014
Found In Version: 6.0
Fix Version: 6.0.0.11
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Networking
Ip_forwarding flag for IPv6 is not applied to all the namespaces even if it is set for default in /proc. Although it works fine for IPv4.
Because of this the IPV6 traffic in network namespace is not getting forwarded.
Attached is the log with the issue we are facing in our environment.
root@cmx_HAL1210_l:~#
root@cmx_HAL1210_l:~# cat /proc/sys/net/ipv6/conf/all/forwarding
1
root@cmx_HAL1210_l:~# ip netns list
fib_12
fib_3
fib_1
root@cmx_HAL1210_l:~# cat /proc/sys/net/ipv6/conf/all/forwarding
1
root@cmx_HAL1210_l:~# cat /proc/sys/net/ipv4/conf/all/forwarding
1
root@cmx_HAL1210_l:~#
root@cmx_HAL1210_l:~# ip netns add fib_222
root@cmx_HAL1210_l:~#
root@cmx_HAL1210_l:~# ip netns list
fib_222
fib_12
fib_3
fib_1
root@cmx_HAL1210_l:~#
root@cmx_HAL1210_l:~# ip netns exec fib_222 bash
root@cmx_HAL1210_l:~# cat /proc/sys/net/ipv4/conf/all/forwarding
1
root@cmx_HAL1210_l:~# cat /proc/sys/net/ipv6/conf/all/forwarding
0
root@cmx_HAL1210_l:~#