Need Help with Network Failover Configuration in Dockerized RaspAP #32
Closed
ChristianMichiels
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm facing a challenge setting up a network failover configuration on a Raspberry Pi running RaspAP inside a Docker container. My goal is for the default route to automatically switch from Ethernet (eth0) to Wi-Fi (wlan1) whenever eth0 is disconnected. Clients are connected to the AP through wlan0.
This setup worked perfectly before I dockerized RaspAP, but now I can't seem to replicate the functionality. I've adjusted my IPTables rules and the routing metrics to prioritize eth0 over wlan1, with wlan0 as the least preferred route. Here are the current settings:
I remain connected to the AP when eth0 is pulled however I only have local networking. Anything that should be heading upstream out of Wlan1 does not seem to work in the container. On the host side I am still provided WAN access. IP tables and route both inside and outside of docker are the same. Any troubleshooting guidance or help would be much appreciated. Or if someone else who has recreated this setup is reading this, id love to hear from you.
Beta Was this translation helpful? Give feedback.
All reactions