From: "Rajesh" <rajesh_khanduja@myway.com>
To: lartc@vger.kernel.org
Subject: [LARTC] QoS upstream and downstream...
Date: Fri, 15 Aug 2003 12:48:30 +0000 [thread overview]
Message-ID: <marc-lartc-106095179515415@msgid-missing> (raw)
Hi
I know this question is being asked in some other forms but I am getting confused with the answers. I'll re-form the question again.
Say I want to implement QoS for users like -
512 kpbs downstream (incoming) and 128 kbps upstream (outgoing),
1 Mbps downstream (incoming) and 256 kbps upstream (outgoing), etc.
Is it possible to implement the above QoS scheme using HTB,SFQ etc ?
If yes how ? The network diagram is as given below.
------------------
Private --------| eth1 eth0 |-------Internet
ipaddresses | |
------------------
Linux firewall
with masquerade.
eth1 : internal interface
eth0/ppp0 : outgoing interface
The private ip-addresses are NATed before they go out to Internet.
The users will be distinguished on the basis of their private ip-addresses.
So far I know we can apply HTB,SFQ (as given in examples) on eth0 for outgoing traffic and marking packets in the PREROUTING stage using iptables. This will implement the QoS for upstream traffic.
Is it okay , if I simply mark packets on the basis of source ip-addresses only and put them in the appropriate classes or do I have to further consider classification of traffic on the basis of services like telnet, http, ftp, smtp etc as well ?
Similarly can I apply HTB,SFQ on eth1 for incoming traffic and mark packets using iptables in the PREROUTING stage and this time on the basis of destination ipaddresses to implement the QoS requirements on download speeds ?
Will it give me the desired results as per requirements ?
If not, do we have any other solution to implement the above requirement ?
Help is invaluably appreciated.
Thanks,
Rajesh
_______________________________________________
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2003-08-15 12:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-15 12:48 Rajesh [this message]
2003-08-15 14:02 ` [LARTC] QoS upstream and downstream miller69
2003-08-19 9:20 ` miller69
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-106095179515415@msgid-missing \
--to=rajesh_khanduja@myway.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox