[lxc-users] LXD assigning static IP's at start tp containers
Kevin LaTona
lists at studiosola.com
Sat May 16 18:14:56 UTC 2015
Mark,
Thanks for all your ideas and lending a hand.
I figured it out.
I managed to have a small typo in my config file where I missed a 0 in of the addresses.
All working now.
-Kevin
On May 16, 2015, at 10:24 AM, Mark Constable <markc at renta.net> wrote:
> On Sat, 16 May 2015 09:56:04 AM Kevin LaTona wrote:
>> I was thinking that by just updating the /etc/default/lxc-net config file
>> from the 10.x.x.x to a 192.168.x.x that was going to do it for me.
> edit /etc/default/lxc-net to something like below...
>
> USE_LXC_BRIDGE="true"
> LXC_BRIDGE="lxcbr0"
> LXC_ADDR="192.168.0.2"
> LXC_NETMASK="255.255.255.0"
> LXC_NETWORK="192.168.0.0/24"
> LXC_DHCP_RANGE="192.168.0.2,192.168.0.54"
> LXC_DHCP_MAX="53"
> LXC_DHCP_CONFILE=/etc/lxc/dnsmasq.conf
More information about the lxc-users
mailing list