Not to be fixed
Created: Oct 17, 2018
Updated: Apr 29, 2021
Resolved Date: Apr 29, 2021
Found In Version: unknown
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Userspace
The route added by ip command is not deleted from zebra if interface down.
# ip route add 192.168.13.0/24 dev eth0
# route | grep 192.168.13.0
192.168.13.0 * 255.255.255.0 U 0 0 0 eth0
# telnet localhost zebra
Connected to localhost.
Escape character is '^]'.
WR-Router> show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, P - PIM, A - Babel,
> - selected route, * - FIB route
K>* 0.0.0.0/0 via 128.224.166.1, eth2
C>* 127.0.0.0/8 is directly connected, lo
C>* 128.224.166.0/23 is directly connected, eth2
K>* 192.168.13.0/24 is directly connected, eth0
WR-Router> exit
Connection closed by foreign host.
# ifconfig eth0 down
# route | grep 192.168.13.0
# telnet localhost zebra
Connected to localhost.
Escape character is '^]'.
WR-Router> show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, P - PIM, A - Babel,
> - selected route, * - FIB route
K>* 0.0.0.0/0 via 128.224.166.1, eth2
C>* 127.0.0.0/8 is directly connected, lo
C>* 128.224.166.0/23 is directly connected, eth2
K * 192.168.13.0/24 is directly connected, eth0 inactive
WR-Router> exit
Connection closed by foreign host.
N/A
****************************
1) setup.sh --machine nxp-imx7 --templates feature/LAMP feature/cut feature/gdb feature/ipv6 feature/lttng feature/nfsd feature/ntp feature/system-stats feature/target-toolchain feature/test --dl-layers --layers meta-filesystems meta-virtualization meta-xfce --distro wrlinux-cgl --dl-layers
2) . ./environment-setup-x86_64-wrlinuxsdk-linux
3) . ./oe-init-build-env build_test
4) bitbake wrlinux-image-glibc-cgl
5) boot the target with selinux=0 enforcing=0
6)The manual validation step is seen in 7. Symptom Details