From 03cac6a69374bd628ef3bad85141b4b91760542e Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 20 Mar 2020 12:31:41 +0100 Subject: [PATCH] lxc/host --- docs/public/lxc/host.rst | 41 ++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/docs/public/lxc/host.rst b/docs/public/lxc/host.rst index 646bace..99770db 100644 --- a/docs/public/lxc/host.rst +++ b/docs/public/lxc/host.rst @@ -33,34 +33,43 @@ Create bridge br0 onto host's network main interface: :: - auto br0 - iface br0 inet static - address host_ip/network_mask_bits - gateway gateway_ip - bridge_fd 0 - bridge_maxwait 0 - bridge_ports eth0 - bridge_stp on + auto br0 + + iface br0 inet static + bridge_fd 0 + bridge_maxwait 0 + bridge_ports eth0 + bridge_stp off + address host_ip/network_mask_bits + + iface br0 inet static + address host_ip/network_mask_bits + gateway gateway_ip + + iface br0 inet6 static + address host_ip/network_mask_bits + gateway gateway_ip Example with a SoYouStart server: :: auto br0 + + iface br0 inet static + bridge_fd 0 + bridge_maxwait 0 + bridge_ports enp4s0 + bridge_stp off + address 10.0.0.254/24 + iface br0 inet static address 192.99.37.216/24 gateway 192.99.37.254 - bridge_fd 0 - bridge_maxwait 0 - bridge_ports enp4s0 - bridge_stp on + iface br0 inet6 static address 2607:5300:60:4cd8::/64 gateway 2607:5300:60:4cff:ff:ff:ff:ff - bridge_fd 0 - bridge_maxwait 0 - bridge_ports enp4s0 - bridge_stp on Service =======