Two gateways in one LAN.

Discussion in 'Technical' started by edge, Aug 28, 2015.

  1. edge

    edge Active Member Moderator

    Here goes nothing..

    On my boats LAN system I have two GW's.

    One over a WIFI connection (192.168.169.2) and one over a 4G connection (192.168.169.1)
    Now when I'm in a WIFI area, I make manual changes to every PC's NIC to use GW WIFI.
    When I'm not in a WIFI area, I make manual changes to every PC's NIC to use GW 4G.
    I've got a Raspberry Pi 2 in the LAN running some small script, and I guess that I could use this to setup some kind of DNS system.
    But will this work? IE. Will it be able to detect the WIFI and/or 4G connection and "push" the GW to the other PC's in the LAN?

    Any suggestions are welcome.
    PS: When both GW's are available I would like the system to use the WIFI GW, and.... All other PC's in the LAN are Windows systems.
     

Share This Page