From: James Carlson on
mohm senad <mohmi2003(a)yahoo.de> writes:
> the interface is used for llt in a very early system startup phase.
> so I do not like tp get tcpip on it running at all.

In that case, the best answer is probably to do it the way ifconfig
does: open the DLPI node (/dev/<name> or /dev/<name><ppa>), and use
DL_PHYS_ADDR_REQ to get the address.

--
James Carlson, IP Systems Group <james.d.carlson(a)sun.com>
Sun Microsystems / 1 Network Drive 71.234W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.497N Fax +1 781 442 1677
From: Thomas Schulz on
In article <qr4v0153hi2mfphuru6bkup2nfgdu9jbki(a)4ax.com>,
mohm senad <mohmi2003(a)yahoo.de> wrote:
>On Fri, 11 Feb 2005 02:57:19 GMT, John Blackburn
><john.d.blackburn(a)transport.qlNO_SPAMd.gov.au> wrote:
>
>>mohm senad <mohmi2003(a)yahoo.de> wrote in
>>news:ljdf01d19v4gv4vkc9rcguf48e9m1bftdm(a)4ax.com:
>>
>>> the Question is how to get the mac adress of NOT plumbed network
>>> interfaces.
>>>
>>> It is easy to get mac addr. of plumbed interfaces (ifconfig -a) but
>>> what about not plumbed interfaces.
>>>
>>> the local-mac-address? is set to true.
>>>
>>> Thx
>>> potros
>>>
>>
>>Why don't you plumb the interface, then you can find the mac address with
>>the ifconfig command.
>the interface is used for llt in a very early system startup phase.
>so I do not like tp get tcpip on it running at all.

You would not have to leave it plumbed. You could plumb it (but not set up
a tcp address), find out the mac address, and then unplumb it. You would
only have to do this once.
--
Tom Schulz
schulz(a)adi.com