testing: Add scenarios that use XFRM interfaces
The network namespace scenario requires a kernel patch in 4.19 and 4.20 kernels (the fix is included in 5.0 kernels).
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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 a <b>virtual
|
||||
IP</b> via IKEv2 configuration payload.
|
||||
<p/>
|
||||
The gateway <b>moon</b> uses <b>route-based forwarding</b> with an <b>XFRM
|
||||
interface</b>, with firewall rules to allow traffic to pass. The IKE daemon
|
||||
does not install routes for CHILD_SAs with outbound interface ID, so a static
|
||||
route is installed for the virtual IP subnet via XFRM interface.
|
||||
<p/>
|
||||
Both <b>carol</b> and <b>dave</b> 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.
|
||||
Reference in New Issue
Block a user