root@gate:/etc/swanctl # cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # 1g (carte mere) iface enp6s0 inet manual # 2.5g -> livebox iface enp4s0 inet manual # 2.5g -> ????? iface enp5s0 inet manual # 10g -> LAN iface enp1s0f0 inet manual # 10g -> SRV iface enp1s0f1 inet manual # ---------------------------------------------------------------------------------- auto netbr0 iface netbr0 inet static address 192.168.1.254/24 gateway 192.168.1.1 dns-nameservers 135.125.133.51 158.69.126.137 bridge-ports enp4s0 bridge-stp off bridge-fd 0 iface netbr0 inet6 static address 2a01:cb1d:5:af00::1/64 # gateway 2a01:cb1d:5:af00:e46c:baff:fe32:4113 up ip -6 a a 2a01:cb1d:5:af00:beef::cafe/120 dev netbr0 auto lanbr0 iface lanbr0 inet static address 172.16.0.254/24 dns-nameservers 135.125.133.51 158.69.126.137 1.1.1.1 8.8.4.4 bridge-ports enp1s0f0 bridge-stp off bridge-fd 0 iface lanbr0 inet6 static address fc01::172:16:0:254/112 # gateway fc01::172:16:0:254 dns-nameservers 2001:41d0:701:1100::6530 2607:5300:60:9389:15:2:a:1000 2607:5300:60:9389:15:1:a:1000 2001:4860:4860::8844 auto srvbr0 iface srvbr0 inet static address 10.106.0.254/24 bridge-ports enp1s0f1 bridge-stp off bridge-fd 0 # -- # SRV.VM1 # address 10.126.0.1/24 up ip -4 r a 10.126.0.0/24 via 10.106.0.252 up ip -4 r a 10.126.42.0/24 via 10.106.0.252 # -- # SRV.VM2 # address 10.136.0.1/24 up ip -4 r a 10.136.0.0/24 via 10.106.0.252 up ip -4 r a 10.136.42.0/24 via 10.106.0.252 iface srvbr0 inet6 static address fc01::10:106:0:254/124 # -- # SRV # addr 2a01:cb1d:5:af00:1ab3::1/80 # addr fc01::10:106:0:252/112 up ip -6 r a 2a01:cb1d:5:af00:1ab3::/80 dev srvbr0 up ip -6 n a proxy 2a01:cb1d:5:af00:1ab3::1 dev netbr0 # --- # SRV.VM1 # addr 2a01:cb1d:5:af00:1ab3:126::1/96 # addr fc01::10:126:0:1/104 up ip -6 r a fc01::10:126:0:0/112 via fc01::10:106:0:252 # SRV.VM1.LXCs up ip -6 r a fc01::10:126:42:0/112 via fc01::10:106:0:252 up ip -6 r a 2a01:cb1d:5:af00:1ab3:126::/96 via fc01::10:106:0:252 up ip -6 n a proxy 2a01:cb1d:5:af00:1ab3:126::1 dev netbr0 # VM1.NS1 up ip -6 n a proxy 2a01:cb1d:5:af00:1ab3:126:42:1000 dev netbr0 # VM1.WW1 up ip -6 n a proxy 2a01:cb1d:5:af00:1ab3:126:42:10 dev netbr0 # VM1.DB0 up ip -6 n a proxy 2a01:cb1d:5:af00:1ab3:126:42:db0 dev netbr0 # VM1.DC0 up ip -6 n a proxy 2a01:cb1d:5:af00:1ab3:126:42:dc0 dev netbr0 # --- # SRV.VM2 # addr 2a01:cb1d:5:af00:1ab3:136::1/96 # addr fc01::10:136:0:1/104 up ip -6 r a fc01::10:136:0:0/112 via fc01::10:106:0:252 # SRV.VM2.LXCs up ip -6 r a fc01::10:136:42:0/112 via fc01::10:106:0:252 up ip -6 r a 2a01:cb1d:5:af00:1ab3:136::/96 via fc01::10:106:0:252 up ip -6 n a proxy 2a01:cb1d:5:af00:1ab3:136::1 dev netbr0 # VM2.NS2 up ip -6 n a proxy 2a01:cb1d:5:af00:1ab3:136:42:1000 dev netbr0 # VM2.WW2 up ip -6 n a proxy 2a01:cb1d:5:af00:1ab3:136:42:10 dev netbr0 # VM2.BDD up ip -6 n a proxy 2a01:cb1d:5:af00:1ab3:136:42:bdd dev netbr0 # VM2.BDC up ip -6 n a proxy 2a01:cb1d:5:af00:1ab3:136:42:bdc dev netbr0 # --- # SRV.VM3 # addr 2a01:cb1d:5:af00:1ab3:116::1/96 # addr fc01::10:116:0:1/104 up ip -6 r a fc01::10:116:0:0/112 via fc01::10:106:0:252 # SRV.VM3.LXCs # up ip -6 r a fc01::10:116:42:0/112 via fc01::10:106:0:252 up ip -6 r a 2a01:cb1d:5:af00:1ab3:116::/96 via fc01::10:106:0:252 up ip -6 n a proxy 2a01:cb1d:5:af00:1ab3:116::1 dev netbr0 # --- # SWAN.SRV.CA up ip -6 r a fec1::/16 dev srvbr0 up ip -6 r a fec0::/10 via fec1::1 # up ip -6 r a fc00:5300:60:9389:15:1:a::/112 via fec1::1 # up ip -6 r a fc00:5300:60:9389:15:2:a::/112 via fec1::1 up ip -6 r a fc00:5300:60:9389::/64 via fec1::1 # SWAN.VPS-DE up ip -6 r a fc00:41d0:701:1100::/64 via fec1::1 # SWAN.VPS-UK up ip -6 r a fc00:41d0:801:2000::/64 via fec1::1