Configure Speed and Duplex in CentOS

If you have a colocated CentOS server with CeraNet then you may need to modify the speed and duplex for best performance. CeraNet will provide you with the appropriate settings. If CeraNet tells you to configure your WAN link for auto-negotiate then you will likely not need to do anything. Otherwise, you may need to need to hard-code your link as follows:

1) Install network tools, if not already installed

  • $ yum install ethtool net-tools

2) Verify WAN link properties

  • $ ethtool eth0
  • NOTE: you may need to replace eth0 with the name of the NIC that you have connected to the WAN (i.e. eth1, etc.)
  • NOTE: if your WAN link was specified as auto-negotiate by CeraNet then the results should say Auto-negotiation: on and the Speed and Duplex should match the speed on your contract. If this is the case then you should not need to do anything more with your Ubuntu configuration.
  • NOTE: if your WAN link was specified to be hard-coded by CeraNet then the results should say Auto-negotiation: off and the Speed and Duplex should match the speed on your contract. Even if the Speed and Duplex match the desired values you should continue to follow the instructions below.
3) Hard-code WAN link
  • $ vi /etc/sysconfig/network-scripts/ifcfg-eth0
  • NOTE: Append the following line into the file. Start editing by clicking i for insert
ETHTOOL_OPTS="speed 10 duplex full autoneg off"
  • NOTE: Adjust the ETHTOOL_OPTS variable with values as specified by CeraNet.
  • NOTE: Save the file using the vi editor by clicking {esc}:wq{enter}
4) Reboot the server (or restart the network)
 
If you have any problems please contact CeraNet Technical Support (existing clients only).
  • 34 Users Found This Useful
Was this answer helpful?

Related Articles

Change Time Zone in CentOS

Changing the time zone on a CentOS server is fairly easy.   First, you'll need to know your...

Change Time Zone in CentOS

Changing the time zone on a CentOS server is fairly easy.   First, you'll need to know your...

Configure Speed and Duplex in Ubuntu

If you have a colocated Ubuntu server with CeraNet then you may need to modify the speed and...

Configure Speed and Duplex in Ubuntu

If you have a colocated Ubuntu server with CeraNet then you may need to modify the speed and...

Exit Gnome

Gnome is a GUI interface often used with Debian.  If you need to exit the GUI and go into the...