auto bond1
iface bond1 inet static
- address 10.10.10.$ip
- netmask 255.255.255.0
+ address 10.10.10.$ip/24
bond-slaves eth2 eth3
bond-miimon 100
bond-mode balance-alb
iface unknown3 inet static
address 0.0.0.0
- netmask 0.0.0.0
iface unknown4 inet static
address 0.0.0.0
- netmask 0.0.0.0
iface unknown5 inet static
address 0.0.0.0
- netmask 0.0.0.0
auto vmbr0
iface vmbr0 inet static
- address 192.168.100.13
- netmask 255.255.255.0
+ address 192.168.100.13/24
gateway 192.168.100.1
bridge-ports bond0
bridge-stp off
auto unknown6
iface unknown6 inet static
- address 10.10.11.13
- netmask 255.255.255.0
- network 10.10.11.0
+ address 10.10.11.13/24
pre-up ifconfig bond0 up
auto vmbr3
}
r(wanted(13));
-update_iface('bond1', [ { family => 'inet', address => '10.10.10.11' } ]);
+update_iface('bond1', [ { family => 'inet', address => '10.10.10.11/24' } ]);
expect wanted(11);
1;