- 论坛徽章:
- 0
|
我发现一个问题。
[root@amd-8356-128-1 ~]# ifconfig -a
eth2 Link encap:Ethernet HWaddr 00:15:17:AE:65:7A
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:17ff:feae:657a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23452 errors:0 dropped:0 overruns:0 frame:0
TX packets:5493 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2380175 (2.2 MiB) TX bytes:547347 (534.5 KiB)
Interrupt:16 Memory:e1f20000-e1f40000
eth3 Link encap:Ethernet HWaddr 00:15:17:AE:65:7A
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:17ff:feae:657a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21122 errors:0 dropped:0 overruns:0 frame:0
TX packets:4348 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1991357 (1.8 MiB) TX bytes:397305 (387.9 KiB)
Interrupt:16 Memory:e1f60000-e1f80000
eth2 和eth3的MAC地址为什么会一样呢?
经验证,eth2 和eth3都可以工作,
另一台机器上的arp信息:
[root@amd-8356-128-3 ~]# arp
Address HWtype HWaddress Flags Mask Iface
corerouter.nay.redhat.c ether EC:30:91:E2:4B:00 C rhevm
192.168.1.3 ether 00:15:17:AE:65:7A C rhevm
192.168.1.2 ether 00:15:17:AE:65:7A C rhevm
关于网卡的pci信息
- 41:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
- Subsystem: Intel Corporation PRO/1000 PT Dual Port Server Adapter
- Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B- DisINTx+
- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <;PERR- INTx-
- Latency: 0, Cache Line Size: 64 bytes
- Interrupt: pin A routed to IRQ 44
- Region 0: Memory at e1f20000 (32-bit, non-prefetchable) [size=128K]
- Region 1: Memory at e1f40000 (32-bit, non-prefetchable) [size=128K]
- Region 2: I/O ports at 8000 [size=32]
- [virtual] Expansion ROM at e1f00000 [disabled] [size=128K]
- Capabilities: [c8] Power Management version 2
- Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
- Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
- Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
- Address: 00000000fee00000 Data: 407d
- Capabilities: [e0] Express (v1) Endpoint, MSI 00
- DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
- ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
- DevCtl: Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
- RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
- MaxPayload 256 bytes, MaxReadReq 4096 bytes
- DevSta: CorrErr- UncorrErr- FatalErr+ UnsuppReq+ AuxPwr+ TransPend-
- LnkCap: Port #0, Speed 2.5GT/s, Width x4, ASPM L0s, Latency L0 <4us, L1 <64us
- ClockPM- Surprise- LLActRep- BwNot-
- LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
- LnkSta: Speed 2.5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
- Capabilities: [100] Advanced Error Reporting
- UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
- UESvrt: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt+ UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
- AERCap: First Error Pointer: 14, GenCap- CGenEn- ChkCap- ChkEn-
- Capabilities: [140] Device Serial Number [color=Red]00-15-17-ff-ff-ae-65-7a[/color]
- Kernel driver in use: e1000e
- Kernel modules: e1000e
- 41:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
- Subsystem: Intel Corporation PRO/1000 PT Dual Port Server Adapter
- Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B- DisINTx+
- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <;PERR- INTx-
- Latency: 0, Cache Line Size: 64 bytes
- Interrupt: pin B routed to IRQ 45
- Region 0: Memory at e1f60000 (32-bit, non-prefetchable) [size=128K]
- Region 1: Memory at e1f80000 (32-bit, non-prefetchable) [size=128K]
- Region 2: I/O ports at 8420 [size=32]
- Capabilities: [c8] Power Management version 2
- Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
- Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
- Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
- Address: 00000000fee00000 Data: 406d
- Capabilities: [e0] Express (v1) Endpoint, MSI 00
- DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
- ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
- DevCtl: Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
- RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
- MaxPayload 256 bytes, MaxReadReq 4096 bytes
- DevSta: CorrErr- UncorrErr- FatalErr+ UnsuppReq+ AuxPwr+ TransPend-
- LnkCap: Port #0, Speed 2.5GT/s, Width x4, ASPM L0s, Latency L0 <4us, L1 <64us
- ClockPM- Surprise- LLActRep- BwNot-
- LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
- LnkSta: Speed 2.5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
- Capabilities: [100] Advanced Error Reporting
- UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
- UESvrt: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt+ UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
- AERCap: First Error Pointer: 14, GenCap- CGenEn- ChkCap- ChkEn-
- Capabilities: [140] Device Serial Number [color=Red]00-15-17-ff-ff-ae-65-7a[/color]
- Kernel driver in use: e1000e
- Kernel modules: e1000e
复制代码
最后两条信息基本一样,只是
Interrupt: pin A routed to IRQ 44
Interrupt: pin B routed to IRQ 45
从这里看,eth2和eth3好像是在一个适配器上的两个口。
http://www.intel.com/design/network/products/lan/controllers/82571eb.htm |
|