diff --git a/scripts/setup-netdev b/scripts/setup-netdev index 79c01b8..2619ca9 100755 --- a/scripts/setup-netdev +++ b/scripts/setup-netdev @@ -4,13 +4,13 @@ source scan-netdev modprobe bonding # All vlans are using netmask /22 -MASK=22 -CTLPLANE=110 # ctlplane vlan -VLANS='110 218 222 226 306 321 480 1000' +MASK=22 +CTLPLANE=110 # ctlplane vlan #Fixme: hardcoded +#VLANS='110 218 222 226 306 321 480 1000' SPEED=25000 MTU=9000 -for VLAN in $VLANS ; do +for VLAN in {10..4000} ; do # Most vLANs if [[ -f /etc/netdev/vlan.$VLAN.csv ]] ; then VLAN_CONF=`grep $SERVER_SERIAL \ /etc/netdev/vlan.$VLAN.csv`