this works great with a desktop PC. how can i share this with multiple PCs?
auto pan0 iface pan0 inet static address 192.168.2.1 netmask 255.255.255.0 pre-up sh -c "/usr/sbin/iptables -t nat -F ; /usr/sbin/iptables -t nat -A POSTROUTING -s 192.168.2.0/24 ! -d 192.168.2.0/24 -j MASQUERADE ; echo 1 >/proc/sys/net/ipv4/ip_forward" up sh -c "/sbin/start-stop-daemon -S -p /var/run/btpan.pid -m -b -x /usr/sbin/dnsmasq -- -k -I lo -z -a 192.168.2.1 -F 192.168.2.100,192.168.2.105 -b" down sh -c "/sbin/start-stop-daemon -K -p /var/run/btpan.pid"
KERNEL=="pan0", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifup -f %k'" KERNEL=="pan0", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifdown -f %k'" KERNEL=="bnep0", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep0", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep1", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep1", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep2", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep2", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep3", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep3", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep4", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep4", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep5", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep5", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'"
bridge name bridge id STP enabled interfaces pan0 8000.000000000000 no