Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
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.100,10.0.3.254"
LXC_DHCP_MAX="155"

There are two keys to change, LXC_DHCP_RANGE and LXC_DHCP_MAX,

Note

Somebody write a sed edit command here so fast and less room for errors.

Second, enable Reservations - Remove the # symble to enable "LXC_DHCP_CONFILE=/etc/lxc/dnsmasq.conf".

...