Всех приветствую! Имеется сервер (Debian 9), созданный на нём LXC-контейнер, 2 белых адреса. Уже вторые сутки все никак не могу настроить сеть в контейнере, нужно сделать так, чтоб второй адрес принадлежал контейнеру (static адрес). Что у меня получается в итоге: оба адреса принадлежат хост-машине, в контейнере нет инета, хотя все настроено по мануалам из сети. Прилагаю свои конфиги: /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto eth0:0
iface eth0:0 inet static
address 145.239.227.60
netmask 255.255.255.255
auto vmbr0
iface vmbr0 inet static
bridge_ports eth0
bridge_stp off
bridge_fd 0
address 54.36.18.234
broadcast 54.36.18.255
netmask 255.255.255.0
gateway 54.36.18.254
lxc.include = /usr/share/lxc/config/debian.common.conf
lxc.arch = linux64
lxc.rootfs = /var/lib/lxc/test/rootfs
lxc.rootfs.backend = dir
lxc.utsname = test
lxc.network.type = veth
lxc.network.flags = up
lxc.network.name = eth1
lxc.network.link = vmbr0
lxc.network.veth.pair = veth-01
lxc.network.ipv4 = 145.239.227.60
lxc.network.hwaddr = 52:54:00:a6:cf:12
lxc.network.ipv4.gateway = 145.239.227.255
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 52:54:00:a6:cf:12 txqueuelen 1000 (Ethernet)
RX packets 16474 bytes 1022626 (998.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1502 bytes 147956 (144.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0:0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 145.239.227.60 netmask 255.255.255.255 broadcast 145.239.227.60
ether 52:54:00:a6:cf:12 txqueuelen 1000 (Ethernet)
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 51 bytes 8315 (8.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 51 bytes 8315 (8.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth-01: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fc8c:10ff:feb9:a1f7 prefixlen 64 scopeid 0x20<link>
ether fe:8c:10:b9:a1:f7 txqueuelen 1000 (Ethernet)
RX packets 8 bytes 558 (558.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10266 bytes 616224 (601.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vmbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 54.36.18.234 netmask 255.255.255.0 broadcast 54.36.18.255
inet6 fe80::5054:ff:fea6:cf12 prefixlen 64 scopeid 0x20<link>
ether 52:54:00:a6:cf:12 txqueuelen 1000 (Ethernet)
RX packets 16346 bytes 786104 (767.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1495 bytes 147500 (144.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 145.239.227.60 netmask 255.0.0.0 broadcast 145.255.255.255
inet6 fe80::5054:ff:fea6:cf12 prefixlen 64 scopeid 0x20<link>
ether 52:54:00:a6:cf:12 txqueuelen 1000 (Ethernet)
RX packets 11066 bytes 664224 (648.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 558 (558.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 3 bytes 198 (198.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3 bytes 198 (198.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0