Hi, i have one question:
I install a linux in one machine to test the qos and bandwidth feature.
This machine have one lan interface , only for a test purpose, my ideia
is limit and control the traffic above the interface and tcp 80 port.
I create one rule in shorewall to permit the lan machine access the wan
port 80, my ideia is download with wget one ISO file to control the
speed of download....
For sample, with shorewall stopped can i download with 123 K/s this ISO.
[root@australia shorewall]# wget -c
http://ftp.club-internet.fr/pub/linux/Mandrakelinux/official/iso/2006.0/x86_64/Mandriva-Linux-Free-2006-CD2.x86_64.iso
--10:53:43--
http://ftp.club-internet.fr/pub/linux/Mandrakelinux/official/iso/2006.0/x86_64/Mandriva-Linux-Free-2006-CD2.x86_64.iso
=> `Mandriva-Linux-Free-2006-CD2.x86_64.iso''
Resolving ftp.club-internet.fr... 194.158.99.22,
2001:860:0:7fff:202:b3ff:fe46:323e
Connecting to ftp.club-internet.fr|194.158.99.22|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
http://mirrors-av.club-internet.fr/pub/linux/Mandrakelinux/official/iso/2006.0/x86_64/Mandriva-Linux-Free-2006-CD2.x86_64.iso
[following]
--10:53:45--
http://mirrors-av.club-internet.fr/pub/linux/Mandrakelinux/official/iso/2006.0/x86_64/Mandriva-Linux-Free-2006-CD2.x86_64.iso
=> `Mandriva-Linux-Free-2006-CD2.x86_64.iso''
Resolving mirrors-av.club-internet.fr... 194.158.97.180,
2001:860:0:7fff:203:baff:fe5a:4492
Connecting to mirrors-av.club-internet.fr|194.158.97.180|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 730,896,384 (697M), 722,397,012 (689M) remaining [text/plain]
1%
[>
] 9,528,453 123.02K/s ETA 1:52:09
Now the same file and mirror with the shorewall started:
1%
[+
] 9,667,166 5.66K/s ETA 39:33:09
My question is:
If in tcclasses file i change the full/2 to full/4 the speed couldnt
change to 3.33K/s?
whats wrong?
my tcclasses file:
###############################################################################
#INTERFACE MARK RATE CEIL PRIORITY OPTIONS
eth0 1 10kbit 10kbit 1 default
eth0 4 full/2 full/2 4
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
my tcdevices file:
#INTERFACE IN-BANDWITH OUT-BANDWIDTH
eth0 50kbit 50kbit
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
my tcrules file:
###############################################################################
#MARK SOURCE DEST PROTO PORT(S) CLIENT
USER TEST
1:P 0.0.0.0/0 0.0.0.0/0 icmp echo-request
1:P 0.0.0.0/0 0.0.0.0/0 icmp echo-reply
4 0.0.0.0/0 0.0.0.0/0 tcp 80
4 0.0.0.0/0 0.0.0.0/0 tcp - 80
# PORT(S)
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642