[bwm-tools-tech] Not shaping anymore (Where to troubleshoot)
Brought to you by:
nkukard
From: Andrew N. <and...@gm...> - 2007-06-21 21:31:33
|
I had bwm-tools running in production for about 5 months. I had a harddrive go bad in the box last night. So lucky for me I had backups. I run my server in bridge mode so traffic continued to to flow so I don't think I made any stupid mistakes restoreing the backup because I was in a rush. Here is what I have found so far no shaping is occuring for any IP's listed, bwm-monitor will not work over ssh and traffic is for sure flowing through the bridge again. The box is bridged and has an IP of 192.168.100.10. The clients all connect using the 10.1.1.x subnet. The client "Office" should be limited to about 256k both directions and total bandwidth usage should be about 256k. What is wrong? What won't bwm_monitor work? bwm_montior will just sit there when I run it no user interface appears, the only way to get back to the console is to 'ctrl c' which causes a segmentation fault. Where do I start to troubleshoot? It appears that everything starts fine. I did upgrade from Fedora Core 4 to CentOS 4.3 on the new drive but other than that everything should be identical. My once working config is pasted below (minus some unimportant data): <firewall> <global> <modules> <load name="ip_queue"/> </modules> #Begin Access Classes <class name="AllowSSH"> <address dst="192.168.100.10" proto="tcp" dst-port="22"/> </class> <class name="AllowHTTP"> <address dst="192.168.100.10" proto="tcp" dst-port="80"/> </class> #Begin Traffic Classes <class name="Office_out"> <address src="10.1.1.253"/> </class> <class name="Office_in"> <address src="! 10.1.1.253" dst="10.1.1.253"/> </class> </global> #Access Control Lists <acl> <table name="filter"> <chain name="INPUT" default="DROP"> <rule name="allowed_traffic" target="ACCEPT"> AllowSSH AllowHTTP </rule> </chain> <chain name="FORWARD" default="ACCEPT"> <rule name="controlled_traf" target="bwmd"> Office_in Office_out </rule> <rule name="disabled_traf" target="DROP"> </rule> </chain> <chain name="OUTPUT" default="ACCEPT"> </chain> </table> </acl> #Traffic Flows <traffic> <flow name="traffic_total" max-rate="7680000" queue-len="5" queue-size="4500" report-timeout="60"> <flow name="flow_Office_total" max-rate="32000" report-timeout="60"> <flow name="flow_Office_out" max-rate="32000" report-timeout="60" nfmark="101"> Office_out; </flow> <flow name="flow_Office_in" max-rate="32000" report-timeout="60" nfmark="102"> Office_in; </flow> </flow> </flow> </traffic> </firewall> |