Re: virsh and guest IP

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
To: Main PLUG discussion list
Subject: Re: virsh and guest IP
Am 03. Nov, 2011 schwätzte James Crawford so:

moin moin,

> I can't think of a virsh command that would return the IP of the guest.
> Are you using DHCP to assign the Guest IP?
>    Ask dhcpd server.


True. Good idea. I should be able to script that somewhat easily.

It seems logical that if the client got an IP from the dhcp server
that it would be in the arp cache, but that doesn't seem to always be the
case. After sending my email I had a guest not in the host's arp cache,
but the guest had an IP when I checked via the console.

> We setup Static IP when we build the guests, so I keep it on a spreadsheet.


Yeah, that's a good idea. In this particular case I'm building one-off
test VMs, so I'd rather not track anything extra :).

ciao,

der.hans
-- 
#  http://www.LuftHans.com/        http://www.LuftHans.com/Classes/
#  Keine Ahnung, was ich dir sagen soll,
#  keine Ahnung und keinen (.)plan. -- die Toten Hosen
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss