All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Farshid Abediny <farshidabediny@gmail.com>,
	Xen-devel@lists.xensource.com
Subject: Re: read mac in vif-bridge
Date: Sat, 3 Sep 2011 13:58:42 +0200	[thread overview]
Message-ID: <20110903115842.GA11981@aepfle.de> (raw)
In-Reply-To: <CAFJMEGRtZhwK3s1VPwiEoJFL2B1Ysgm5CQx6zTzqk3eOe0APxw@mail.gmail.com>

On Sat, Sep 03, Farshid Abediny wrote:

> Hello Olaf,
> but in that file did not put correct mac it is like : e:ff:ff:ff:ff:ff

Does 'ip a' or 'ifconfig -a' show a different MAC address for your
interface?

Olaf

> On Tue, Aug 30, 2011 at 5:53 PM, Olaf Hering <olaf@aepfle.de> wrote:
> 
>     On Tue, Aug 30, Pasi Kärkkäinen wrote:
> 
>     > On Tue, Aug 30, 2011 at 03:14:40PM +0430, Farshid Hajizeinalabedin wrote:
>     > >    Hello,
>     > >    i need read mac address in /etc/xend/scripts/vif-bridge but in this
>     file i
>     > >    can only read ip and vif how can i read mac address on this file?
>     > >    thanks,
>     >
>     > Well, you know the vif name, so use "ifconfig" or "ip" commands to get
>     the mac?
> 
>     Its provided in the /sys/class/net/${vif}/address file.
> 
>     Olaf
> 
> 

  parent reply	other threads:[~2011-09-03 11:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-30 10:44 read mac in vif-bridge Farshid Hajizeinalabedin
2011-08-30 13:18 ` Pasi Kärkkäinen
2011-08-30 13:23   ` Olaf Hering
     [not found]     ` <CAFJMEGRtZhwK3s1VPwiEoJFL2B1Ysgm5CQx6zTzqk3eOe0APxw@mail.gmail.com>
2011-09-03 11:58       ` Olaf Hering [this message]
     [not found]         ` <CAFJMEGTsShXCaXuOWoGyJfd7s+g1Nmva_zz1ycDN2e6C7C-nrw@mail.gmail.com>
2011-09-03 12:12           ` Olaf Hering
2011-09-03 12:23             ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110903115842.GA11981@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=Xen-devel@lists.xensource.com \
    --cc=farshidabediny@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.