hi cezar,
why not use the TOS mark -- it is carried in the packet's tcp header ...
you can only have 8 types/marks however ...
cheers
charles
On Mon, 2003-11-24 at 17:03, Cezar Atanasiu wrote:
On Mon, 24 Nov 2003 16:43:40 +0100
Eric Leblond [EMAIL PROTECTED] wrote:
Le lun 24/11/2003
Hi folks,
Basically I have this :
|Router A| - ethernet --- | SWITCH | --- ethernet |ROUTER B|
What I need : to mark packets passing through ROUTER A in such way
that the marks remain until they reach ROUTER B, so that the router
can decide what to do with them based on the
Le lun 24/11/2003 à 16:16, Cezar Atanasiu a écrit :
Hi folks,
The questions :
1. can that be done ?
not that way, fw mark are lost when you leave the computer
2. if the answer to the first q. is yes, can that be done w/o patching
the kernel on the first router w/ experimental
] howto mark packets
2. if the answer to the first q. is yes, can that be done w/o patching
the kernel on the first router w/ experimental patches ?
you can do that in a capillotracté way (such an idea) by using tunnels
(gre or ipip) and doing some iproute2 an A do push packet in a tunnel
Hello Cezar,
CA Hmm, that would become too complicated. There is no other way ?
Quick and dirty solution would be to mark packets on Router A by
changing the TOS to some known value
(iptables/ -t mangle -j TOS --set-tos ..)
and filtering by TOS value on Router B
(tc/ filter u32 match ip tos