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.
- $ vi /etc/sysconfig/network-scripts/ifcfg-eth0
- NOTE: Append the following line into the file. Start editing by clicking i for insert
- 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}