From: Sorin Panca <sorin.panca@gmail.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Will this work?
Date: Thu, 24 Nov 2005 13:46:40 +0000 [thread overview]
Message-ID: <4385C440.1080204@gmail.com> (raw)
Hi people! Will this filter work?
# the traffic for MAN - match IP & MARK
$tc filter add dev $EXT1 parent 1: protocol ip prio 0 handle 0x1 fw u32
match ip src $IP flowid 1:B$hIP
$tc filter add dev $INT1 parent 1: protocol ip prio 0 handle 0x1 fw u32
match ip dst $IP flowid 1:B$hIP
# the traffic for Internet - match IP only (what is left after MAN filter)
$tc filter add dev $EXT1 parent 1: protocol ip prio 0 u32 match ip src
$IP flowid 1:C$hIP
$tc filter add dev $INT1 parent 1: protocol ip prio 0 u32 match ip dst
$IP flowid 1:C$hIP
# $hIP is the last byte of the IP address, written in hexa
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next reply other threads:[~2005-11-24 13:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-24 13:46 Sorin Panca [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-06-13 5:27 [LARTC] Will this work, Grant Taylor
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=4385C440.1080204@gmail.com \
--to=sorin.panca@gmail.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 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.