Collection of tools and scripts to make virtualization easier.
Currently Open vSwitch doesn't support libvirt in NAT mode. This script starts an OVS bridge, adds NAT rules and starts a dnsmasq instance.
Run:
$ sudo cp ovs-with-nat-mode.sh /usr/local/bin
$ sudo cp init /etc/init/ovs-nat.conf
$ sudo cp ovs-nat.conf /etc/default/ovs-nat
All the configuration is stored in the /etc/default/ovs-nat.conf file.
Run:
$ sudo start ovs-nat
You can now plug your virtual machines to the management and data bridges using the libvirt bridge mode.