How assign static ip using NAT?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have the following configuration in the xml of the guest. But if I
set a static ip on the guest, then the guest can not access the
outside network. I don't find an example on how to set a static IP
address for the guest. Could anybody know how to modify the following
xml code to do so? Thanks.

 41     <interface type='network'>
 42       <mac address='52:54:00:6c:a7:6d'/>
 43       <source network='default'/>
 44       <model type='virtio'/>
 45       <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
 46     </interface>

-- 
Regards,
Peng

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux