/etc/modules.conf 有如下
alias eth0 8139too
alias eth1 8139too
/etc/ethers 如下
00:E0:4C:49:51:56 192.168.0.3
00:90:cc:c2:ef:7f 192.168.1.3
dmsg也有eth0和eth1
dmesg |grep eth
eth0: RealTek RTL8139 at 0xd000, 00:e0:4c:49:51:56, IRQ 5
eth0: Identified 8139 chip type 'RTL-8139C'
eth1: RealTek RTL8139 at 0xe800, 00:90:cc:c2:ef:7f, IRQ 10
eth1: Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present
/etc/init.d/networking restart
/etc/network/options is deprecated (see README.Debian of netbase). (warning).
Setting up IP spoofing protection...done (rp_filter).
Reconfiguring network interfaces...Plugin rp-pppoe.so loaded.
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth1: ERROR while getting interface flags: No such device
eth1: ERROR while getting interface flags: No such device
Failed to bring up eth1.
done.
為什麼還不行呢
ifconfig 只看到eth0