OpenWrt Delete Static Route

April 10, 2022 2822 points heat 1 person likes 1 comment

Previously, an incorrect route was added to the static route, causing a network failure, which directly led to the loss of connection and the inability to access the OpenWrt soft route. The problem was also easily solved,

  vi /etc/config/netowork

 

Delete the wrong route

 

 

Restart the network card

 service network restart

 

Network recovery

Gcod

If life is just like the first sight, what is the sad autumn wind painting fan

Article comments

  • jiajiancheng

    uci set network.your_route='route'
    uci set network.your_route.interface='lan'
    uci set network.your_route.target='10.244.96.0'
    uci set network.your_route.netmask='255.255.255.0'
    uci set network.your_route.gateway='10.244.100.254'
    uci commit network

    June 24, 2022