[GH-ISSUE #544] Feature: Show the VM IP #406

Closed
opened 2026-02-27 16:39:10 +03:00 by kerem · 16 comments
Owner

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.

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.
kerem closed this issue 2026-02-27 16:39:11 +03:00
Author
Owner

@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.

<!-- gh-comment-id:95275129 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:95315421 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:95328488 --> @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.
Author
Owner

@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?

<!-- gh-comment-id:95542126 --> @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?
Author
Owner

@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.)

<!-- gh-comment-id:95542599 --> @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.)
Author
Owner

@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....

<!-- gh-comment-id:96012574 --> @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....
Author
Owner

@retspen commented on GitHub (Apr 24, 2015):

Only if you use fixed MACs in network pool

<!-- gh-comment-id:96013349 --> @retspen commented on GitHub (Apr 24, 2015): Only if you use fixed MACs in network pool
Author
Owner

@ghost commented on GitHub (Apr 24, 2015):

I don't understand, what means fixed MACs in storage pool?

<!-- gh-comment-id:96014189 --> @ghost commented on GitHub (Apr 24, 2015): I don't understand, what means fixed MACs in storage pool?
Author
Owner

@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.

<!-- gh-comment-id:96017383 --> @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.
Author
Owner

@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

<!-- gh-comment-id:96024791 --> @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
Author
Owner

@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)

<!-- gh-comment-id:96112033 --> @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)
Author
Owner

@retspen commented on GitHub (Apr 25, 2015):

Did you select 'Fixed Address' when creating network pool?

<!-- gh-comment-id:96144345 --> @retspen commented on GitHub (Apr 25, 2015): Did you select 'Fixed Address' when creating network pool?
Author
Owner

@ghost commented on GitHub (Apr 25, 2015):

Yes! See the attached

untitled

untitled1

<!-- gh-comment-id:96220708 --> @ghost commented on GitHub (Apr 25, 2015): Yes! See the attached ![untitled](https://cloud.githubusercontent.com/assets/3639439/7333389/a28ac5ce-eb44-11e4-88a0-e262c9381323.png) ![untitled1](https://cloud.githubusercontent.com/assets/3639439/7333390/a8864156-eb44-11e4-8898-31b26930f316.png)
Author
Owner

@retspen commented on GitHub (Apr 25, 2015):

Need select DHCP, Fixed Address and choose Type Forwarding - NAT.

<!-- gh-comment-id:96232404 --> @retspen commented on GitHub (Apr 25, 2015): Need select DHCP, Fixed Address and choose Type Forwarding - NAT.
Author
Owner

@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

<!-- gh-comment-id:96258279 --> @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
Author
Owner

@SaimonL commented on GitHub (Jun 21, 2015):

Nice to have a solution finally.

<!-- gh-comment-id:113885176 --> @SaimonL commented on GitHub (Jun 21, 2015): Nice to have a solution finally.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#406
No description provided.