I am doing some testing on a distributed system and I want to ensure that it will do sensible things in the face of a netsplit or other network issues.
What I want to do is create 2 vagrant boxes (Alpha and Bravo) and then have a way to turn the network between them on and off (or introduce delays etc).
IS there an easy way to do this?
put Alpha and Bravo each in their own network, and put a third box Charlie in both networks. You can do that [with 1 Vagrantfile](https://www.vagrantup.com/docs/multi-machine/)
On box C you can then do all the firewall things you want. You can use the `tc` command on C to simulate network problems. Google ‘[linux tc simulate network problems](https://www.google.com/?q=linux+tc+simulate+network+problems)’ for more.