All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ilian Nickolov <mctailer@mail.bg>
To: lartc@vger.kernel.org
Subject: [LARTC] tc filter problem (complicated)
Date: Mon, 12 May 2003 15:15:40 +0000	[thread overview]
Message-ID: <marc-lartc-105275631208396@msgid-missing> (raw)

Hi everyone!

The situation is: list of networks for example 150 networks. Internet 
connection with very high speed to this 150 networks and slower to all 
other internet networks.

Lets say the gateway maschine has 100 client pcs, and every pc has to 
have different configuration about the speed to the fast newtorks and the 
internet. Lets see the rules for the traffic comming from outsite (inet) 
and going to the shaped PCs. We create one class for fast nets and one 
for all other. In this configuration we have for the fast nets about 150 
rules, and this is just for one pc. Now if we want to do it for 200 pcs, 
and in two directions (suppose we have 2 eth cards), then our rules grow 
up to 2*100*150 = 30,000 rules.. w0w.. too much

Now the question.. suppose the packet to the fast nets is marked with 1 
(iptables). Is it possible to make it with two rules for each class and 
they to be.. (packed is marked with 1 && packet is for certain ip), and 
the packet to be thrown in this class if and only if the two rules hold 
at the same time.


Thanks in advance for every suggestion and idea.

Regards,
McTailer

------------------- изпратено от  mail.bG
Силна Анти-спам защита
12MB Място за поща
SMS за нов емeйл и към двата оператора!
POP3/WAP Достъп
_________________________________________
HOB БEЗПЛATEH AДPEC - http://mail.bg/new/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

                 reply	other threads:[~2003-05-12 15:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-105275631208396@msgid-missing \
    --to=mctailer@mail.bg \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.