Timothy Klim
2012-Jul-17 17:56 UTC
[libvirt-users] Set IP for LXC-container through libvirt XML
Hi! How I can set IP to container without using dhcp? From http://libvirt.org/formatnetwork.html I have: <network> <mac address='00:16:3E:5D:C7:9E'/> <ip address="192.168.122.1" netmask="255.255.255.0"> <dhcp> <range start="192.168.122.100" end="192.168.122.254" /> <host mac="00:16:3e:77:e2:ed" name="foo.example.com" ip="192.168.122.10" /> <host mac="00:16:3e:3e:a9:1a" name="bar.example.com" ip="192.168.122.11" /> </dhcp> </ip> <ip family="ipv6" address="2001:db8:ca2:2::1" prefix="64" /> </network> Can I just set IP for domain(lxc-container)? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120717/8cb78c41/attachment.htm>