Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] QoS upstream and downstream...
@ 2003-08-15 12:48 Rajesh
  2003-08-15 14:02 ` miller69
  2003-08-19  9:20 ` miller69
  0 siblings, 2 replies; 3+ messages in thread
From: Rajesh @ 2003-08-15 12:48 UTC (permalink / raw)
  To: lartc


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-08-19  9:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-15 12:48 [LARTC] QoS upstream and downstream Rajesh
2003-08-15 14:02 ` miller69
2003-08-19  9:20 ` miller69

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox