Laptop with 3 Network connection - traffic over all 3

vikozo

Member
Joined
Dec 30, 2021
Messages
54
Reaction score
12
Credits
442
Hello
on my Laptop (check signature) i have RJ45 LAN, WiFI and when connected also over my Dockingstation.

is there a way to tell
1 ) Dockingstation LAN
2 ) WiFi LAN
3 ) Laptop RJ45 LAN

there is a option to set the prioriti of the ports i gave them 1, 3 and 9
But they are still all open and traffic seems to go over all 3 Ports

have a nice day
vinc
 


If I am understanding correctly, I found this - which is untested by me:


I may just have to test that. Not today, but someday. That looks interesting.
 
What distro? Are you using NetworkManager?

nmcli con show enp1s0 | grep 'ipv4.route-metric'
nmcli con show wlp1s0 | grep 'ipv4.route-metric'


Where enp1s0 and wlp1s0 are yourinterface names. Lower number gets the priority.
You can set this by..

nmcli con mod enp1s0 ipv4.route-metric 5
nmcli con mod wlp1s0 ipv4.route-metric 10


Now normally interfaces are on different subnets. It would be interesting to get output from..

ip addr

Also "normally" you only have one default gateway at a time. What is the output of...

netstat -nr
 

Members online


Top