Wednesday, 4 March 2015

Changing duplex settings of ethernet card.

Recently, I came across an issue in my local machine. Download speed in my machine was extremely slow. I contacted my service provider but they had no clue.

After, a bit of troubleshooting I identified that the network speed set in my local machine's ethernet card was "half duplex". It has to be "full duplex" in normal case.




I assume that, everyone know, what half duplex and full duplex mean. In short, half duplex is slower and full duplex is faster.

I used the below command to change the speed to 100 Mb/s and duplex value to "Full".
----
ethtool -s em1 speed 100 duplex full
----

The resultant output was as below and download speed increased instantaneously.


 Now, if you love to have slow download speed..just kidding :) You can revert the setting using the command below.

----
ethtool -s eth0 speed 10 duplex half
-----

NOTE : THIS WILL NOT DISCONNECT NETWORK NOR NEEDS ANY DOWNTIME.

No comments:

Post a comment

Note: only a member of this blog may post a comment.