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

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


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