Re: Two NICs
On Tue, 28 Aug 2007 17:35:11 -0400, Jerry McBride wrote:
Harold Weissman wrote:
I have a box running a 2.6.21 kernel. The box has two NICs. How can I
find which NIC as been assigned to eth0, and which to eth1? I know that
ifconfig returns the MAC address of each eth* device - but the problem
is that I do not know what MAC address corresponds to what NIC to begin
with.
My experience is that the nic closest to the cpu is the lowest numbered
device. Holds true on every box I admin. Not a linux quirk, it's all
hardware...
Closest in what sense? In my case, one of the NICs is built-in,
whereas the other is a board in a PCI slot. I would have thought that
that built-in one is "closer" to the CPU, no matter what. Is this correct?
.
Relevant Pages
- Re: Cannot Ping Beyond Default Gateway & DHCP Server
... That computer has two ethernet NICs: one from Intel, and one from Linksys. ... He says he has never had to change a MAC nor tell the home office to change one. ... My assumption now is that this MAC control is occurring in the cable modem, and that clearing it with power off causes it to loose its previously-stored value. ... Network Diagnostics shows pings to his IP, Default Gateway, and DHCP Server work, but pings to DNS servers fail. ... (microsoft.public.windowsxp.network_web) - Re: Mac 10.4 OS on G5
... I called into the SBS Team Support yesterday because I was getting bombared ... changed before the Mac problem begin. ... the dual NICs on the server from teaming as Load Balance to Fault Tolerance ... (microsoft.public.windows.server.sbs) - Re: RIS, same GUID, duplicates, Dell GX60s
... Hence the requirement of the RIS boot disk. ... At this stage, it can't find it, so decides to get the MAC ... > these nics part of the motherboard or pci devices? ... (microsoft.public.windowsxp.setup_deployment) - Re: Multiple external interfaces
... >> It sounds like you need to set up routing tables to have one segment get ... see in outgoing frames/packets -- they never see extB's IP or MAC). ... All other dual line setups to a single ISP I've seen required static ... external NICs and just one internal NIC? ... (comp.os.linux.networking) - Re: MAC address
... *All* NICs have the MAC hard coded. ... it is up to the NIC manufacturer to ... provide OS drivers that can over-ride the hardware MAC with a software MAC. ... (microsoft.public.win2000.general) |
|