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
No comments:
Post a Comment