Separate Gateway For Different Networks?

I have a DLink DWR116 router with OpenWrt 19.04 installed, having the following config

eth0.1 (Uplink) :
IP : 10.1.0.2/16
Gateway : 10.1.0.1

eth0.100 (Guest WiFi) :
IP : 192.168.254.1/24
DHCP Enabled
Attached WiFi : Guest-WiFi

eth1 (4G Modem) :
IP : 192.168.0.2/24
Gateway : 192.168.0.1

eth0.200 :
IP : 192.168.253.1/24
DHCP Enabled
Attached WiFi : VLAN200

I want to make a separate network VLAN200, 192.168.253.0/24, using the 4G modem as it's only gateway, separate from my home network using 10.1.0.1 as a gateway, essentially :

Guest-WiFi > OpenWrt (192.168.254.1) > 10.1.0.1 > Internet

VLAN200 > OpenWRT (192.168.253.1) > 192.168.0.1 > Internet,

So that in case the primary uplink goes down, the clients on the Guest-WiFi network can't use my 4G internet, nor can anyone else on my home network (10.1.0.0/16) access the internet using 4G (using gateway 10.1.0.2).

pfSense allows choosing a default gateway for different networks, is something similar also possible on OpenWRT ?

3 Likes