diff options
Diffstat (limited to 'share/doc')
-rw-r--r-- | share/doc/HOST-SETUP.txt | 8 |
1 files changed, 4 insertions, 4 deletions
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 |