I try to test mptcp on openwrt + 951ui-2hnd,
I compiled and flash unit, but it's my first openwrt,
and I can’t configure routing.
on ubuntu/Armbian/Orange - I used simple commands,
ip rule add from 192.168.101.2/32 table 101
ip rule add from 192.168.102.2/32 table 102
ip rule add from 192.168.103.2/32 table 103
ip rule add from 192.168.104.2/32 table 104
ip route add default via 192.168.101.1 dev eth0.101 table 101
ip route add default via 192.168.102.1 dev eth0.102 table 102
ip route add default via 192.168.103.1 dev eth0.103 table 103
ip route add default via 192.168.104.1 dev eth0.104 table 104
in OpenWrt I added it to rc.local - but after the overload - nothing happens.
no result in ip rule or ip route show table 101
i add this to /etc/config/networks - and ip rule - OK
ip route add default via 192.168.101.1 dev eth0.101 table 101
ip route add default via 192.168.102.1 dev eth0.102 table 102
ip route add default via 192.168.103.1 dev eth0.103 table 103
ip route add default via 192.168.104.1 dev eth0.104 table 104
I tried different text in config, but nothing works.
from the command line - everything works, but I need put to autostart.