
linux 双网卡只能识别一个
[root@localhost~]#kudzu--probe--class=network-class:NETWORKbus:PCIdetached:0device:et...
[root@localhost ~]# kudzu --probe --class=network
-
class: NETWORK
bus: PCI
detached: 0
device: eth0
driver: e1000e
desc: "Intel Corporation Unknown device 10d3"
vendorId: 8086
deviceId: 10d3
subVendorId: 8086
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 3
pcidev: 0
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth1
driver: e1000e
desc: "Intel Corporation Unknown device 10d3"
network.hwaddr: 00:e0:81:dc:5f:93
vendorId: 8086
deviceId: 10d3
subVendorId: 8086
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 2
pcidev: 0
pcifn: 0
[root@localhost ~]# kudzu --probe --class=network
-
class: NETWORK
bus: PCI
detached: 0
device: eth0
driver: e1000e
desc: "Intel Corporation Unknown device 10d3"
vendorId: 8086
deviceId: 10d3
subVendorId: 8086
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 3
pcidev: 0
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth1
driver: e1000e
desc: "Intel Corporation Unknown device 10d3"
network.hwaddr: 00:e0:81:dc:5f:93
vendorId: 8086
deviceId: 10d3
subVendorId: 8086
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 2
pcidev: 0
pcifn: 0
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:81:DC:5F:93
inet addr:192.168.2.177 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:81ff:fedc:5f93/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:756297 errors:0 dropped:0 overruns:0 frame:0
TX packets:163 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:68974573 (65.7 MiB) TX bytes:27928 (27.2 KiB)
Interrupt:169 Memory:fbae0000-fbb00000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1399 errors:0 dropped:0 overruns:0 frame:0
TX packets:1399 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2163728 (2.0 MiB) TX bytes:2163728 (2.0 MiB)
系统提示没有eth1这个设备 不让激活它 展开
-
class: NETWORK
bus: PCI
detached: 0
device: eth0
driver: e1000e
desc: "Intel Corporation Unknown device 10d3"
vendorId: 8086
deviceId: 10d3
subVendorId: 8086
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 3
pcidev: 0
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth1
driver: e1000e
desc: "Intel Corporation Unknown device 10d3"
network.hwaddr: 00:e0:81:dc:5f:93
vendorId: 8086
deviceId: 10d3
subVendorId: 8086
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 2
pcidev: 0
pcifn: 0
[root@localhost ~]# kudzu --probe --class=network
-
class: NETWORK
bus: PCI
detached: 0
device: eth0
driver: e1000e
desc: "Intel Corporation Unknown device 10d3"
vendorId: 8086
deviceId: 10d3
subVendorId: 8086
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 3
pcidev: 0
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth1
driver: e1000e
desc: "Intel Corporation Unknown device 10d3"
network.hwaddr: 00:e0:81:dc:5f:93
vendorId: 8086
deviceId: 10d3
subVendorId: 8086
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 2
pcidev: 0
pcifn: 0
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:81:DC:5F:93
inet addr:192.168.2.177 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:81ff:fedc:5f93/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:756297 errors:0 dropped:0 overruns:0 frame:0
TX packets:163 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:68974573 (65.7 MiB) TX bytes:27928 (27.2 KiB)
Interrupt:169 Memory:fbae0000-fbb00000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1399 errors:0 dropped:0 overruns:0 frame:0
TX packets:1399 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2163728 (2.0 MiB) TX bytes:2163728 (2.0 MiB)
系统提示没有eth1这个设备 不让激活它 展开
2个回答
展开全部
怎么感觉我答过这个问题。
你没写配置文件吧,在/etc/sysconfig/network-scripts/里面,
要自己写个配置文件,ifcfg-eth1具体怎么配置,可参照ifcfg-eth0
或者网上查资料!
娃,你分好多啊!
你没写配置文件吧,在/etc/sysconfig/network-scripts/里面,
要自己写个配置文件,ifcfg-eth1具体怎么配置,可参照ifcfg-eth0
或者网上查资料!
娃,你分好多啊!
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询