LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-06-2006, 11:26 AM   #1
lhiggie
LQ Newbie
 
Registered: Feb 2006
Location: Louisville, KY, USA
Distribution: RHEL 3, RHEL 4, RHEL 5, RHEL6
Posts: 10

Rep: Reputation: 0
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
 
Old 06-06-2006, 11:41 AM   #2
BlisteringSh33p
LQ Newbie
 
Registered: Jun 2006
Location: Virginia
Distribution: Gentoo, Slackware, RHAS, MontaVista, Fedora, Ubuntu
Posts: 4

Rep: Reputation: 0
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
 
Old 06-06-2006, 11:45 AM   #3
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
hi,
run
#ifconfig

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

regards
 
Old 06-06-2006, 11:48 AM   #4
BlisteringSh33p
LQ Newbie
 
Registered: Jun 2006
Location: Virginia
Distribution: Gentoo, Slackware, RHAS, MontaVista, Fedora, Ubuntu
Posts: 4

Rep: Reputation: 0
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.
 
Old 06-06-2006, 12:52 PM   #5
lhiggie
LQ Newbie
 
Registered: Feb 2006
Location: Louisville, KY, USA
Distribution: RHEL 3, RHEL 4, RHEL 5, RHEL6
Posts: 10

Original Poster
Rep: Reputation: 0
Solved!!!!

Thank you to all that responded!

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

Sincerely,
lhiggie
 
  


Reply

Tags
networking


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find Physical Volumes associated with a Logical Volume Group mghiya Programming 3 09-27-2013 07:59 AM
find IP from MAC mcirsta Linux - Networking 5 06-16-2009 03:06 PM
bonded interfaces 2x slower than one bedge Linux - Networking 1 03-06-2007 04:55 PM
How to find *hardware* mac addresses on bonded interfaces? TotalDefiance Linux - Software 3 06-06-2006 11:53 AM
shell command to find the number of collisions of NICs RajRed Linux - Newbie 14 04-19-2006 01:20 PM


All times are GMT -5. The time now is 11:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration