[OpenIndiana-discuss] am i blind? MAC address zones

James Carlson carlsonj at workingcode.com
Wed Jul 4 15:44:27 UTC 2012


On 7/4/2012 10:06 AM, Sašo Kiselkov wrote:
> On 07/04/2012 02:21 PM, Jeppe Toustrup wrote:
>> On Wed, Jul 4, 2012 at 2:12 PM, Sašo Kiselkov <skiselkov.ml at gmail.com> wrote:
>>> On 07/04/2012 01:57 PM, Open Indiana wrote:
>>>> I must be blind or stupid and maybe both are be true.
>>>>
>>>> But where the h do I find the MAC-address of my zone's IP-address?
>>>
>>> (in-nonglobal-zone)# ifconfig vnic0
>>> vnic0: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500
>>> index 2
>>>         inet A.B.C.D netmask ffffff00 broadcast X.Y.Z.0
>>>         ether 2:8:20:1e:4:75    <---- here?
>>
>> Also note that you need to run ifconfig with root permissions in the
>> zone in order for it to print the MAC address.
> 
> That's why it said '#' in front of my prompts, not '$' :-)

Try also "netstat -np" and "arp -n".  No root permissions required.

-- 
James Carlson         42.703N 71.076W         <carlsonj at workingcode.com>





More information about the OpenIndiana-discuss mailing list