LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-01-2006, 09:42 AM   #1
TotalDefiance
Member
 
Registered: Jan 2004
Distribution: Slackware, RH, WBEL
Posts: 65

Rep: Reputation: 15
How to find *hardware* mac addresses on bonded interfaces?


Does anyone know how to display the true hardware MAC address for interfaces involved in bonding? ifconfig shows the the single mac address involved in all interfaces.

Thanks.
 
Old 05-01-2006, 09:51 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Don't have a bonded setup to test here, but 'lshw' shows the MAC address, and I think it gets this info from the HW itself rather than by asking the kernel so it should be the real HW MAC address...
 
Old 05-01-2006, 11:55 AM   #3
TotalDefiance
Member
 
Registered: Jan 2004
Distribution: Slackware, RH, WBEL
Posts: 65

Original Poster
Rep: Reputation: 15
thanks for the info. due to some issues we had to revert back to no bonding, so I retrieved all the macs. I'll have to grab lshw, though I did find lshal useful on another box.
 
Old 06-06-2006, 11:53 AM   #4
BlisteringSh33p
LQ Newbie
 
Registered: Jun 2006
Location: Virginia
Distribution: Gentoo, Slackware, RHAS, MontaVista, Fedora, Ubuntu
Posts: 4

Rep: Reputation: 0
If you're still curious, a "cat /proc/net/bonding/bondX" where bondX is replace with the name of your bonded interface (ie., bond0) will show all of the physical interfaces and their actual hardware address.
 
  


Reply



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
bonded interfaces 2x slower than one bedge Linux - Networking 1 03-06-2007 04:55 PM
Viewing MAC addresses ivanatora Linux - Networking 1 09-26-2003 12:47 PM
Detecting IPv6 addresses of interfaces obashir Programming 4 11-13-2002 07:25 PM
Mac Addresses nixdisciple Linux - Security 6 07-01-2002 10:55 PM
Finding mac addresses Chijtska Linux - Security 5 02-27-2002 04:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration