Network settings RPi

I Have installed OH2 on RPi3 with Openhabian. I have two local networks with two internet connections.

  1. Network has IP 192.168.1.1
  2. Network has IP 192.168.2.1
    How can I set network in RPi? First will be connected using WIFI and second with cable connection. Second will be primary. It is possible?

Have you tried the raspberry forum?