Difference between revisions of "Virsh net-dhcp-leases"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 +
<code>[[virsh net-list]]</code>
 +
 
No [[DHCP]] leases in this example:
 
No [[DHCP]] leases in this example:
 
<pre>
 
<pre>

Revision as of 07:41, 6 February 2020

virsh net-list

No DHCP leases in this example:

virsh net-dhcp-leases default
 Expiry Time          MAC address        Protocol  IP address                Hostname        Client ID or DUID
-------------------------------------------------------------------------------------------------------------------


Get IP from VM


virsh domiflist VM_MACHINE_NAME
Interface  Type       Source     Model       MAC
-------------------------------------------------------
vnet1      network    default    rtl8139     52:54:00:33:87:t5
arp -e 
192.168.1.10          ether  52:54:00:33:87:t5

See also

Advertising: