On 06/08/2012 05:13 PM, Michal Privoznik wrote:
On 08.06.2012 11:02, Alex Jia wrote:
> On 06/08/2012 04:04 PM, Michal Privoznik wrote:
>> This feature has been requested for a very long time. However,
> I'm very glad to see this patch :-)
>> we had to wait for guest agent to obtain reliable results as
> Yeah, it's a good way to get guest IP by GA, the disadvantage is we have
> to depend on
> GA installation the guest, sometimes, it probably is a trouble thing,
> for example, I use
> virt-v2v to convert a existing ESX VM into libvirt then the ESX VM
> impossible had GA
> installation ago, if I want to automate to finish all of stuff, but I
> don't know VM IP address,
> so I can't automatically install GA in the converted VM, it may be a
> special case for you.
>
> However, 'tcpdump' or 'nmap' can do the same thing without GA
> installation in the guest,
> maybe, we may have optional solution for how to get guest IP, of course,
> it's just my idea.
I do agree. But a guest can be evil and send spoofed packets, or just
Indeed.
run another guest inside which makes it hard to recognize which guest
an
IP belongs to. But I think this can be implemented anyway - but must
It should be
not a question, because we may easy to know guest's MAC
address then
map MAC address into IP address.
make sure users know abut certain unreliability of such method.
Michal