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,

  1. confire a new vlan on my switch (vlan only) to be a sort of nat-dmz
  2. connect wan2 to the nat-dmz
  3. set up a new raspberry pi buster-lite, with POE power (din rail mounted)
  4. connect to the pi and update everything
  5. set up the uplink through my cellphone hotspot
  6. read, understand and run script 2 from here
  7. shut down the pi
  8. reconfigure the network port to be on the nat-dmz
  9. POE power cycle the pi

Testing

  1. ensure pi is connected to my cell phone
  2. check wan 2 has a valid ip address in the allocated range (10.1.1.x/24)
  3. pull out wan 1
  4. 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.

  1. put the wan 1 cable back in
  2. wait for fail back
  3. disconnect wan 2 and POE pi
  4. 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