[ovs-discuss] VMs in VLAN access internet
valentin at hackaserver.com
Fri Sep 21 10:02:42 UTC 2012
You have to NAT your private class configured for VM on your public
interface and enable IP forwarding.
# itpables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# cat > /proc/sys/net/ipv4/ip_forward <<EOF
Of course, I assume eth0 is your public facing interface. You'd have to
configure firewall rules to pass traffic.
Cheers and Good Will,
On Fri, Sep 21, 2012 at 12:56 PM, liuxy <liuxy506 at gmail.com> wrote:
> I create two vms and add the vnics to the ovs bridge with VLAN tag=2,
> then the two vms can communicate to each other,
> but how can the vms access the internet??
> sorry for my poor english.
> please help me, thanks a lot!!
> discuss mailing list
> discuss at openvswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss