pretest.dat 652 B

1234567891011121314151617181920
  1. moon::ip addr add 192.168.0.5/24 dev eth0
  2. moon::ip addr add 10.1.0.5/16 dev eth1
  3. alice::ifup eth1
  4. alice::ip addr add 192.168.0.5/24 dev eth1
  5. alice::ip addr add 10.1.0.5/16 dev eth0
  6. venus::ip route del default via 10.1.0.1 dev eth0
  7. venus::ip route add default via 10.1.0.5 dev eth0
  8. moon::iptables-restore < /etc/iptables.rules
  9. alice::iptables-restore < /etc/iptables.rules
  10. carol::iptables-restore < /etc/iptables.rules
  11. dave::iptables-restore < /etc/iptables.rules
  12. moon::ipsec start
  13. alice::ipsec start
  14. alice::sleep 1
  15. carol::ipsec start
  16. dave::ipsec start
  17. carol::expect-connection home
  18. dave::expect-connection home
  19. carol::ipsec up home
  20. dave::ipsec up home