From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Sequence and Default port
Date: Mon, 22 Sep 2003 18:25:05 +0000 [thread overview]
Message-ID: <marc-lartc-106425546918318@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106423050719876@msgid-missing>
On Monday 22 September 2003 13:25, Raghuveer wrote:
> Hi All,
>
> I have following queries :--
>
> 1. For indicating any default IP we are placing 0/0 as src or dst in the
> tc script, similarly what can I use for default port....?. This is the
> scenario when rules are framed based on ports. For example, For a
> firewall with eth0(WAN), eth1(LAN) and eth2(DMZ), Iam doing CBQ outgoing
> (egress) traffic shaping at eth0 interface for public hosted servers
> located at eth2(DMZ) based on ports(80 for http etc). Now I want to
> frame a rule for remaining traffic (default) allocating remaining
> bandwidth(total rate is 512Kbits, 256 Kbits provided to the hosted
> servers, rest 256KBits is for other traffic). My rules for identifying
> the hosted servers is based entirely on src port. Hence what rule should
> I frame for all other traffic coming from eth1(LAN).
There is no such thing as default port. But I don't understand why you need
this. I think it can be done with the dst/src parameter.
> 2. Is the rule sequence play any role, like if there is any conflict
> between the rules then the last rule will be given preference. what
> happens exactly if there is any conflict...?
The first rule that's a match wil be followed. Order is based on prio and the
order they are entered.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-09-22 18:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-22 11:37 [LARTC] Sequence and Default port Raghuveer
2003-09-22 18:25 ` Stef Coene [this message]
2003-09-23 6:08 ` Raghuveer
2003-09-23 19:46 ` Stef Coene
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-106425546918318@msgid-missing \
--to=stef.coene@docum.org \
--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.