diff --git a/PWHE4/config b/PWHE4/config index 9b05cf8..3eea0c6 100644 --- a/PWHE4/config +++ b/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 diff --git a/PWHE4/rootfs/etc/network/interfaces b/PWHE4/rootfs/etc/network/interfaces index e69de29..964cf59 100644 --- a/PWHE4/rootfs/etc/network/interfaces +++ b/PWHE4/rootfs/etc/network/interfaces @@ -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 diff --git a/PWR5/rootfs/etc/bird/bird6.conf b/PWR5/rootfs/etc/bird/bird6.conf index 87ddbed..6fc77ae 100644 --- a/PWR5/rootfs/etc/bird/bird6.conf +++ b/PWR5/rootfs/etc/bird/bird6.conf @@ -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; diff --git a/PWR60/rootfs/etc/bird/bird6.conf b/PWR60/rootfs/etc/bird/bird6.conf index afb11a7..badd728 100644 --- a/PWR60/rootfs/etc/bird/bird6.conf +++ b/PWR60/rootfs/etc/bird/bird6.conf @@ -44,7 +44,6 @@ protocol ospf { interface "vlan2211" { stub; }; - # moved to BGP #interface "vlan2200" { # type broadcast; #};