[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting domU vif's MAC address from dom0


  • To: xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: Andy Smith <andy@xxxxxxxxxxxxxx>
  • Date: Thu, 26 Sep 2024 10:17:36 +0000
  • Delivery-date: Thu, 26 Sep 2024 10:18:22 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc

Hi,

On Thu, Sep 26, 2024 at 05:53:48AM +0000, Klaus Darilion wrote:
> > Is there an easy way of programmatically obtaining the domU-side MAC of
> > a vif, from the dom0?
> 
> Why not doing it the other way round and specify the MAC address in the Xen 
> config file of the VM?

I already do that, hence I said this in my original email:

    I can also parse it out of the domU's config file, but that seems
    quite hacky.

The same info is in xenstore so if there is an easy way to read that,
that seems better.

> So you want to 'route' into the VM instead of the usual 'switching' approach 
> with a Linux bridge?

I do use routed networking, yes.

Thanks,
Andy



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.