testing: Added swanctl/dhcp-dynamic scenario

This commit is contained in:
Andreas Steffen
2016-02-03 12:10:59 +01:00
parent 3d15269af9
commit ac134b470a
15 changed files with 279 additions and 0 deletions
@@ -0,0 +1,12 @@
carol::swanctl --terminate --ike home
dave::swanctl --terminate --ike home
carol::service charon stop 2> /dev/null
dave::service charon stop 2> /dev/null
moon::service charon stop 2> /dev/null
venus::cat /var/state/dhcp/dhcpd.leases
venus::/etc/init.d/isc-dhcp-server stop 2> /dev/null
moon::iptables-restore < /etc/iptables.flush
carol::iptables-restore < /etc/iptables.flush
dave::iptables-restore < /etc/iptables.flush
alice::arp -d 10.1.0.50
alice::arp -d 10.1.0.51