From e1438c0cbad688d0ce72d07f5f7277b76cb937b3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 18 Apr 2019 11:24:21 +0200 Subject: Updating interfaces example configuration in host-setup documentation. Signed-off-by: Daniel Baumann --- share/doc/HOST-SETUP.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'share') diff --git a/share/doc/HOST-SETUP.txt b/share/doc/HOST-SETUP.txt index d2e4216..e413872 100644 --- a/share/doc/HOST-SETUP.txt +++ b/share/doc/HOST-SETUP.txt @@ -89,7 +89,7 @@ allow-hotplug bridge0 iface bridge0 inet static address 10.0.0.2 gateway 10.0.0.1 - netmask 255.255.255.0 + netmask 24 pre-up ip link set eno1 down pre-up ip link set eno1 up @@ -118,7 +118,7 @@ iface eno1 inet dhcp allow-hotplug bridge0 iface bridge0 inet static address 10.0.0.1 - netmask 255.255.255.0 + netmask 24 pre-up ip link add name bridge0 type bridge post-down ip link delete bridge0 type bridge @@ -149,7 +149,7 @@ iface eno3 inet manual allow-hotplug bond0 iface bond0 inet manual - up ip link set bond0 0.0.0.0 up + up ip link set bond0 up down ip link set bond0 down slaves eno2 eno3 @@ -168,7 +168,7 @@ allow-hotplug br100 iface br100 inet static address 10.100.0.2 #gateway 10.100.0.1 - netmask 255.255.255.0 + netmask 24 post-up ip route add 10.100.0.0/24 via 10.100.0.1 dev br100 post-down ip route del 10.100.0.0/24 dev br100 -- cgit v1.2.3