All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Problem with iptables with -j TOS and MARK
@ 2006-07-28 12:43 makevuy
  0 siblings, 0 replies; only message in thread
From: makevuy @ 2006-07-28 12:43 UTC (permalink / raw)
  To: lartc

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?

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.

-- 
Sandra Salmerón Ntutumu    <makevuy@ehas.org>
Tlf. Analog: +34 914888405 / Móvil: 653574298
Tlf. IP desde FWD: 656212. Ext: 10 / Tel. IP desde EHAS: 010010
Fundación EHAS: Enlace Hispanoamericano de Salud - www.ehas.org
Telemedicina rural para zonas aisladas de países en desarrollo


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-28 12:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-28 12:43 [LARTC] Problem with iptables with -j TOS and MARK makevuy

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.