ubuntu雙網卡配置
------------------------------------------------------------------
進入:vi /etc/network/interfaces
重啓網絡:/etc/init.d/networking restart
查看網絡:ifconfig eth0
查看網線鏈接狀態:mii-tool
例如:root@kmjx:/home/kmjx# mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok
eth1: negotiated 1000baseT-HD flow-control, link ok
/******************************
auto lo
iface lo inet loopbackauto eth0
iface eth0 inet static
address 192.168.1.243
netmask 255.255.255.0
gateway 192.168.1.1
auto eth1
iface eth1 inet static
address 192.168.2.248
netmask 255.255.255.0
gateway 192.168.2.1
***********************************************************************/