use strict;
-my $ip = '192.168.0.100';
-my $nm = '255.255.255.0';
+my $ip = '192.168.0.100/24';
my $gw = '192.168.0.1';
# replace proc_net_dev with one with a bunch of interfaces
new_iface('vmbr0', 'OVSBridge',
[ { family => 'inet',
address => $ip,
- netmask => $nm,
gateway => $gw } ],
autostart => 1);
allow-ovs vmbr0
iface vmbr0 inet static
address $ip
- netmask $nm
gateway $gw
ovs_type OVSBridge
allow-ovs vmbr0
iface vmbr0 inet static
address $ip
- netmask $nm
gateway $gw
ovs_type OVSBridge
ovs_ports eth1 eth2
allow-ovs vmbr0
iface vmbr0 inet static
address $ip
- netmask $nm
gateway $gw
ovs_type OVSBridge
ovs_ports eth1