[lxc-users] lxc-users Digest, Vol 54, Issue 9

Thouraya TH thouraya87 at gmail.com
Sun Dec 28 13:59:47 UTC 2014


Hello,
Thanks a lot for answer :)
i'm testing this:

2) or you enable "LXC_DHCP_CONFILE=/etc/lxc/
dnsmasq.conf" in /etc/default/lxc-net and then assign IP addresses to
hostnames statically in /etc/lxc/dnsmasq.conf

So, i have modified /etc/default/lxc-net
a-
LXC_BRIDGE="lxcbr0"
LXC_ADDR="10.0.3.1"
LXC_NETMASK="255.255.255.0"
LXC_NETWORK="10.0.3.0/24"
LXC_DHCP_RANGE="10.0.3.2,10.0.3.254"
LXC_DHCP_MAX="253"
*LXC_DHCP_CONFILE="/etc/lxc/dnsmasq.conf"*

b- i can't find this file /etc/lxc/dnsmasq.conf
i have only these files:
:/etc/lxc# ls
default.conf  lxc-usernet

?

Bests.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20141228/1d036d9f/attachment.html>


More information about the lxc-users mailing list