Obtaining SUN mac addresses from C/C++

2007-12-24 22:50:00

This is a follow up to my earlier question....In our environment we run
primarily Solaris 8 right now. We are using multiple qfe cards with IP
Multi-Pathing...we have local-mac-addr set to true...we want to be able to
obtain the mac for each interface...

any thoughts??

Developer wrote:

If you could, ask the online group you were talking about, if there is a
particular function or routine used to get an interfaces MAC address besides
issuing an ARP to an already configured interface. For instance, as we were
talking about earlier, if the interface needs to be configured via DHCP, how
would someone go about grabbing the mac address in a C program. So in all,
just paste this in there:

Is there a particular function or routine used to get the MAC address of an
unconfigured interface?

Thanks for all your help on this...

Comments

Got something to say?

You must be logged in to post a comment.