fergycool
Well-Known Member
I’ve a little bit of a complicated routing (for me) issue for my “boat’s LAN" (LAN is currently a bit disingenuous as there's only the router which is just used for internet access!).
I have a 3G router on my boat which is currently used for iPads, iPhones, laptops and general internet stuff!
However, I now want to add a RPI to monitor various “things” around the boat.
The boat is normally moored within wifi range of my house, and so I’d like to use that connection, and fall back to the 3G router only when the boat is out of range of the house wifi.
I’m using a RUT500 router with an external aerial. You can use 3G, Ethernet or wifi as the external WAN, with a fallback to a second if the first fails. Initially I assume that the RUT500 had two wifi chips/aerials and so could route/extend between an external wifi connection and the internal one. However, it does not. If you use WIFI as a WAN connection, you cannot have an LAN WIFI active.
So I have two options I think:
(1) Use a cheap wifi extender that I can connect to the house WIFI and then, via ethernet, to the RUT500 router. Any suggestions on one that runs on 12/14v? I have visual sight of the boat so it does not have to be some directional super aerial!
OR
(2) do some complicated routing (which is currently beyond my networking skills) to make the RPI connect to the house WIFI and fallback to the 3G router. That’s slightly less complicated in that the RPI would not need a Gateway for external internet traffic when not connected to the house. Just LAN (I’ll be on the boat then!).
- When wifi is available, then the RPI will connect to it and use that as the gateway, except it will still connect to traffic via Ethernet on the LAN. It will use the DHCP/DNS server of the “house” LAN, although I guess it could easily be static.
- However when there is no wifi available it will fallback to the Ethernet link to the router and therefore use the 3G connection of that. The gateway will now be the 3G router. It will use the DHCP/DNS server of the 3G router except there will be minimal (if any) internet traffic.
- All local traffic i.e. Cameras, will always use the Ethernet, I.e. Stuff that's connected to the router's wifi lan
I have a 3G router on my boat which is currently used for iPads, iPhones, laptops and general internet stuff!
However, I now want to add a RPI to monitor various “things” around the boat.
The boat is normally moored within wifi range of my house, and so I’d like to use that connection, and fall back to the 3G router only when the boat is out of range of the house wifi.
I’m using a RUT500 router with an external aerial. You can use 3G, Ethernet or wifi as the external WAN, with a fallback to a second if the first fails. Initially I assume that the RUT500 had two wifi chips/aerials and so could route/extend between an external wifi connection and the internal one. However, it does not. If you use WIFI as a WAN connection, you cannot have an LAN WIFI active.
So I have two options I think:
(1) Use a cheap wifi extender that I can connect to the house WIFI and then, via ethernet, to the RUT500 router. Any suggestions on one that runs on 12/14v? I have visual sight of the boat so it does not have to be some directional super aerial!
OR
(2) do some complicated routing (which is currently beyond my networking skills) to make the RPI connect to the house WIFI and fallback to the 3G router. That’s slightly less complicated in that the RPI would not need a Gateway for external internet traffic when not connected to the house. Just LAN (I’ll be on the boat then!).
- When wifi is available, then the RPI will connect to it and use that as the gateway, except it will still connect to traffic via Ethernet on the LAN. It will use the DHCP/DNS server of the “house” LAN, although I guess it could easily be static.
- However when there is no wifi available it will fallback to the Ethernet link to the router and therefore use the 3G connection of that. The gateway will now be the 3G router. It will use the DHCP/DNS server of the 3G router except there will be minimal (if any) internet traffic.
- All local traffic i.e. Cameras, will always use the Ethernet, I.e. Stuff that's connected to the router's wifi lan