Browse Source

some tweaks

bgp-intro
pwarren 9 months ago
parent
commit
064483ea4f
  1. 11
      PWHE4/config
  2. 9
      PWHE4/rootfs/etc/network/interfaces
  3. 2
      PWR5/rootfs/etc/bird/bird6.conf
  4. 1
      PWR60/rootfs/etc/bird/bird6.conf

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

9
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

2
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;

1
PWR60/rootfs/etc/bird/bird6.conf

@ -44,7 +44,6 @@ protocol ospf {
interface "vlan2211" {
stub;
};
# moved to BGP
#interface "vlan2200" {
# type broadcast;
#};

Loading…
Cancel
Save