From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarek Poplawski Date: Fri, 28 Jul 2006 13:57:32 +0000 Subject: [LARTC] Re: Problem with iptables with -j TOS and MARK Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On 28-07-2006 14:43, makevuy wrote: > Hy, > > I would want to mark the packets that are entering in a machine, with a > mark for using diffserv with DSMARK. > > My machine has 2 interfaces, a ethernet and a wireless. The ethernet > interface is eth1 and the other is wifi0. > > Firs, I would want to test that I would be able to mark the tos of the > paquets that I would be receiving, for this I write in the console of my > linux: > > > iptables -A PREROUTING -i eth1 -t mangle -p udp -j TOS --set-tos 0x20 > > But the TOS doesn't change (I see this with ethereal) > > Waht could be the problem? If I can remember, TOS is inserted for real some time later, so try to investigate on forward or postrouting. Jarek P. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc