[pve-devel] ovs masqueraded bridge
Dietmar Maurer
dietmar at proxmox.com
Thu Dec 19 12:22:04 CET 2013
Seems that a simple masqueraded setup is possible:
--------------
auto vmbr1
allow-ovs vmbr1
iface vmbr1 inet static
address 10.3.2.1
netmask 255.255.255.0
ovs_type OVSBridge
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.3.2.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.3.2.0/24' -o vmbr0 -j MASQUERADE
--------------
works without problems here.
More information about the pve-devel
mailing list