This is an old revision of the document!
Table of Contents
Alternative access to the Internet
Rationale
The normal Internet access is via a fiber connection which at present operates at 1 Gb/sec up and down. The connection has operated almost without flawlessly since I got it circa 2006.
But, but, but. There is always the chance that the fiber is cut, e.g. when somebody starts digging without having obtained proper information on what already may be buried in the ground (power cables, antenna cables, telephone cables , water piping, sewage piping, you name it)
So the idea arose of having another way of connecting to the internet in case the fiber connection for whatever reason stopped functioning. This allows for at least two things:
- It allows connecting to the Internet from the LAN for browsing, email etc. The details on how this is done in practice are Redundancy
- By itself it doesn't allow for incoming connection to publicly accessible server on the LAN. But since we are two persons working on this from different locations it became evident that an alternative was possible: By establishing a tunnel between our sites we could make it possible to access our own servers by connecting to the other's LAN using special addresses. The 'other' LAN could then route the connection back through the tunnel to the desired destination. Of course this scheme would break down if both sites lost their fiber connection simultaneously.
This note describes how this alternative Internet access way is constructed.
Physical Inplementation
The access device used is an USB stick (dongle), in casu a Huawei E3372 LTE modem. A SIM card from Lebara completes the setup.
A good question is: where to place the dongle: In the primary (fiber) router or in a separate router dedicated to the purpose. The answer in this situation became a separate router because having to distinct router gives an extra degree of redundancy.
The alternative router is a RaspberryPi 3B running “Raspbian GNU/Linux”, at present at version 11 (bullseye)
The primary router is a 3-port APU2E5 from PCengines running Gentoo Linux.
Routing
Once decided to have two routers on the LAN you have to use a routing protocol in order to keep the router updater on each other. The general routing protocol setup is described in Routing