作者tkpunish (..)
看板Linux
标题Re: [问题] Ubuntu 两张网路卡的设定, 抓不到一张
时间Thu Sep 11 09:26:35 2008
※ 引述《dwj (甜腻腻)》之铭言:
: ※ 引述《tkpunish (..)》之铭言:
: : 换个方式问好了,
: : 怎麽再Ubuntu下安装两张网卡 ? 哪里需要设定 ?
: : 为什麽Ubuntu安装好後只能找到一张网卡?
: 你的问题不是没抓到网路卡, 而是没作设定. 请修改
: /etc/network/interfaces内容, 加入eth1设定即可.
恩, 我已经有google过了, 也已经加了eth1,
然後sudo ifdown -a , sudo ifup -a
ifconfig 只能看到eth0 (pci网卡)
请问, 有其他解法吗
下面是我interfaces file内的设定
auto lo
iface lo inet lookback
iface eth1 inet static
address 140.x.x.x
netmask 255.255.255.0
gatway 140.x.x.253
auto ath1
iface eth0 inet static
address 140.x.x.x
netmask 255.255.255.0
gatway 140.x.x.253
auto eth0
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.116.247.241