Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- vconfig add bond1 2000
- ip link set bond1.2000 up
- i=0
- while [ $i -le 198 ]
- do
- iname=$[1101+$i]
- # echo $iname
- vconfig add bond1.2000 $iname
- ip link set bond1.2000.$iname up
- i=$[$i+1]
- done;
Advertisement
Add Comment
Please, Sign In to add comment