Howto: change Port OR Network Interface Speed?

Posted by admin     Category: Linux Administration

How to change Port speed OR Network Interface Speed?

To set a specific speed limit on a Network Interface say 10mbps, edit the file network interface file and set the limit which will make the changes permanent even after a reboot.

Edit the file:

root@server [~]# pico /etc/sysconfig/network-scripts/ifcfg-eth0

Add the following line at the end of the file:

ETHTOOL_OPTS=”speed 10 duplex full autoneg off”

Save the file and restart the network service.

root@server [~]# service network restart

This way you can set the duplex or auto negotiation as well. Once done, you can check the network speed using the ethtool command

root@server [~]# ethtool eth0

Tags: , , , , , , ,

One Response to “Howto: change Port OR Network Interface Speed?”

  1. Peter Quinn Says:

    Hi. I am a long time reader. I wanted to say that I like your blog and the layout.

    Peter Quinn

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-spam image