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

BB eeg5auquaephoo5j at gmail.com
Sun Dec 28 15:35:16 UTC 2014


Just create the file. Further information is available here:
http://askubuntu.com/questions/446831/how-to-let-built-in-dhcp-assign-a-static-ip-to-lxc-container-based-on-name-not


Regards,

BB

On Sun, Dec 28, 2014 at 2:59 PM, Thouraya TH <thouraya87 at gmail.com> wrote:

> 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.
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20141228/cfe80d5f/attachment.html>


More information about the lxc-users mailing list