Hello there 
I've just configured an static route in Luci. I can apply the rule or even reboot the device. But the route would never have been configured
inside /etc/config/network i've the rule
config route
option target '172.23.230.0/24'
option gateway '172.23.223.58'
option table 'default'
option interface 'lan'
it works only via "ip route add 172.23.230.0/24 via 172.23.229.58" over SSH but that is not persistent. Any idea how I could fix it?
cheers Darko
Change the table to 'main'.
1 Like
I've tried it with
config route
option target '172.23.230.0'
option netmask '255.255.255.0'
option gateway '172.23.229.58'
still does not works persistent
Ok
with this route at place, as configured, make a reboot, then SSH into router and
ip r
then, make your
ip route add 172.23.230.0/24 via 172.23.229.58
and then
ip r
lets see what is a difference ?
I've got an running config now
config route
option target '172.23.230.0'
option netmask '255.255.255.0'
option gateway '172.23.229.58'
option interface 'lan'
option table 'main'
It has worked after reboot the router
thanks at all 
1 Like
Hey, do you mind telling for what purpose you are using routing for?? Just curious. I am new to openwrt. Thanks.
1 Like
I've got an bunch of virtual machines. It's my playground