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@xxxxxxxxx> 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
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|