Display current routing table
route -n
Discover which interface will be used for a specific IP address
ip route get 8.8.8.8
Setting wlan interfaces to be high priority for routing than eth0, if present
sudo nano /etc/dhcpcd.conf
Add these lines to the end (or add "metric" to the existing interface definitions if you've already specified a setup for the eth or wlan interfaces)
#SET WLAN TO BE HIGHER PRIORITY THAN ETH0 FOR ROUTING IF PRESENT (lower metric takes precedence)
interface wlan1
metric 200
interface wlan0
metric 201
interface eth0
metric 300
USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.