Displaying 6 results from an estimated 6 matches for "fullbandwidth".
2007 Aug 10
0
Re: Allocating 64 kbits/s out of 256 kbits/s for one LAN behingfirewall (SOLVED)
Hi Paolo Malfatti,
Thanks for your script. It works fine.
I get what I expect.
THANK you all the way until it comes to an end.
FOR the benifit for evryone in the LIST.
HERE IS the SCRIPT AGAIN.
INTERFAZ_LAN=eth0
FULLBANDWIDTH=256
BANDWIDTH4LAN=64
tc qdisc del root dev $INTERFAZ_LAN
tc qdisc add dev $INTERFAZ_LAN root handle 1 htb r2q 4
tc class add dev $INTERFAZ_LAN parent 1: classid 1:2 htb rate
"$FULLBANDWIDTH"Kbit
tc class add dev $INTERFAZ_LAN parent 1: classid 1:5 htb rate
"$BANDWIDTH4LAN"Kbit...
2007 Aug 24
3
subdivide 64 kbit bandwidth 32kbit for WWW and 32 Kbit for mail
.../29). it is a 256 Kbit link.
eth1 is DMZ. its ip is 192.168.100.254
eth2 is LAN. Its ip is 192.168.101.254
I have alreday shaped traffic to 64 Kbit on eth1 for downloadig (i.e DMZ
zone ).
This is the sript that does the job. It works ine.
#traffic shaping on eth1 (Downloading)
INTERFAZ_DMZ=eth1
FULLBANDWIDTH=256
BANDWIDTH4DMZ=64
tc qdisc del root dev $INTERFAZ_DMZ
tc qdisc add dev $INTERFAZ_DMZ root handle 1: htb r2q 4
tc class add dev $INTERFAZ_DMZ parent 1: classid 1:2 htb rate
"$FULLBANDWIDTH"Kbit
tc class add dev $INTERFAZ_DMZ parent 1: classid 1:5 htb rate
"$BANDWIDTH4DMZ"Kbi...
2007 Sep 03
1
Can we use 2 tc filter rules with the same prio
...me prio for both. (i.e prio 1).
pls see my script given below. (last 2 lines of the script where I have
highlighted in BOLD letters)
Can I have 2 tc filter rules with the same prio?
What is the proper method to write?
MY SCRIPT IS BELOW
#traffic shaping on eth1 (Downloading)
INTERFAZ_LAN=eth1
FULLBANDWIDTH=256
BANDWIDTH4LAN=64
tc qdisc del root dev $INTERFAZ_LAN
tc qdisc add dev $INTERFAZ_LAN root handle 1: htb r2q 4
tc class add dev $INTERFAZ_LAN parent 1: classid 1:2 htb rate
"$FULLBANDWIDTH"Kbit
tc class add dev $INTERFAZ_LAN parent 1: classid 1:5 htb rate
"$BANDWIDTH4LAN"Kb...
2007 Aug 08
0
Allocating 64 kbits/s out of 256 kbits/s for one LAN behind firewall
...want LAN with 192.168.101.0/24 to allocate 64 kbit out of 256 kbit.
the rest for others.
I added rules to the firewall. But I still can not allocate 64 kbit for LAN
with 192.168.101.0/24
I think I need a PREROUTING chain for LAN with 192.168.101.0/24
Script is given below.
INTERFAZ_INT=eth0
FULLBANDWIDTH=256
BANDWIDTH4LAN=64
iptables -t mangle -A PREROUTING -s
192.168.101.0/24<http://192.168.102.0/24>-j MARK --set-mark 0x5
tc qdisc add dev $INTERFAZ_INT root handle 1 htb r2q 4
tc class add dev $INTERFAZ_INT parent 1: classid 1:2 htb rate
"$FULLBANDWIDTH"Kbit
tc class add dev $INT...
2007 Sep 14
0
pkgs to monitor traffic
...ethernet. (eth1)
I am using mrtg to monior it. it works fine. In addition to that, I am
looking for some other pkgs.
Are there good pkgs for that purpose?
below is my script for dowmloading. I am looking for pkgs that suit below
script.
#traffic shaping on eth1 (Downloading)
INTERFAZ_DMZ=eth1
FULLBANDWIDTH=256
BANDWIDTH4DMZ=64
tc qdisc del root dev $INTERFAZ_DMZ
tc qdisc add dev $INTERFAZ_DMZ root handle 1: htb r2q 4
tc class add dev $INTERFAZ_DMZ parent 1: classid 1:1 htb rate
"$FULLBANDWIDTH"Kbit
tc class add dev $INTERFAZ_DMZ parent 1:1 classid 1:10 htb rate
"$BANDWIDTH4DMZ"K...
2007 Aug 02
5
Allocating 64 kbits/s out of 256 kbits/s for one LAN behing firewall
Hi,
We have a 256 kbits/s (kilobits per second) link to the internet. it is a
router running Linux that belongs to our ISP. They have given us 8 internet
ips. (i.e- subnet is 255.255.255.248). one has been given to this router. I
have given another internet ip to the firewall running CentOS 4.5. iptables
is running on it. And also, I have installed iproute2 pkg as well.
pls see below for