search for: num_of_devices

Displaying 1 result from an estimated 1 matches for "num_of_devices".

2007 Sep 03
1
Virtual Bridge & Shorewall Question
...2) Why the author of this script used "$USERID" in "tunctl -b -u $USERID -t qtap$i"? If the user is non-root, may it somehow affect Shorewall bridging setup? ------------------------------ # id of the user running qemu (kvm) USERID=1000 # number of TUN/TAP devices to setup NUM_OF_DEVICES=5 case $1 in         start)                 modprobe tun                 echo -n "Setting up bridge device br0"                 brctl addbr br0                 ifconfig br0 192.168.100.254 netmask 255.255.255.0 up                 for ((i=0; i < NUM_OF_DEVICES ; i++)); do              ...