I have a ZTE modem/router and I want to have 2 interfaces related to two privates networks: 192.168.1.0 192.168.2.0 with gateways 192.168.1.1 192.168.2.1, at the same time I need both interfaces to be connected to the internet (WAN), an be able to communicate between them. The Pc choose if they want to belong to the net 192.168.2.0 by static IP, otherwise the dhcp will give an IP in 192.168.1.0 by default.
________ PC| ->192.168.2.1-> | | | Router |-> WAN PC| ->192.168.1.1-> |________|
How can I achieve that with only one router/modem?
It must work whether the devices are connected thru physical LAN or WLAN.