thats I need:
default route to GW 192.168.1.254
Problem:
root@OpenWrt:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.4.254 0.0.0.0 UG 0 0 0 br-4
192.168.1.0 * 255.255.255.0 U 0 0 0 br-1
192.168.2.0 * 255.255.255.0 U 0 0 0 br-2
192.168.3.0 * 255.255.255.0 U 0 0 0 br-3
192.168.4.0 * 255.255.255.0 U 0 0 0 br-4
192.168.5.0 * 255.255.255.0 U 0 0 0 br-5
192.168.6.0 * 255.255.255.0 U 0 0 0 br-6
root@OpenWrt:~#
I have no idea where the default route 192.168.4.254 comes from. 192.168.4.254 is entered in the interface br-4 as GW. In the other networks, however, the x.x.x.254 is also entered as GW.
„route add default gw 192.168.1.254 br-1“ works. Then, there are two defaultsroute.
In „/etc/config/network“, there is one route
config route 'default'
option interface 'lan'
option gateway '192.168.1.254'
option target '0.0.0.0'
option netmask '0.0.0.0'
„lan“ is on the br-1.