From: Ivan Groenewald <ivan@office.adept.co.za>
To: lartc@vger.kernel.org
Subject: [LARTC] tc ip group
Date: Fri, 20 Jun 2003 08:28:07 +0000 [thread overview]
Message-ID: <marc-lartc-105609792614046@msgid-missing> (raw)
Is it possible to classify traffic by ip groups ?
The situation is,
Say a client is connected directly to our network but pays only for a
international rate. Say he is connected at 10Mpbs and is allowed 64Kbps
international. The agreement is that anything local (on our network) he
may access at 10mbps, but intl stays 64k. This is pretty straightforward.
Say now he wants to share his 64k with another company, both connected at
his connection point. Then he wants 32k guaranteed for both companies.
(Thus a linux box, 3 network cards;; 1 network for each company; 1 to
connect to us)
My solution is
I would shape the host at the edge of the network to 64k, so it shapes
international. (this is already in place) To shape the 32k each on his 2
lan interfaces and allow the 10mbps local lets say...: Our network is
A= x.x.x.x/x
Then anything which is not our network will be !A
Can I then say to tc to class !A?
Basically my question is, can I class/shape the inverse of a certain group
of IP's ? And logically would this solution work at all?
Hope I explained myself correctly... Could somebody maybe give me a tc
example to maybe help me understand it better?
Tnx
I
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2003-06-20 8:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-20 8:28 Ivan Groenewald [this message]
2003-06-20 8:42 ` [LARTC] tc ip group Giannis Stoilis
2003-06-20 8:48 ` Ivan Groenewald
2003-06-20 9:11 ` Giannis Stoilis
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-105609792614046@msgid-missing \
--to=ivan@office.adept.co.za \
--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.