ubuntu 双网卡配置

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 loopback
auto 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

***********************************************************************/


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章