Reliability in times of unreliability
a while back my internet went down, this took out my entire network as there was no upstream server for my dns.
preperation
My router supports multiple wans in an uplink configuration,
- confire a new vlan on my switch (vlan only) to be a sort of nat-dmz
- connect wan2 to the nat-dmz
- set up a new raspberry pi buster-lite, with POE power (din rail mounted)
- connect to the pi and update everything
- set up the uplink through my cellphone hotspot
- read, understand and run script 2 from here
- shut down the pi
- reconfigure the network port to be on the nat-dmz
- POE power cycle the pi
Testing
- ensure pi is connected to my cell phone
- check wan 2 has a valid ip address in the allocated range (10.1.1.x/24)
- pull out wan 1
- try to go somewhere on the internet
Success!
well, sorta… on failover i’m tripple nat’d and it kills my ability to servers.
but it keeps mu core up, and that’s the important thing..
still more research to be done on how to hotspot from a cellphone without nating. if it can be done at all.
- put the wan 1 cable back in
- wait for fail back
- disconnect wan 2 and POE pi
- leave the ports configured, as in an emergency you jut want it to all work
Profit
???? idunno, but seems like one more suseful skill checked off the to-do list
so, yeah
Read other posts