some tweaks
This commit is contained in:
parent
49d02ab309
commit
064483ea4f
11
PWHE4/config
11
PWHE4/config
|
@ -1,6 +1,6 @@
|
|||
# Template used to create this container: /usr/share/lxc/templates/lxc-debian
|
||||
# Parameters passed to the template: -r stretch
|
||||
# Template script checksum (SHA-1): d5aa397522e36a17c64c014dd63c70d8607c9873
|
||||
# Template script checksum (SHA-1): d5aa397522e36a17c.1.0.1.d63c70d8607c9873
|
||||
# For additional config options, please look at lxc.container.conf(5)
|
||||
# Uncomment the following line to support nesting containers:
|
||||
#lxc.include = /usr/share/lxc/config/nesting.conf
|
||||
|
@ -15,3 +15,12 @@ lxc.arch = amd64
|
|||
lxc.pty.max = 1024
|
||||
lxc.rootfs.path = btrfs:/var/lib/lxc/PWHE4/rootfs
|
||||
lxc.uts.name = PWHE4
|
||||
|
||||
|
||||
|
||||
lxc.net.0.type = veth
|
||||
lxc.net.0.flags = up
|
||||
lxc.net.0.name = vlan2012
|
||||
lxc.net.0.veth.pair = pwhe4.2012
|
||||
lxc.net.0.script.up = /etc/lxc/lxc-openvswitch
|
||||
lxc.net.0.script.down = /etc/lxc/lxc-openvswitch
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
|
||||
auto vlan2012
|
||||
iface vlan2012 inet dhcp
|
||||
iface vlan2012 inet6 auto
|
||||
accept ra 2
|
||||
up ip addr add 2400:5000:2ae4::22
|
|
@ -4,7 +4,7 @@ log "/var/log/bird/bird6.log" all;
|
|||
debug protocols { states, routes, filters, interfaces }
|
||||
|
||||
protocol kernel {
|
||||
#import none;
|
||||
import none;
|
||||
export all;
|
||||
learn;
|
||||
preference 254;
|
||||
|
|
|
@ -44,7 +44,6 @@ protocol ospf {
|
|||
interface "vlan2211" {
|
||||
stub;
|
||||
};
|
||||
# moved to BGP
|
||||
#interface "vlan2200" {
|
||||
# type broadcast;
|
||||
#};
|
||||
|
|
Loading…
Reference in New Issue