What is the command to restart WAN6?

In response to my old message Why does my guest router lose IPv6 if I reboot the first router? I found out that it is a common problem. OpenWrt looses IPv6 connectivity after upstream outage/reconnect

I found this script on https://stackoverflow.com/questions/24662654/startup-bash-script-to-reload-network-if-network-interfaces-are-down

if ping -c 1 fd00::1; then
    echo "Network ok." >> $NV_LOG
    echo "$ERR Network down, starting up" >> $NV_LOG
    /etc/init.d/network restart

I wanted to see if is just possible to restart WAN6 instead of /etc/init.d/network restart

ifup wan6

Also note that ifup invokes ifdown internally.
So, there's no need to run ifdown explicitly.

1 Like