<div>Hello Martin/All,</div>
<div> </div>
<div>I had a look at the things you mentioned below, I also had a look at some of the test cases in <a href="http://www.strongswan.org/uml/testresults/ikev2/">http://www.strongswan.org/uml/testresults/ikev2/</a>. I see that there are some scenarios where one node (say Sun) is the destination for more than one tunnel (as in, both Alice and Venus establish tunnels with Sun). In this case, I see that marking the packets helps Sun differentiate between both the tunnels. </div>
<div> </div>
<div>But is it possible to have multiple tunnels between the same endpoints (say between Alice and Sun)? I looked around but couldn't find any particular scenario in the link I've mentioned above. Also, even if it is possible to have more than one tunnel between the same end points, will marking of packets help in differentiation, since the destination address of both tunnels will be the same?</div>
<div> </div>
<div>I hope I've understood all this correctly. I would appreciate it if you could help me clear my doubts.</div>
<div> </div>
<div>Thanks in advance,</div>
<div>Meera <br><br></div>
<div class="gmail_quote">On Wed, May 25, 2011 at 2:45 PM, Martin Willi <span dir="ltr"><<a href="mailto:martin@strongswan.org">martin@strongswan.org</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im"><br><br>> But I would like to know what these values mean (10, 11, 20, 21) and<br>> how they help in sending traffic through a particular tunnel only. I<br>> need to try and set up multiple tunnels, and then send traffic through<br>
> each one of them, and then all of them together, in order to compare<br>> performances.<br><br></div>You can use the same mark values in iptables to tag traffic for use with<br>a specific tunnel, have a look at [1].<br>
<br>Use the MARK target to set a mark on a packet. Depending on the mark you<br>set, the tunnel with the mark configured in ipsec.conf will be used.<br><br>Regards<br>Martin<br><br>[1]<a href="http://www.strongswan.org/uml/testresults/ikev2/rw-mark-in-out/console.log" target="_blank">http://www.strongswan.org/uml/testresults/ikev2/rw-mark-in-out/console.log</a><br>
<br><br><br></blockquote></div><br>