Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 5760  / 3 Years ago, sun, october 17, 2021, 10:35:35

The reason I ask is because I want to know if I will achive higher speeds if I'm connected to both than just one connection. Also when I'm gaming (on the internet) if I just use the wireless I always drop out after a while, but I don't if I use both!



I'm connected to both the wireless and the wired connection.




  • How can I know what connection I'm using?

  • Am I using both at the same time?

  • Which one is the one I get my IP-address from?



This was an interesting result of nm-tool | route



Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 1 0 0 eth0
192.168.1.0 * 255.255.255.0 U 2 0 0 wlan0


I want to know where the "main" amount of packages are sent. So if I'm connected to both I would like to know which one has the most weight put on it?



The router is a D-link 524.


More From » 11.04

 Answers
0

If you have more than one network connection active at one time (each one with its IP address), it is the routing table that should determine which one is used for a particular request.



If you are using Network Manager, the command



nm-tool | grep -i 'device|state'


should give you information about the active connection, and the output of route should give you information about which interface is used to reach a particular IP address.



Given your routing table, both interfaces have the same route, but eth0 is preferred because of a minor metric.



The conclusion should be that you are only using eth0, this can be verified with ifconfig, look at the Byte RX and Byte TX fields.


[#40982] Monday, October 18, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
breadoules

Total Points: 212
Total Questions: 118
Total Answers: 120

Location: Dominica
Member since Mon, Jun 22, 2020
4 Years ago
;