lspic
02:08.0 Ethernet controller: Intel Corp.: Unknown device 1039 (rev 81) (onborad的)
02:09.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)
02:0a.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 05)
02:0c.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 05)
我在/etc/network/interface加上
auto eth1
iface eth1 inet static
address 10.0.0.2
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.0.255
gateway 10.0.0.10
auto eth2
iface eth2 inet static
address 10.0.0.3
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.0.255
gateway 10.0.0.10
ping 3個address都沒有問題的
但當我將3com 的lan cable disconnect 時
已經不能ping了
怎樣可以讓不同的lan card 指定不同的address呢
eg ping 10.0.0.1 -> 3com
ping 10.0.0.2 -> inter的第一張
ping 10.0.0.3 -> inter的第二張呢
thanks
各位大大