Bug 572744 - RFE: provide easy way to get the IP address of (the interfaces of) a guest
Summary: RFE: provide easy way to get the IP address of (the interfaces of) a guest
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-11 22:15 UTC by Dave Malcolm
Modified: 2010-07-12 17:15 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-07-12 17:15:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dave Malcolm 2010-03-11 22:15:27 UTC
Description of problem:
I typically want to ssh into a host from virt-manager, but I can't see an easy way to get at the IP address of a machine (I tend to go in via the graphical console, run ifconfig, then scrape the IP address from there; am I missing something here?  the graphical interface is overkill if I'm connecting via VPN on a slow connection).

Currently the information page about a network interface has an editable field for the MAC address.

Would it be possible to add an IP address field below it?  It would be non-editable, but should be copy-and-pasteable.  (via e.g. Reverse ARP? DHCP?)

If the guest has a single interface, could the IP address also be added to the overview page?

(further ideas: a "Connect via SSH" button that launches a gnome-terminal with a pre-canned ssh to the IP address, either as root or as the local user running virt-manager?)

Version-Release number of selected component (if applicable):
virt-manager-0.8.0-7.fc12.noarch

Comment 1 Cole Robinson 2010-05-10 20:15:49 UTC
Unfortunately there isn't an easy way to get a guests IP address from outside the VM, it's one of those things that really requires an agent in the VM to communicate with management over vmchannel or similar.

Since presumably this info would eventually come from some libvirt API, reassigning there.

Comment 2 Daniel Berrangé 2010-07-12 17:15:38 UTC
There's no way for libvirt to provide this information really.


Note You need to log in before you can comment on or make changes to this bug.