try something like this ... i have a lot of routers with this configuration
table <metro> is the local-exchange ips, even better you can get that from a route-reflector bgp session with your local provider and you can use the zebra-dump-parser.pl to put that classes in the table. After that just ....exec("/sbin/pfctl -Tl -f /etc/pf.conf"); and everything is OK :) i run this script every 10 seconds and it's works grate ....
bgpd.conf .....examples
dump bgp routes-mrt /altq/zebra/tmp/zebra.mrt 10



pf.conf:
altq on ex1 bandwidth 4000Mb hfsc queue {in_internet,in_metro,default }
altq on ex0 bandwidth 4000Mb hfsc queue {out_internet,out_metro,default2 }
queue in_internet bandwidth 100Mb hfsc (realtime 700Kb upperlimit 700Kb ) {q194.234.194.99,q194.234.194.101,q194.234.194.102,q194.234.194.103,q194.234.194.104,q194.234.194.105,q194.234.194.3,q194.234.194.4,q194.234.194.5,q194.234.194.6,q194.234.194.7,q194.234.194.9,q194.234.194.10,q194.234.194.11,q194.234.194.12,q194.234.194.13,q194.234.194.14,q194.234.194.15,q194.234.194.16,q194.234.194.17,q194.234.194.18,q194.234.194.19,q194.234.194.20,q194.234.194.21,q194.234.194.22,q194.234.194.23,q194.234.194.24,q194.234.194.25,q194.234.194.26,q194.234.194.28,q194.234.194.29,q194.234.194.31,q194.234.194.32,q194.234.194.33,q194.234.194.34,q194.234.194.35,q194.234.194.36,q194.234.194.37,q194.234.194.39,q194.234.194.40,q194.234.194.41,q194.234.194.42,q194.234.194.43,q194.234.194.44,q194.234.194.46,q194.234.194.47,q194.234.194.100,q194.234.194.49,q194.234.194.50,q194.234.194.51,q194.234.194.52,q194.234.194.53,q194.234.194.54,q194.234.194.55,q194.234.194.56,q194.234.194.70,q194.234.194.71,q194.234.194.72,q194.234.194.73,q194.234.194.74,q194.234.194.75,q194.234.194.
76,q194.234.194.77,q194.234.194.78,q194.234.194.79,q194.234.194.80,q194.234.194.81,q194.234.194.82,q194.234.194.83,q194.234.194.84,q194.234.194.85,q194.234.194.86,defaultii}
queue out_internet bandwidth 100Mb hfsc (realtime 700Kb upperlimit 700Kb ) {e194.234.194.99,e194.234.194.101,e194.234.194.102,e194.234.194.103,e194.234.194.104,e194.234.194.105,e194.234.194.3,e194.234.194.4,e194.234.194.5,e194.234.194.6,e194.234.194.7,e194.234.194.9,e194.234.194.10,e194.234.194.11,e194.234.194.12,e194.234.194.13,e194.234.194.14,e194.234.194.15,e194.234.194.16,e194.234.194.17,e194.234.194.18,e194.234.194.19,e194.234.194.20,e194.234.194.21,e194.234.194.22,e194.234.194.23,e194.234.194.24,e194.234.194.25,e194.234.194.26,e194.234.194.28,e194.234.194.29,e194.234.194.31,e194.234.194.32,e194.234.194.33,e194.234.194.34,e194.234.194.35,e194.234.194.36,e194.234.194.37,e194.234.194.39,e194.234.194.40,e194.234.194.41,e194.234.194.42,e194.234.194.43,e194.234.194.44,e194.234.194.46,e194.234.194.47,e194.234.194.100,e194.234.194.49,e194.234.194.50,e194.234.194.51,e194.234.194.52,e194.234.194.53,e194.234.194.54,e194.234.194.55,e194.234.194.56,e194.234.194.70,e194.234.194.71,e194.234.194.72,e194.234.194.73,e194.234.194.74,e194.234.194.75,e194.234.194.
76,e194.234.194.77,e194.234.194.78,e194.234.194.79,e194.234.194.80,e194.234.194.81,e194.234.194.82,e194.234.194.83,e194.234.194.84,e194.234.194.85,e194.234.194.86,defaultio}
queue in_metro bandwidth 800Mb hfsc {w194.234.194.99,w194.234.194.101,w194.234.194.102,w194.234.194.103,w194.234.194.104,w194.234.194.105,w194.234.194.3,w194.234.194.4,w194.234.194.5,w194.234.194.6,w194.234.194.7,w194.234.194.9,w194.234.194.10,w194.234.194.11,w194.234.194.12,w194.234.194.13,w194.234.194.14,w194.234.194.15,w194.234.194.16,w194.234.194.17,w194.234.194.18,w194.234.194.19,w194.234.194.20,w194.234.194.21,w194.234.194.22,w194.234.194.23,w194.234.194.24,w194.234.194.25,w194.234.194.26,w194.234.194.28,w194.234.194.29,w194.234.194.31,w194.234.194.32,w194.234.194.33,w194.234.194.34,w194.234.194.35,w194.234.194.36,w194.234.194.37,w194.234.194.39,w194.234.194.40,w194.234.194.41,w194.234.194.42,w194.234.194.43,w194.234.194.44,w194.234.194.46,w194.234.194.47,w194.234.194.100,w194.234.194.49,w194.234.194.50,w194.234.194.51,w194.234.194.52,w194.234.194.53,w194.234.194.54,w194.234.194.55,w194.234.194.56,w194.234.194.70,w194.234.194.71,w194.234.194.72,w194.234.194.73,w194.234.194.74,w194.234.194.75,w194.234.194.
76,w194.234.194.77,w194.234.194.78,w194.234.194.79,w194.234.194.80,w194.234.194.81,w194.234.194.82,w194.234.194.83,w194.234.194.84,w194.234.194.85,w194.234.194.86,defaultmi}
queue out_metro bandwidth 800Mb hfsc {r194.234.194.99,r194.234.194.101,r194.234.194.102,r194.234.194.103,r194.234.194.104,r194.234.194.105,r194.234.194.3,r194.234.194.4,r194.234.194.5,r194.234.194.6,r194.234.194.7,r194.234.194.9,r194.234.194.10,r194.234.194.11,r194.234.194.12,r194.234.194.13,r194.234.194.14,r194.234.194.15,r194.234.194.16,r194.234.194.17,r194.234.194.18,r194.234.194.19,r194.234.194.20,r194.234.194.21,r194.234.194.22,r194.234.194.23,r194.234.194.24,r194.234.194.25,r194.234.194.26,r194.234.194.28,r194.234.194.29,r194.234.194.31,r194.234.194.32,r194.234.194.33,r194.234.194.34,r194.234.194.35,r194.234.194.36,r194.234.194.37,r194.234.194.39,r194.234.194.40,r194.234.194.41,r194.234.194.42,r194.234.194.43,r194.234.194.44,r194.234.194.46,r194.234.194.47,r194.234.194.100,r194.234.194.49,r194.234.194.50,r194.234.194.51,r194.234.194.52,r194.234.194.53,r194.234.194.54,r194.234.194.55,r194.234.194.56,r194.234.194.70,r194.234.194.71,r194.234.194.72,r194.234.194.73,r194.234.194.74,r194.234.194.75,r194.234.194.
76,r194.234.194.77,r194.234.194.78,r194.234.194.79,r194.234.194.80,r194.234.194.81,r194.234.194.82,r194.234.194.83,r194.234.194.84,r194.234.194.85,r194.234.194.86,defaultmo}
queue default bandwidth 128Kb hfsc (realtime 32Kb upperlimit 512Kb default) qlimit 150 queue defaultii bandwidth 128Kb hfsc (realtime 32Kb upperlimit 512Kb ) qlimit 150 queue defaultio bandwidth 128Kb hfsc (realtime 32Kb upperlimit 512Kb ) qlimit 150 queue defaultmi bandwidth 128Kb hfsc (realtime 32Kb upperlimit 512Kb ) qlimit 150 queue defaultmo bandwidth 128Kb hfsc (realtime 32Kb upperlimit 512Kb ) qlimit 150 queue default2 bandwidth 128Kb hfsc (realtime 9Mb upperlimit 9Mb default) qlimit 150 queue q194.234.194.99 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.99 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.99 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.99 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.101 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.101 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.101 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.101 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.102 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.102 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.102 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.102 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.103 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.103 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.103 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.103 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.104 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.104 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.104 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.104 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.105 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.105 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.105 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.105 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.3 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.3 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.3 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.3 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.4 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.4 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.4 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.4 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.5 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.5 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.5 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.5 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.6 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.6 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.6 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.6 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.7 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.7 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.7 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.7 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.9 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.9 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.9 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.9 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.10 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.10 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.10 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.10 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.11 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.11 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.11 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.11 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.12 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.12 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.12 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.12 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.13 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.13 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.13 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.13 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.14 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.14 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.14 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.14 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.15 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.15 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.15 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.15 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.16 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.16 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.16 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.16 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.17 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.17 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.17 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.17 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.18 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.18 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.18 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.18 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.19 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.19 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.19 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.19 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.20 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.20 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.20 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.20 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.21 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.21 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.21 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.21 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.22 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.22 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.22 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.22 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.23 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.23 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.23 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.23 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.24 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.24 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.24 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.24 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.25 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.25 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.25 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.25 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.26 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.26 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.26 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.26 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.28 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.28 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.28 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.28 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.29 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.29 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.29 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.29 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.31 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.31 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.31 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.31 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.32 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.32 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.32 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.32 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.33 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.33 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.33 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.33 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.34 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.34 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.34 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.34 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.35 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.35 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.35 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.35 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.36 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.36 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.36 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.36 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.37 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.37 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.37 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.37 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.39 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.39 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.39 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.39 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.40 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.40 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.40 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.40 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.41 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.41 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.41 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.41 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.42 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.42 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.42 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.42 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.43 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.43 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.43 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.43 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.44 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.44 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.44 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.44 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.46 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.46 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.46 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.46 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.47 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.47 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.47 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.47 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.100 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.100 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.100 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.100 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.49 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.49 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.49 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.49 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.50 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.50 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.50 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.50 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.51 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.51 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.51 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.51 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.52 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.52 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.52 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.52 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.53 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.53 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.53 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.53 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.54 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.54 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.54 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.54 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.55 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.55 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.55 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.55 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.56 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.56 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.56 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.56 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.70 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.70 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.70 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.70 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.71 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.71 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.71 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.71 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.72 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.72 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.72 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.72 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.73 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.73 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.73 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.73 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.74 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.74 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.74 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.74 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.75 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.75 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.75 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.75 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.76 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.76 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.76 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.76 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.77 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.77 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.77 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.77 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.78 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.78 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.78 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.78 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.79 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.79 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.79 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.79 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.80 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.80 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.80 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.80 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.81 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.81 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.81 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.81 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.82 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.82 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.82 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.82 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.83 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.83 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.83 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.83 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.84 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.84 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.84 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.84 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.85 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.85 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.85 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.85 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue q194.234.194.86 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 256Kb) qlimit 20 queue e194.234.194.86 bandwidth 1Kb hfsc (realtime 1Kb upperlimit 192Kb) qlimit 1000 queue w194.234.194.86 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000 queue r194.234.194.86 bandwidth 2Mb hfsc (realtime 8Mb upperlimit 70Mb) qlimit 1000

table <metro> persist file '/altq/routes.txt'
rdr pass on ex1 proto tcp to !<metro> port 80 -> 127.0.0.1 port 3128

block in quick on ex1 proto tcp from any to any port 134><140
block in quick on ex1 proto udp from any to any port 445
block in quick on ex1 proto udp from any to any port 134><140
block in quick on ex1 proto tcp from any to any port 445
block in quick on ex0 proto tcp from any to any port 134><140
block in quick on ex0 proto udp from any to any port 445
block in quick on ex0 proto udp from any to any port 134><140
block in quick on ex0 proto tcp from any to any port 445
block out quick on ex1 proto tcp from any to any port 134><140
block out quick on ex1 proto udp from any to any port 445
block out quick on ex1 proto udp from any to any port 134><140
block out quick on ex1 proto tcp from any to any port 445
block out quick on ex0 proto tcp from any to any port 134><140
block out quick on ex0 proto udp from any to any port 445
block out quick on ex0 proto udp from any to any port 134><140
block out quick on ex0 proto tcp from any to any port 445


pass out quick on ex1 from any to 194.234.194.99 tos 0x08 queue q194.234.194.99
pass out quick on ex1 from any  to 194.234.194.99 queue w194.234.194.99
pass in quick on ex1 from 194.234.194.99 to <metro> queue r194.234.194.99
pass in quick on ex1 from 194.234.194.99 queue e194.234.194.99
pass out quick on ex1 from any to 194.234.194.101 tos 0x08 queue q194.234.194.101
pass out quick on ex1 from any  to 194.234.194.101 queue w194.234.194.101
pass in quick on ex1 from 194.234.194.101 to <metro> queue r194.234.194.101
pass in quick on ex1 from 194.234.194.101 queue e194.234.194.101
pass out quick on ex1 from any to 194.234.194.102 tos 0x08 queue q194.234.194.102
pass out quick on ex1 from any  to 194.234.194.102 queue w194.234.194.102
pass in quick on ex1 from 194.234.194.102 to <metro> queue r194.234.194.102
pass in quick on ex1 from 194.234.194.102 queue e194.234.194.102
pass out quick on ex1 from any to 194.234.194.103 tos 0x08 queue q194.234.194.103
pass out quick on ex1 from any  to 194.234.194.103 queue w194.234.194.103
pass in quick on ex1 from 194.234.194.103 to <metro> queue r194.234.194.103
pass in quick on ex1 from 194.234.194.103 queue e194.234.194.103
pass out quick on ex1 from any to 194.234.194.104 tos 0x08 queue q194.234.194.104
pass out quick on ex1 from any  to 194.234.194.104 queue w194.234.194.104
pass in quick on ex1 from 194.234.194.104 to <metro> queue r194.234.194.104
pass in quick on ex1 from 194.234.194.104 queue e194.234.194.104
pass out quick on ex1 from any to 194.234.194.105 tos 0x08 queue q194.234.194.105
pass out quick on ex1 from any  to 194.234.194.105 queue w194.234.194.105
pass in quick on ex1 from 194.234.194.105 to <metro> queue r194.234.194.105
pass in quick on ex1 from 194.234.194.105 queue e194.234.194.105
pass out quick on ex1 from any to 194.234.194.3 tos 0x08 queue q194.234.194.3
pass out quick on ex1 from any  to 194.234.194.3 queue w194.234.194.3
pass in quick on ex1 from 194.234.194.3 to <metro> queue r194.234.194.3
pass in quick on ex1 from 194.234.194.3 queue e194.234.194.3
pass out quick on ex1 from any to 194.234.194.4 tos 0x08 queue q194.234.194.4
pass out quick on ex1 from any  to 194.234.194.4 queue w194.234.194.4
pass in quick on ex1 from 194.234.194.4 to <metro> queue r194.234.194.4
pass in quick on ex1 from 194.234.194.4 queue e194.234.194.4
pass out quick on ex1 from any to 194.234.194.5 tos 0x08 queue q194.234.194.5
pass out quick on ex1 from any  to 194.234.194.5 queue w194.234.194.5
pass in quick on ex1 from 194.234.194.5 to <metro> queue r194.234.194.5
pass in quick on ex1 from 194.234.194.5 queue e194.234.194.5
pass out quick on ex1 from any to 194.234.194.6 tos 0x08 queue q194.234.194.6
pass out quick on ex1 from any  to 194.234.194.6 queue w194.234.194.6
pass in quick on ex1 from 194.234.194.6 to <metro> queue r194.234.194.6
pass in quick on ex1 from 194.234.194.6 queue e194.234.194.6
pass out quick on ex1 from any to 194.234.194.7 tos 0x08 queue q194.234.194.7
pass out quick on ex1 from any  to 194.234.194.7 queue w194.234.194.7
pass in quick on ex1 from 194.234.194.7 to <metro> queue r194.234.194.7
pass in quick on ex1 from 194.234.194.7 queue e194.234.194.7
pass out quick on ex1 from any to 194.234.194.9 tos 0x08 queue q194.234.194.9
pass out quick on ex1 from any  to 194.234.194.9 queue w194.234.194.9
pass in quick on ex1 from 194.234.194.9 to <metro> queue r194.234.194.9
pass in quick on ex1 from 194.234.194.9 queue e194.234.194.9
pass out quick on ex1 from any to 194.234.194.10 tos 0x08 queue q194.234.194.10
pass out quick on ex1 from any  to 194.234.194.10 queue w194.234.194.10
pass in quick on ex1 from 194.234.194.10 to <metro> queue r194.234.194.10
pass in quick on ex1 from 194.234.194.10 queue e194.234.194.10
pass out quick on ex1 from any to 194.234.194.11 tos 0x08 queue q194.234.194.11
pass out quick on ex1 from any  to 194.234.194.11 queue w194.234.194.11
pass in quick on ex1 from 194.234.194.11 to <metro> queue r194.234.194.11
pass in quick on ex1 from 194.234.194.11 queue e194.234.194.11
pass out quick on ex1 from any to 194.234.194.12 tos 0x08 queue q194.234.194.12
pass out quick on ex1 from any  to 194.234.194.12 queue w194.234.194.12
pass in quick on ex1 from 194.234.194.12 to <metro> queue r194.234.194.12
pass in quick on ex1 from 194.234.194.12 queue e194.234.194.12
pass out quick on ex1 from any to 194.234.194.13 tos 0x08 queue q194.234.194.13
pass out quick on ex1 from any  to 194.234.194.13 queue w194.234.194.13
pass in quick on ex1 from 194.234.194.13 to <metro> queue r194.234.194.13
pass in quick on ex1 from 194.234.194.13 queue e194.234.194.13
pass out quick on ex1 from any to 194.234.194.14 tos 0x08 queue q194.234.194.14
pass out quick on ex1 from any  to 194.234.194.14 queue w194.234.194.14
pass in quick on ex1 from 194.234.194.14 to <metro> queue r194.234.194.14
pass in quick on ex1 from 194.234.194.14 queue e194.234.194.14
pass out quick on ex1 from any to 194.234.194.15 tos 0x08 queue q194.234.194.15
pass out quick on ex1 from any  to 194.234.194.15 queue w194.234.194.15
pass in quick on ex1 from 194.234.194.15 to <metro> queue r194.234.194.15
pass in quick on ex1 from 194.234.194.15 queue e194.234.194.15
pass out quick on ex1 from any to 194.234.194.16 tos 0x08 queue q194.234.194.16
pass out quick on ex1 from any  to 194.234.194.16 queue w194.234.194.16
pass in quick on ex1 from 194.234.194.16 to <metro> queue r194.234.194.16
pass in quick on ex1 from 194.234.194.16 queue e194.234.194.16
pass out quick on ex1 from any to 194.234.194.17 tos 0x08 queue q194.234.194.17
pass out quick on ex1 from any  to 194.234.194.17 queue w194.234.194.17
pass in quick on ex1 from 194.234.194.17 to <metro> queue r194.234.194.17
pass in quick on ex1 from 194.234.194.17 queue e194.234.194.17
pass out quick on ex1 from any to 194.234.194.18 tos 0x08 queue q194.234.194.18
pass out quick on ex1 from any  to 194.234.194.18 queue w194.234.194.18
pass in quick on ex1 from 194.234.194.18 to <metro> queue r194.234.194.18
pass in quick on ex1 from 194.234.194.18 queue e194.234.194.18
pass out quick on ex1 from any to 194.234.194.19 tos 0x08 queue q194.234.194.19
pass out quick on ex1 from any  to 194.234.194.19 queue w194.234.194.19
pass in quick on ex1 from 194.234.194.19 to <metro> queue r194.234.194.19
pass in quick on ex1 from 194.234.194.19 queue e194.234.194.19
pass out quick on ex1 from any to 194.234.194.20 tos 0x08 queue q194.234.194.20
pass out quick on ex1 from any  to 194.234.194.20 queue w194.234.194.20
pass in quick on ex1 from 194.234.194.20 to <metro> queue r194.234.194.20
pass in quick on ex1 from 194.234.194.20 queue e194.234.194.20
pass out quick on ex1 from any to 194.234.194.21 tos 0x08 queue q194.234.194.21
pass out quick on ex1 from any  to 194.234.194.21 queue w194.234.194.21
pass in quick on ex1 from 194.234.194.21 to <metro> queue r194.234.194.21
pass in quick on ex1 from 194.234.194.21 queue e194.234.194.21
pass out quick on ex1 from any to 194.234.194.22 tos 0x08 queue q194.234.194.22
pass out quick on ex1 from any  to 194.234.194.22 queue w194.234.194.22
pass in quick on ex1 from 194.234.194.22 to <metro> queue r194.234.194.22
pass in quick on ex1 from 194.234.194.22 queue e194.234.194.22
pass out quick on ex1 from any to 194.234.194.23 tos 0x08 queue q194.234.194.23
pass out quick on ex1 from any  to 194.234.194.23 queue w194.234.194.23
pass in quick on ex1 from 194.234.194.23 to <metro> queue r194.234.194.23
pass in quick on ex1 from 194.234.194.23 queue e194.234.194.23
pass out quick on ex1 from any to 194.234.194.24 tos 0x08 queue q194.234.194.24
pass out quick on ex1 from any  to 194.234.194.24 queue w194.234.194.24
pass in quick on ex1 from 194.234.194.24 to <metro> queue r194.234.194.24
pass in quick on ex1 from 194.234.194.24 queue e194.234.194.24
pass out quick on ex1 from any to 194.234.194.25 tos 0x08 queue q194.234.194.25
pass out quick on ex1 from any  to 194.234.194.25 queue w194.234.194.25
pass in quick on ex1 from 194.234.194.25 to <metro> queue r194.234.194.25
pass in quick on ex1 from 194.234.194.25 queue e194.234.194.25
pass out quick on ex1 from any to 194.234.194.26 tos 0x08 queue q194.234.194.26
pass out quick on ex1 from any  to 194.234.194.26 queue w194.234.194.26
pass in quick on ex1 from 194.234.194.26 to <metro> queue r194.234.194.26
pass in quick on ex1 from 194.234.194.26 queue e194.234.194.26
pass out quick on ex1 from any to 194.234.194.28 tos 0x08 queue q194.234.194.28
pass out quick on ex1 from any  to 194.234.194.28 queue w194.234.194.28
pass in quick on ex1 from 194.234.194.28 to <metro> queue r194.234.194.28
pass in quick on ex1 from 194.234.194.28 queue e194.234.194.28
pass out quick on ex1 from any to 194.234.194.29 tos 0x08 queue q194.234.194.29
pass out quick on ex1 from any  to 194.234.194.29 queue w194.234.194.29
pass in quick on ex1 from 194.234.194.29 to <metro> queue r194.234.194.29
pass in quick on ex1 from 194.234.194.29 queue e194.234.194.29
pass out quick on ex1 from any to 194.234.194.31 tos 0x08 queue q194.234.194.31
pass out quick on ex1 from any  to 194.234.194.31 queue w194.234.194.31
pass in quick on ex1 from 194.234.194.31 to <metro> queue r194.234.194.31
pass in quick on ex1 from 194.234.194.31 queue e194.234.194.31
pass out quick on ex1 from any to 194.234.194.32 tos 0x08 queue q194.234.194.32
pass out quick on ex1 from any  to 194.234.194.32 queue w194.234.194.32
pass in quick on ex1 from 194.234.194.32 to <metro> queue r194.234.194.32
pass in quick on ex1 from 194.234.194.32 queue e194.234.194.32
pass out quick on ex1 from any to 194.234.194.33 tos 0x08 queue q194.234.194.33
pass out quick on ex1 from any  to 194.234.194.33 queue w194.234.194.33
pass in quick on ex1 from 194.234.194.33 to <metro> queue r194.234.194.33
pass in quick on ex1 from 194.234.194.33 queue e194.234.194.33
pass out quick on ex1 from any to 194.234.194.34 tos 0x08 queue q194.234.194.34
pass out quick on ex1 from any  to 194.234.194.34 queue w194.234.194.34
pass in quick on ex1 from 194.234.194.34 to <metro> queue r194.234.194.34
pass in quick on ex1 from 194.234.194.34 queue e194.234.194.34
pass out quick on ex1 from any to 194.234.194.35 tos 0x08 queue q194.234.194.35
pass out quick on ex1 from any  to 194.234.194.35 queue w194.234.194.35
pass in quick on ex1 from 194.234.194.35 to <metro> queue r194.234.194.35
pass in quick on ex1 from 194.234.194.35 queue e194.234.194.35
pass out quick on ex1 from any to 194.234.194.36 tos 0x08 queue q194.234.194.36
pass out quick on ex1 from any  to 194.234.194.36 queue w194.234.194.36
pass in quick on ex1 from 194.234.194.36 to <metro> queue r194.234.194.36
pass in quick on ex1 from 194.234.194.36 queue e194.234.194.36
pass out quick on ex1 from any to 194.234.194.37 tos 0x08 queue q194.234.194.37
pass out quick on ex1 from any  to 194.234.194.37 queue w194.234.194.37
pass in quick on ex1 from 194.234.194.37 to <metro> queue r194.234.194.37
pass in quick on ex1 from 194.234.194.37 queue e194.234.194.37
pass out quick on ex1 from any to 194.234.194.39 tos 0x08 queue q194.234.194.39
pass out quick on ex1 from any  to 194.234.194.39 queue w194.234.194.39
pass in quick on ex1 from 194.234.194.39 to <metro> queue r194.234.194.39
pass in quick on ex1 from 194.234.194.39 queue e194.234.194.39
pass out quick on ex1 from any to 194.234.194.40 tos 0x08 queue q194.234.194.40
pass out quick on ex1 from any  to 194.234.194.40 queue w194.234.194.40
pass in quick on ex1 from 194.234.194.40 to <metro> queue r194.234.194.40
pass in quick on ex1 from 194.234.194.40 queue e194.234.194.40
pass out quick on ex1 from any to 194.234.194.41 tos 0x08 queue q194.234.194.41
pass out quick on ex1 from any  to 194.234.194.41 queue w194.234.194.41
pass in quick on ex1 from 194.234.194.41 to <metro> queue r194.234.194.41
pass in quick on ex1 from 194.234.194.41 queue e194.234.194.41
pass out quick on ex1 from any to 194.234.194.42 tos 0x08 queue q194.234.194.42
pass out quick on ex1 from any  to 194.234.194.42 queue w194.234.194.42
pass in quick on ex1 from 194.234.194.42 to <metro> queue r194.234.194.42
pass in quick on ex1 from 194.234.194.42 queue e194.234.194.42
pass out quick on ex1 from any to 194.234.194.43 tos 0x08 queue q194.234.194.43
pass out quick on ex1 from any  to 194.234.194.43 queue w194.234.194.43
pass in quick on ex1 from 194.234.194.43 to <metro> queue r194.234.194.43
pass in quick on ex1 from 194.234.194.43 queue e194.234.194.43
pass out quick on ex1 from any to 194.234.194.44 tos 0x08 queue q194.234.194.44
pass out quick on ex1 from any  to 194.234.194.44 queue w194.234.194.44
pass in quick on ex1 from 194.234.194.44 to <metro> queue r194.234.194.44
pass in quick on ex1 from 194.234.194.44 queue e194.234.194.44
pass out quick on ex1 from any to 194.234.194.46 tos 0x08 queue q194.234.194.46
pass out quick on ex1 from any  to 194.234.194.46 queue w194.234.194.46
pass in quick on ex1 from 194.234.194.46 to <metro> queue r194.234.194.46
pass in quick on ex1 from 194.234.194.46 queue e194.234.194.46
pass out quick on ex1 from any to 194.234.194.47 tos 0x08 queue q194.234.194.47
pass out quick on ex1 from any  to 194.234.194.47 queue w194.234.194.47
pass in quick on ex1 from 194.234.194.47 to <metro> queue r194.234.194.47
pass in quick on ex1 from 194.234.194.47 queue e194.234.194.47
pass out quick on ex1 from any to 194.234.194.100 tos 0x08 queue q194.234.194.100
pass out quick on ex1 from any  to 194.234.194.100 queue w194.234.194.100
pass in quick on ex1 from 194.234.194.100 to <metro> queue r194.234.194.100
pass in quick on ex1 from 194.234.194.100 queue e194.234.194.100
pass out quick on ex1 from any to 194.234.194.49 tos 0x08 queue q194.234.194.49
pass out quick on ex1 from any  to 194.234.194.49 queue w194.234.194.49
pass in quick on ex1 from 194.234.194.49 to <metro> queue r194.234.194.49
pass in quick on ex1 from 194.234.194.49 queue e194.234.194.49
pass out quick on ex1 from any to 194.234.194.50 tos 0x08 queue q194.234.194.50
pass out quick on ex1 from any  to 194.234.194.50 queue w194.234.194.50
pass in quick on ex1 from 194.234.194.50 to <metro> queue r194.234.194.50
pass in quick on ex1 from 194.234.194.50 queue e194.234.194.50
pass out quick on ex1 from any to 194.234.194.51 tos 0x08 queue q194.234.194.51
pass out quick on ex1 from any  to 194.234.194.51 queue w194.234.194.51
pass in quick on ex1 from 194.234.194.51 to <metro> queue r194.234.194.51
pass in quick on ex1 from 194.234.194.51 queue e194.234.194.51
pass out quick on ex1 from any to 194.234.194.52 tos 0x08 queue q194.234.194.52
pass out quick on ex1 from any  to 194.234.194.52 queue w194.234.194.52
pass in quick on ex1 from 194.234.194.52 to <metro> queue r194.234.194.52
pass in quick on ex1 from 194.234.194.52 queue e194.234.194.52
pass out quick on ex1 from any to 194.234.194.53 tos 0x08 queue q194.234.194.53
pass out quick on ex1 from any  to 194.234.194.53 queue w194.234.194.53
pass in quick on ex1 from 194.234.194.53 to <metro> queue r194.234.194.53
pass in quick on ex1 from 194.234.194.53 queue e194.234.194.53
pass out quick on ex1 from any to 194.234.194.54 tos 0x08 queue q194.234.194.54
pass out quick on ex1 from any  to 194.234.194.54 queue w194.234.194.54
pass in quick on ex1 from 194.234.194.54 to <metro> queue r194.234.194.54
pass in quick on ex1 from 194.234.194.54 queue e194.234.194.54
pass out quick on ex1 from any to 194.234.194.55 tos 0x08 queue q194.234.194.55
pass out quick on ex1 from any  to 194.234.194.55 queue w194.234.194.55
pass in quick on ex1 from 194.234.194.55 to <metro> queue r194.234.194.55
pass in quick on ex1 from 194.234.194.55 queue e194.234.194.55
pass out quick on ex1 from any to 194.234.194.56 tos 0x08 queue q194.234.194.56
pass out quick on ex1 from any  to 194.234.194.56 queue w194.234.194.56
pass in quick on ex1 from 194.234.194.56 to <metro> queue r194.234.194.56
pass in quick on ex1 from 194.234.194.56 queue e194.234.194.56
pass out quick on ex1 from any to 194.234.194.70 tos 0x08 queue q194.234.194.70
pass out quick on ex1 from any  to 194.234.194.70 queue w194.234.194.70
pass in quick on ex1 from 194.234.194.70 to <metro> queue r194.234.194.70
pass in quick on ex1 from 194.234.194.70 queue e194.234.194.70
pass out quick on ex1 from any to 194.234.194.71 tos 0x08 queue q194.234.194.71
pass out quick on ex1 from any  to 194.234.194.71 queue w194.234.194.71
pass in quick on ex1 from 194.234.194.71 to <metro> queue r194.234.194.71
pass in quick on ex1 from 194.234.194.71 queue e194.234.194.71
pass out quick on ex1 from any to 194.234.194.72 tos 0x08 queue q194.234.194.72
pass out quick on ex1 from any  to 194.234.194.72 queue w194.234.194.72
pass in quick on ex1 from 194.234.194.72 to <metro> queue r194.234.194.72
pass in quick on ex1 from 194.234.194.72 queue e194.234.194.72
pass out quick on ex1 from any to 194.234.194.73 tos 0x08 queue q194.234.194.73
pass out quick on ex1 from any  to 194.234.194.73 queue w194.234.194.73
pass in quick on ex1 from 194.234.194.73 to <metro> queue r194.234.194.73
pass in quick on ex1 from 194.234.194.73 queue e194.234.194.73
pass out quick on ex1 from any to 194.234.194.74 tos 0x08 queue q194.234.194.74
pass out quick on ex1 from any  to 194.234.194.74 queue w194.234.194.74
pass in quick on ex1 from 194.234.194.74 to <metro> queue r194.234.194.74
pass in quick on ex1 from 194.234.194.74 queue e194.234.194.74
pass out quick on ex1 from any to 194.234.194.75 tos 0x08 queue q194.234.194.75
pass out quick on ex1 from any  to 194.234.194.75 queue w194.234.194.75
pass in quick on ex1 from 194.234.194.75 to <metro> queue r194.234.194.75
pass in quick on ex1 from 194.234.194.75 queue e194.234.194.75
pass out quick on ex1 from any to 194.234.194.76 tos 0x08 queue q194.234.194.76
pass out quick on ex1 from any  to 194.234.194.76 queue w194.234.194.76
pass in quick on ex1 from 194.234.194.76 to <metro> queue r194.234.194.76
pass in quick on ex1 from 194.234.194.76 queue e194.234.194.76
pass out quick on ex1 from any to 194.234.194.77 tos 0x08 queue q194.234.194.77
pass out quick on ex1 from any  to 194.234.194.77 queue w194.234.194.77
pass in quick on ex1 from 194.234.194.77 to <metro> queue r194.234.194.77
pass in quick on ex1 from 194.234.194.77 queue e194.234.194.77
pass out quick on ex1 from any to 194.234.194.78 tos 0x08 queue q194.234.194.78
pass out quick on ex1 from any  to 194.234.194.78 queue w194.234.194.78
pass in quick on ex1 from 194.234.194.78 to <metro> queue r194.234.194.78
pass in quick on ex1 from 194.234.194.78 queue e194.234.194.78
pass out quick on ex1 from any to 194.234.194.79 tos 0x08 queue q194.234.194.79
pass out quick on ex1 from any  to 194.234.194.79 queue w194.234.194.79
pass in quick on ex1 from 194.234.194.79 to <metro> queue r194.234.194.79
pass in quick on ex1 from 194.234.194.79 queue e194.234.194.79
pass out quick on ex1 from any to 194.234.194.80 tos 0x08 queue q194.234.194.80
pass out quick on ex1 from any  to 194.234.194.80 queue w194.234.194.80
pass in quick on ex1 from 194.234.194.80 to <metro> queue r194.234.194.80
pass in quick on ex1 from 194.234.194.80 queue e194.234.194.80
pass out quick on ex1 from any to 194.234.194.81 tos 0x08 queue q194.234.194.81
pass out quick on ex1 from any  to 194.234.194.81 queue w194.234.194.81
pass in quick on ex1 from 194.234.194.81 to <metro> queue r194.234.194.81
pass in quick on ex1 from 194.234.194.81 queue e194.234.194.81
pass out quick on ex1 from any to 194.234.194.82 tos 0x08 queue q194.234.194.82
pass out quick on ex1 from any  to 194.234.194.82 queue w194.234.194.82
pass in quick on ex1 from 194.234.194.82 to <metro> queue r194.234.194.82
pass in quick on ex1 from 194.234.194.82 queue e194.234.194.82
pass out quick on ex1 from any to 194.234.194.83 tos 0x08 queue q194.234.194.83
pass out quick on ex1 from any  to 194.234.194.83 queue w194.234.194.83
pass in quick on ex1 from 194.234.194.83 to <metro> queue r194.234.194.83
pass in quick on ex1 from 194.234.194.83 queue e194.234.194.83
pass out quick on ex1 from any to 194.234.194.84 tos 0x08 queue q194.234.194.84
pass out quick on ex1 from any  to 194.234.194.84 queue w194.234.194.84
pass in quick on ex1 from 194.234.194.84 to <metro> queue r194.234.194.84
pass in quick on ex1 from 194.234.194.84 queue e194.234.194.84
pass out quick on ex1 from any to 194.234.194.85 tos 0x08 queue q194.234.194.85
pass out quick on ex1 from any  to 194.234.194.85 queue w194.234.194.85
pass in quick on ex1 from 194.234.194.85 to <metro> queue r194.234.194.85
pass in quick on ex1 from 194.234.194.85 queue e194.234.194.85
pass out quick on ex1 from any to 194.234.194.86 tos 0x08 queue q194.234.194.86
pass out quick on ex1 from any  to 194.234.194.86 queue w194.234.194.86
pass in quick on ex1 from 194.234.194.86 to <metro> queue r194.234.194.86
pass in quick on ex1 from 194.234.194.86 queue e194.234.194.86
block out quick on ex1
block in quick on ex1


Regards,
Sorin Gheorghe

Senior Network Administrator





----- Original Message ----- From: "Nils Vogels" <[EMAIL PROTECTED]>
To: "Josh Finlay" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Saturday, November 26, 2005 2:26 AM
Subject: Re: ALTQ bandwidth limiting only from internet IPs


Josh Finlay wrote:

pass out on $ExtIF from $Delta to any keep state queue q_delta_out
pass out on $ExtIF from $Fear to any keep state queue q_fear_out
pass out on $IntIF from $Delta to any keep state queue q_delta_in
pass out on $IntIF from $Fear to any keep state queue q_fear_in

This config seems to work quite well
but its also queueing local traffic aswell
so if I'm uploading from "Delta" to somewhere on the internet, my
local ssh sessions (to the machine running pf) lag due to lack of free
bandwidth

So how do I tell PF to only queue if its an internet ip? or perhaps a
better way of saying it, is to *not* queue local traffic (to/from
local ips).

What you could try is something like this:

table <rfc1918> persist { 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 }
pass out on $ExtIF from $Delta to any keep state queue q_delta_out
pass out on $ExtIF from $Fear to any keep state queue q_fear_out
pass out on $IntIF from $Delta to ! <rfc1918> keep state queue q_delta_in
pass out on $IntIF from $Fear to ! <rfc1918> keep state queue q_fear_in

YMMV

--
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and
dance like no one can see you.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to