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

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 17: Line 17:
 
  vnet1      network    default    rtl8139    52:54:00:33:87:t5
 
  vnet1      network    default    rtl8139    52:54:00:33:87:t5
  
  arp -e  
+
  [[arp]] -e  
 
  192.168.1.10          ether  52:54:00:33:87:t5
 
  192.168.1.10          ether  52:54:00:33:87:t5
 
 
 
 
  
 
== See also ==
 
== See also ==

Revision as of 15:02, 4 February 2020

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: