LINUX.ORG.RU

История изменений

Исправление vel, (текущая версия) :

дык просто подряд описаний линков

lxc.network.type = vlan
lxc.network.link = eth1
lxc.network.vlan.id = 14
lxc.network.name = vlan0014
lxc.network.ipv4 = 10.4.14.1/24
lxc.network.flags = up

lxc.network.type = vlan
lxc.network.link = eth1
lxc.network.vlan.id = 15
lxc.network.name = vlan0015
lxc.network.ipv4 = 10.4.15.1/24
lxc.network.flags = up

lxc.network.type = veth
lxc.network.link = br10
lxc.network.name = vlan22_10
lxc.network.hwaddr = 00:15:00:01:08:14
lxc.network.local.hwaddr = 00:15:00:01:08:15
lxc.network.ipv4 = 10.200.1.4/24
lxc.network.flags = up
lxc.network.ipv4.gateway = 10.200.1.1
для связи между контейнерами рекомендуется macvlan

Исправление vel, :

дык просто подряд описаний линков

lxc.network.type = vlan
lxc.network.link = eth1
lxc.network.vlan.id = 14
lxc.network.name = vlan0014
lxc.network.ipv4 = 10.4.14.1/24
lxc.network.flags = up

lxc.network.type = vlan
lxc.network.link = eth1
lxc.network.vlan.id = 15
lxc.network.name = vlan0015
lxc.network.ipv4 = 10.4.15.1/24
lxc.network.flags = up

lxc.network.type = veth
lxc.network.link = br10
lxc.network.name = vlan22_10
lxc.network.hwaddr = 00:15:00:01:08:14
lxc.network.local.hwaddr = 00:15:00:01:08:15
lxc.network.ipv4 = 10.200.1.4/24
lxc.network.flags = up
lxc.network.ipv4.gateway = 10.200.1.1

Исходная версия vel, :

дык просто подряд пишишь описаний линков

lxc.network.type = vlan
lxc.network.link = eth1
lxc.network.vlan.id = 14
lxc.network.name = vlan0014
lxc.network.ipv4 = 10.4.14.1/24
lxc.network.flags = up

lxc.network.type = vlan
lxc.network.link = eth1
lxc.network.vlan.id = 15
lxc.network.name = vlan0015
lxc.network.ipv4 = 10.4.15.1/24
lxc.network.flags = up

lxc.network.type = veth
lxc.network.link = br10
lxc.network.name = vlan22_10
lxc.network.hwaddr = 00:15:00:01:08:14
lxc.network.local.hwaddr = 00:15:00:01:08:15
lxc.network.ipv4 = 10.200.1.4/24
lxc.network.flags = up
lxc.network.ipv4.gateway = 10.200.1.1