LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to find the physical MAC of bonded NICs (https://www.linuxquestions.org/questions/linux-networking-3/how-to-find-the-physical-mac-of-bonded-nics-452128/)

lhiggie 06-06-2006 11:26 AM

How to find the physical MAC of bonded NICs
 
Hello everyone,

I am trying to figure out how to determine the physical MAC Address of each of our NICs on 29 different servers. Each server has at least 2 NICS that are bonded and as I have learned each takes on a specific MAC from one of the NICs. My question, is how do I find the physical MAC of each NIC. I'm running RHEL 3.0 AS on these servers.

Thanks in advance for any help.

Sincerely,
lhiggie

BlisteringSh33p 06-06-2006 11:41 AM

cat /proc/net/bonding/bondX

where bondX is the name of your bonded interface, as:

# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v2.6.1 (October 29, 2004)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: eth2
Currently Active Slave: eth2
MII Status: up
MII Polling Interval (ms): 1000
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:09:6b:9b:38:ae

Slave Interface: eth3
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:09:6b:9b:38:af

b0nd 06-06-2006 11:45 AM

hi,
run
#ifconfig

in "eth0" "eth1" etc you can see the MAC of that particular NIC.

regards

BlisteringSh33p 06-06-2006 11:48 AM

If they're bonded, all interfaces in the team including the bondX interface should show the same mac address. There may be bonding modes that allow the interfaces to have different mac address after the bonding, but it usually means that your ifenslave is outdated.

lhiggie 06-06-2006 12:52 PM

Solved!!!!
 
Thank you to all that responded!

Thank you specifically BlisteringSh33p, that is exactly what I needed!

Sincerely,
lhiggie


All times are GMT -5. The time now is 08:01 PM.