Mwan ip adresses routing

I have router with installed mwan3 and setted up two connections wan and wanb. I have a bunch of static ip leases in local network and some of them should use only wan(not wanb). How can I do that?

Okay what if I lamer in all of this...

Then you're kind of f-ked :slight_smile:

Anyway. Where I should to dig in just give me the way...aka luci - interfaces - ???

Don't think all those settings are exposed in the webUI.

Okay how should I do this through ssh?

As in the example (updated the link, it was slightly off) ?

yes. for example I need to for example route all traffic for 192.168.1.30 to wanb. what should I do?


Use 3,wanb.gateway.IP, skip 6, if default DNS is OK, or use 6,wanb.DNS.IP.

https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml

Okay thanks I will try to dive in it.

Okay. I dealed with it through mwan3. (openwrt is 23.05)
Members should be created first
In luci go to policies and create new like wanb_only(with last resolt - unreachable)
then create rule where in source adress is ip of machine that need to be routed and in destination is 0.0.0.0/0, policy assigned should be these what we created before(wanb_only). Then save and apply. Used bmon to check where traffic goes its goes right to selected interface.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.