mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-27 00:25:51 +03:00
[GH-ISSUE #544] Feature: Show the VM IP #406
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Apr 21, 2015).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/544
Hi there,
Maybe this is help and show the complete information about the VM.
Show the IP address in the Instance Screen.
Thanks.
@SaimonL commented on GitHub (Apr 22, 2015):
Yes I need this soo bad.
Some times I just installed a new VM and don't know its I.P address.
@brenard commented on GitHub (Apr 22, 2015):
Hi,
Libvirt does not provide a way to get domain's IP address. Some tips exist to try to get this information from the domain name, but it's completely depend of your network topology :
http://stackoverflow.com/questions/19057915/libvirt-fetch-ipv4-address-from-guest
http://blog.oddbit.com/2012/12/15/get-vm-ip/
or use virt-addr script in https://github.com/larsks/virt-utils
I mean this feature could be in a plugin (I don't know if this webvirtmgr have plugins) but I think it's can be properly add in the core project.
@ghost commented on GitHub (Apr 22, 2015):
The dhcp will release the new IP when the O.S start after the installation. This point the pool is configured in the Network section at the WebVirtMgr. Maybe read this information at the dhcp release file or in the arp table should be a solution right now. Something work together with O.S instead with libvirt.
@retspen commented on GitHub (Apr 23, 2015):
New version libvirt already supported getting IP from DHCP but only if that NAT pool in libvirt. How can get IP from bridge device?
@retspen commented on GitHub (Apr 23, 2015):
All scripts will work if webvirtmgr will be installed on the same server where running virtual machines. (arp an etc.)
@ghost commented on GitHub (Apr 24, 2015):
Ok, but this function already released in 4.8.9 ?
I have the webvirtmgr installed on the same server where running my KVM....
@retspen commented on GitHub (Apr 24, 2015):
Only if you use fixed MACs in network pool
@ghost commented on GitHub (Apr 24, 2015):
I don't understand, what means fixed MACs in storage pool?
@retspen commented on GitHub (Apr 24, 2015):
Sorry - Network pool :-). Create new network pool and check "Fixed Address". Then open created network pool, copy mac address and create new instance choose the network pull and put the mac which you copied.
@ghost commented on GitHub (Apr 24, 2015):
Ah ok, make sense! I will do tonight!
And talking about networks, I opened the bug about the network #547
Thanks @retspen
@ghost commented on GitHub (Apr 25, 2015):
@retspen I did what you mentioned but I don't see the network mac address in the network screen pool.
(https://cloud.githubusercontent.com/assets/3639439/7330797/e815e890-eacb-11e4-8883-daefe301a553.png)
@retspen commented on GitHub (Apr 25, 2015):
Did you select 'Fixed Address' when creating network pool?
@ghost commented on GitHub (Apr 25, 2015):
Yes! See the attached
@retspen commented on GitHub (Apr 25, 2015):
Need select DHCP, Fixed Address and choose Type Forwarding - NAT.
@ghost commented on GitHub (Apr 25, 2015):
Ahhh, working fine now!
Need set DHCP, Fixed Address, NAT, copy the MAC Address, paste in VM xml and working fine!
Thanks @retspen
@SaimonL commented on GitHub (Jun 21, 2015):
Nice to have a solution finally.