Monday, November 20, 2017

linux - How do I verify the speed of my NIC?



I just installed a new gigabit network interface card (NIC) in Linux. How do I tell if it is really set to gigabit speeds? I see ethtool has an option to set the speed, but I can't seem to figure out how to report its current speed.


Answer



Just use a command like: ethtool eth0 to get the needed info. Ex:




$ sudo ethtool eth0 | grep Speed



Speed: 1000Mb/s

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...