LXC debian 8

Материал из support.qbpro.ru

1. В /etc/default/grub изменить параметр

GRUB_CMDLINE_LINUX="cgroup_enable=memory"

2. В /etc/sysctl.conf

net.ipv4.ip_forward=1
net.ipv4.conf.all.forwarding=1
net.ipv4.conf.all.proxy_arp=1

3. grub_updare, reboot

4. В /etc/network/interfaces

#allow-hotplug eth0
#auto eth0
#iface eth0 inet static


auto br0
iface br0 inet static
      address 192.168.150.30
      netmask 255.255.255.0
      network 192.168.150.0
      broadcast 192.168.150.255
      gateway 192.168.150.1
      dns-nameservers 192.168.150.1
      bridge_ports eth0
      bridge_fd 0
      bridge_maxwait 0