Vi /etc/resolv.conf
domainsh.intel.com
searchsh.intel.com
nameserver10.248.2.5
nameserver10.239.27.228
nameserver172.17.6.9
vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=tracing047
vi/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:1E:67:ED:F3:F3
TYPE=Ethernet
UUID=1760d19b-9d88-4360-8c1b-5497160d8786
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
IPADDR=172.18.0.47
GATEWAY=172.18.0.49
NETMASK=255.255.255.0
/etc/init.d/networkrestart
查看网络带宽
ip a
ethtooleth1
ifdowneth0 ifupeth0