MWAN3 Dilemma: Virtual IPs for Same Subnet Success?

I am trying to figure out a way to use mwan3 in a scenario where both wans are assigned ip addresses from same subnet and have the same gateway.

  • Changing ipv4 gateway/subnet is not an option as it is an ISP's equipment that resets back to 192.168.1.0/24 on reboot.
  • I am thinking of creating "virtual ips" to refer to gateway of each wan and then route through appropriate network via static rules. Unfortunately I have no clue how to create the virtual ip.
  • So it would look like this: virtualip1 192.168.10.0/24 > 192.168.1.0/24 via wanport1 and virtualip2 192.168.20.0/24 > 192.168.1.0/24 via wanport2.

I would appreciate some pointers on either the correct way to tackle the situation or a way to implement what I have outlined above.

One possibility is to create it via Luci - Network - Interface - add new, assign a name, static IP address, wan zone and gateway plus DNS. Create is as alias interface of your original wan port e.g. @eth0 or whatever name you have. Then you will need to reconfigure mwan3.