[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Getting domU vif's MAC address from dom0
Den 26.09.2024 12:17, skrev Andy Smith: 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. If you want mac of domid 1, it's: xenstore-read /libxl/1/device/vif/0/mac 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |