11) Network card general setup test Leave a Comment / Technology sharing / By ti@Admin After the NIC is installed on the server, you can test the NIC function and performance to verify and evaluate its stability and compatibility. 1. Enable and disable network cards 1.1 Disabling a Specified Network Port.ifconfig EthX down1.2 Enabling a Specified Network Port;ifconfig EthX up1.3 Checking whether the network can be pinged.ping xxx.xxx.xxx.xxx1.4 Check whether the installed NIC has been identified and the corresponding driver has been installed.ifconfig-a (or ip a)1.5 Setting the MTU Value of the NIC (Default Value: 1500)ifconfig EthX mtu 90001.6 Setting the send and receive buffer valuesethtool -G EthX rx 4096 tx 4096 2. verify the driver correlation 2.1 Querying the driver version and NIC firmware Information.ethtool -i EthX2.2 Viewing the NIC Support Information;ethtool EthX 3. Typical basic tests 3.1 Perform tests with different packet lengths;Server execution: netserverRun the netperf -t TCP_RR -H server IP address -l 10 — -r 32,x (The value of x ranges from 100 to 1200).3.2 Perform a bandwidth test.Server execution: iperf -sRun the following command on the client: iperf – Server IP address – i-5-600