Routing specific internal IPs to secondary internet on OpenWrt (x86) with MultiWAN

Hello everyone,

I'm hoping to get some help configuring my OpenWrt (x86) setup to route specific internal IPs to my secondary internet connection. I'm currently using MultiWAN to have a primary and backup internet connection, but I need to ensure that certain internal IPs, which are in different subnets, use the secondary internet for their traffic.

My current network configuration is as follows:

  • LAN: 192.168.40.1/24
  • LAN-rede02: Clients on PPP receiving IPs in the 192.168.20.1/24 range
  • link01: GW (192.168.10.254) (static IP)
  • link02: PPPoE (link via PPPoE)

Att