Skip to contentSkip to conversation

Getting DomU IP from Dom0

DISCUSSION Manoj Subramaniam (manojsub) 2 participants 2 messages Nov 25, 2013 – Nov 26, 2013

lore
Share & tools
lore
#0 lore raw

Is there a direct way to get the DomU's IP address (DHCP assigned) from Dom0 without having login? The tcpdump on source mac (suggested way on the Xen wiki), ARP/RARP seem to be workarounds and not suitable for my scripting needs.

- Manoj

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 1 line · Manoj Subramaniam (manojsub)

Is there a direct way to get the DomU's IP address (DHCP assigned) from Dom0 without having login? The tcpdump on source mac (suggested way on the Xen wiki), ARP/RARP seem to be workarounds and not suitable for my scripting needs.

At Oracle we developed a driver that communicates via the XenBus that kind of information. It is open-source so you should be able to download it and use it.

See https://oss.oracle.com/git/?p=linux-uek3-3.8.git;a=commitdiff;h=f5c314acc2ca1f7cbf4496fdc5c6fe07287f562d

There is also a user-space proess in dom0 that communicates with them - ovmwatch. You should be able to get that from OVM 3.2 source ISOs.

Quoted 7 lines

- Manoj

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel