Hi, I''m trying to configure QOS , but I''m don''t have success. My files: #/etc/shorewall/tcdevices #INTERFACE IN-BANDWITH OUT-BANDWIDTH eth0 256kbit 256kbit eth1 256kbit 256kbit eth2 256kbit 256kbit #/etc/shorewall/tcclasses #INTERFACE MARK RATE CEIL PRIORITY OPTIONS eth1 1 256Kbit 50Kbit 1 default eth2 2 256Kbit 25Kbit 1 default eth0 3 256kbit 50Kbit 1 default eth0 4 256kbit 25kbit 1 eth0 5 512kbit 256kbit 1 #/etc/shorewall/tcrules #MARK SOURCE DEST PROTO PORT(S) CLIENT USER TEST # PORT(S) 1 eth1 0.0.0.0/0 all 2 eth2 0.0.0.0/0 all 3 eth0 192.168.1.0/24 all 4 eth0 192.168.0.0/24 all 5 $FW 0.0.0.0/0 all When I''ll run "service shorewall restart", this message error is diplayed: Setting up Traffic Control Rules... TC Rule "1 eth1 0.0.0.0/0 all " added TC Rule "2 eth2 0.0.0.0/0 all " added TC Rule "3 eth0 172.20.14.0/24 all " added TC Rule "4 eth0 192.168.0.0/24 all " added TC Rule "5 fw 0.0.0.0/0 all " added Validating /etc/shorewall/tcdevices... Validating /etc/shorewall/tcclasses... Restoring shorewall... Loading kernel modules... Clearing Traffic Control/QOS Restoring Proxy ARP... Restoring one-to-one NAT... Restoring ARP filtering... Restoring Accept Source Routing... Restoring IP Forwarding... Restoring Masquerading/SNAT... Restoring Netfilter Configuration... Shorewall restored from /var/lib/shorewall/restore /sbin/service: line 68: 20312 Terminated env -i LANG=$LANG PATH=$PATH TERM=$TERM "${SERVICEDIR}/${SERVICE}" ${OPTIONS} What''s wrong? Best regards, Anderson.
On Thursday 30 March 2006 09:43, Anderson Carmo Watanabe Oliveira wrote:> Hi, > > > I''m trying to configure QOS , but I''m don''t have success. > > My files: > > #/etc/shorewall/tcdevices > #INTERFACE IN-BANDWITH OUT-BANDWIDTH > eth0 256kbit 256kbit > eth1 256kbit 256kbit > eth2 256kbit 256kbit > > #/etc/shorewall/tcclasses > #INTERFACE MARK RATE CEIL PRIORITY OPTIONS > eth1 1 256Kbit 50Kbit 1 > default > eth2 2 256Kbit 25Kbit 1 > default > eth0 3 256kbit 50Kbit 1 > default > eth0 4 256kbit 25kbit 1 > eth0 5 512kbit 256kbit 1 > > > #/etc/shorewall/tcrules > #MARK SOURCE DEST PROTO PORT(S) CLIENT USER > TEST # PORT(S) > 1 eth1 0.0.0.0/0 all > 2 eth2 0.0.0.0/0 all > 3 eth0 192.168.1.0/24 all > 4 eth0 192.168.0.0/24 all > 5 $FW 0.0.0.0/0 all > > > When I''ll run "service shorewall restart", this message error is diplayed: > > Setting up Traffic Control Rules... > TC Rule "1 eth1 0.0.0.0/0 all " added > TC Rule "2 eth2 0.0.0.0/0 all " added > TC Rule "3 eth0 172.20.14.0/24 all " added > TC Rule "4 eth0 192.168.0.0/24 all " added > TC Rule "5 fw 0.0.0.0/0 all " added > Validating /etc/shorewall/tcdevices... > Validating /etc/shorewall/tcclasses... > Restoring shorewall... > Loading kernel modules... > Clearing Traffic Control/QOS > Restoring Proxy ARP... > Restoring one-to-one NAT... > Restoring ARP filtering... > Restoring Accept Source Routing... > Restoring IP Forwarding... > Restoring Masquerading/SNAT... > Restoring Netfilter Configuration... > Shorewall restored from /var/lib/shorewall/restore > /sbin/service: line 68: 20312 Terminated env -i LANG=$LANG > PATH=$PATH TERM=$TERM "${SERVICEDIR}/${SERVICE}" ${OPTIONS} > > > > What''s wrong?Anderson PLEASE READ THE SUPPORT GUIDE (http://www.shorewall.net/support.htm). There are very clear instructions for how to report problems with Shorewall startup. That having been said, your tc class definitions are senseless -- your have the CEIL values smaller than the corresponding RATE values. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
Anderson Carmo Watanabe Oliveira escribió:> > When I''ll run "service shorewall restart", this message error is diplayed:this single line tells me you haven''t read the manual, please go and read it before asking questions. thanks.
try shorewall restart trace It''ll show you where it blows ... Read, try to see why ( is a module missing ???? ) Then Post ....> Hi, > > > I''m trying to configure QOS , but I''m don''t have success. > > My files: > > #/etc/shorewall/tcdevices > #INTERFACE IN-BANDWITH OUT-BANDWIDTH > eth0 256kbit 256kbit > eth1 256kbit 256kbit > eth2 256kbit 256kbit > > #/etc/shorewall/tcclasses > #INTERFACE MARK RATE CEIL PRIORITY OPTIONS > eth1 1 256Kbit 50Kbit > 1 default > eth2 2 256Kbit 25Kbit > 1 default > eth0 3 256kbit 50Kbit > 1 default > eth0 4 256kbit 25kbit 1 > eth0 5 512kbit 256kbit 1 > > > #/etc/shorewall/tcrules > #MARK SOURCE DEST PROTO PORT(S) CLIENT > USER TEST > # PORT(S) > 1 eth1 0.0.0.0/0 <http://0.0.0.0/0> all > 2 eth2 0.0.0.0/0 <http://0.0.0.0/0> all > 3 eth0 192.168.1.0/24 <http://192.168.1.0/24> all > 4 eth0 192.168.0.0/24 <http://192.168.0.0/24> all > 5 $FW 0.0.0.0/0 <http://0.0.0.0/0> all > > > When I''ll run "service shorewall restart", this message error is diplayed: > > Setting up Traffic Control Rules... > TC Rule "1 eth1 0.0.0.0/0 <http://0.0.0.0/0> all " added > TC Rule "2 eth2 0.0.0.0/0 <http://0.0.0.0/0> all " added > TC Rule "3 eth0 172.20.14.0/24 <http://172.20.14.0/24> all " added > TC Rule "4 eth0 192.168.0.0/24 <http://192.168.0.0/24> all " added > TC Rule "5 fw 0.0.0.0/0 <http://0.0.0.0/0> all " added > Validating /etc/shorewall/tcdevices... > Validating /etc/shorewall/tcclasses... > Restoring shorewall... > Loading kernel modules... > Clearing Traffic Control/QOS > Restoring Proxy ARP... > Restoring one-to-one NAT... > Restoring ARP filtering... > Restoring Accept Source Routing... > Restoring IP Forwarding... > Restoring Masquerading/SNAT... > Restoring Netfilter Configuration... > Shorewall restored from /var/lib/shorewall/restore > /sbin/service: line 68: 20312 Terminated env -i > LANG=$LANG PATH=$PATH TERM=$TERM "${SERVICEDIR}/${SERVICE}" ${OPTIONS} > > > > What''s wrong? > > > Best regards, > > Anderson. >------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642