Hello All,
The following is what I was trying to do:
A packet [Dest: 10.10.10.2, Src: 10.10.10.30] has a route through
"tunl0". The bigger problem is that "tunl0" is a tunnel between
10.10.10.2 and 10.10.10.20... Which means that after encapsulation
takes place, the packet would look like [Dest: 10.10.10.2, Src:
10.10.10.20 [Dest: 10.10.10.2, Src: 10.10.10.30]].
Thing to be noted is that the destination of the packet before and after
encapsulation is same!
This is what I plan to do:
1. Create a route such that all packets to 10.10.10.2 go through tunl0
2. In POSTROUTING, if destination is 10.10.10.2 and the packet is not
marked, mark it.
3. Create another route for the packets that are marked.
Is this approach the right one, and is it possible to do such a thing -
I am specially doubtful about the second step!!
Thanks,
Prasad
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc