From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sorin Panca Date: Thu, 24 Nov 2005 13:46:40 +0000 Subject: [LARTC] Will this work? Message-Id: <4385C440.1080204@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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