summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/ip-pool-wish/description.txt
blob: a5487169a95862543ef12bdf88d9749d775afebc (plain)
1
2
3
4
5
6
7
8
9
10
11
The roadwarriors <b>carol</b> and <b>dave</b> set up a connection each to gateway <b>moon</b>.
Both <b>carol</b> and <b>dave</b> request the same <b>virtual IP</b> via the IKEv2
configuration payload by using the <b>leftsourceip=PH_IP_DAVE1</b> parameter. On a first-come,
first-served basis, <b>dave</b> gets <b>PH_IP_DAVE1</b> from the simple address pool managed
by gateway <b>moon</b> and <b>carol</b> gets the first free address <b>PH_IP_CAROL1</b>
from the pool. 
<p>
<b>leftfirewall=yes</b> automatically inserts iptables-based firewall rules that let pass
the tunneled traffic. In order to test the tunnels, <b>carol</b> and <b>dave</b> then ping
the client <b>alice</b> behind the gateway <b>moon</b>. The source IP addresses of the two
pings will be the virtual IPs <b>carol1</b> and <b>dave1</b>, respectively.