From mboxrd@z Thu Jan 1 00:00:00 1970 From: makevuy Date: Fri, 28 Jul 2006 12:43:06 +0000 Subject: [LARTC] Problem with iptables with -j TOS and MARK Message-Id: <44CA065A.9090903@ehas.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hy, I would want to mark the packets that are entering in a machine, with a=20 mark for using diffserv with DSMARK. My machine has 2 interfaces, a ethernet and a wireless. The ethernet=20 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=20 paquets that I would be receiving, for this I write in the console of my=20 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? I've tried the same with the MARK option: iptables -A PREROUTING -i eth1 -t mangle -p udp -j MARK --set-mark 0x20 and a DSMARK. Regards. --=20 Sandra Salmer=F3n Ntutumu Tlf. Analog: +34 914888405 / M=F3vil: 653574298 Tlf. IP desde FWD: 656212. Ext: 10 / Tel. IP desde EHAS: 010010 Fundaci=F3n EHAS: Enlace Hispanoamericano de Salud - www.ehas.org Telemedicina rural para zonas aisladas de pa=EDses en desarrollo _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc