Jump to content

How is the route metric computed for usb network interfaces?


Recommended Posts

I have 2 usb interfaces.  The enx* interface is a cell connection and wlx* is wifi.  It looks like the route metrics are causing all the traffic to go through the cell modem?

 

Where is the route metric configured and how can I change these in a general way?  I'd like to configure several computers without having to know the unique name of each interface.
 

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.225.1   0.0.0.0         UG    100    0        0 enx169cc859c209
0.0.0.0         192.168.1.1     0.0.0.0         UG    600    0        0 wlx3c3300700ede
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlx3c3300700ede
192.168.1.0     0.0.0.0         255.255.255.0   U     600    0        0 wlx3c3300700ede
192.168.225.0   0.0.0.0         255.255.255.0   U     100    0        0 enx169cc859c209

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines