Hi, I have 2 different networks each with its own WAN and LAN subnets and I am trying to use a single multi-ports OpenWRT router to house both networks. I have gotten almost everything figured out but could not find a way to define the default gateway to each network individually. To give a clearer example:
eth0: WAN1 IP address: 22.214.171.124 (dhcp assigned by provider1)
eht1: LAN1 IP address: 192.168.1.1 (static, dhcp server enabled in OpenWRT)
eth4: WAN2 IP address: 126.96.36.199 (dhcp assigned by provider2)
eth5: LAN2 IP address: 192.168.2.1 (static, dhcp server enabled in OpenWRT)
How can I set all traffic on LAN1 gateway pointing to WAN1, and LAN2 gateway pointing to WAN2? I am not trying to do any load balancing or fail over from WAN1 to WAN2, just 2 distinct networks.
Can anyone help? Thanks!