$ virsh net-list
Name State Autostart Persistent
----------------------------------------------------------
macvtap-net active yes yes
private-net active yes yes
$ virsh domifaddr <vm-name> --source agent
$ virsh domifaddr 1gpu-vm-1g2 --source agent
Name MAC address Protocol Address
-----------------------------------------------------------------
lo 00:00:00:00:00:00 ipv4 127.0.0.1/8
- - ipv6 ::1/128
enp1s0 52:54:00:3c:07:62 ipv4 10.120.28.227/24
- - ipv6 fe80::5054:ff:fe3c:762/64
docker0 02:42:9f:5c:39:da ipv4 172.17.0.1/16
How to Configure the Guest VM with privateIP