Ubuntu setup Network

Job ID: 31777873

Budget: €18 – €36 EUR

Hi!

I have an ubuntu server running on raspberry pi400. The pi is connected to 3 LTE modems via ethernet (1x ethernet port, 2x over ethernet adapter via USB port). First thing is that i want the pi's wifi module i connected to my home wifi, and thats stable connected to there, but there will be no traffic on this connection except when i want connect over ssh to the server from public internet out of home. The other 3 LTE modems i want handle that way: i want that one interface is priorized so that all traffic in/out is going through that interface, when on that modem is something not working like LTE connection lost or carrier problem i want an failover to the other 2 interfaces. Important is that the server always is connected because there are scripts for an client running that always need be online without any interruption. I solved that now by adding ifmetric 100 to the other 2 modems, and then delete them and add to another 2 this value for switch between that 3 interfaces. That way i get sometimes little interruptions in my code, not to catch by an normal ping google.at -n, but because my python code runs threads may thats causing that. Another solution could be may bonding them, and then use commands to priorize one of these bonded interfaces (dont know much about it).

So again in short words, i want executable commands to switch between 3 physically connected modems without any interruption, also want to connect to home wifi with the 4. interface (wifi) but this is an stable connection just open for connecting over ssh to the server from out.

If you have any questions or want discuss more in detail just ping me.
Related categories: System Admin Linux Ubuntu Network Administration