系统版本[root@~]#cat/etc/redhat-releaseCentOSrelease6.8(Final)[root@~]#uname-r2.6.32-642.6.1.el6.x86_64网卡说明eth0192.168.1.8(服务器外网卡)eth1eth2两块服务器网卡(内网)关闭防火墙[root@~]#/etc/init.d/iptablesstop[root@~]#chkconfigiptablesoffcloseselinux[root@~]#setenforce0[root@~]#sed-i's/SELINUX=enforcing/SELINUX=disabled/'/etc/selinux/configdisableNetworkManager[root@~]#/etc/init.d/NetworkManagerstopStoppingNetworkManagerdaemon:[OK][root@~]#chkconfigNetworkManageroff[root@~]#/etc/init.d/networkrestartediteth1网卡[root@~]#cd/etc/sysconfig/network-scripts/[root@network-scripts\]#cat>ifcfg-eth1<
