Linux: Set Which Network Connection You Get Internet From [Default Route]
This quick tutorial will show you how to set which network Linux uses to access internet when multiple networks are connected by setting the default route. If you have a Linux device (for example a Raspberry Pi) connected to multiple networks (like being connected to a wireless and wired network simultaneously), you might have trouble connecting to the internet. That’s because Linux will have automatically set up some default routes, and will have somewhat arbitrarily picked which interface it tries to use to access the internet … Read more