On Wed, Oct 9, 2013 at 3:39 AM, Vasiliy Tolstov <[email protected]> wrote: > I'm don't understand how can i use gre tunnels in my theoretical setup : > > I have node > bond0 - have eth0/eth1 > on bond0 i have > vlan10 for gre tunnels endpoint > Bridge ovs-tun > Port tun-vm > Interface tun-vm > type: patch > options: {peer=vm-tun} > Port "rl02" > Interface "rl02" > type: gre > options: {remote_ip="10.0.252.253"} > Port ovs-tun > Interface ovs-tun > type: internal > Port "rl01" > Interface "rl01" > type: gre > options: {remote_ip="10.0.252.252"} > Bridge ovs-vm > Controller "tcp:172.16.252.252:6633" > is_connected: true > fail_mode: secure > Port "vnet8" > Port vm-tun > Interface vm-tun > type: patch > options: {peer=tun-vm} > Port ovs-vm > Interface ovs-vm > type: internal > ovs_version: "2.0.0" > > On rl01 and rl02 i have: > Bridge ovs-tun > Port tun-vm > Interface tun-vm > type: patch > options: {peer=vm-tun} > Port ovs-tun > Interface ovs-tun > type: internal > Port "node01" > Interface "node01" > type: gre > options: {remote_ip="10.0.252.1"} > Bridge ovs-vm > Controller "tcp:172.16.252.252:6633" > is_connected: true > fail_mode: secure > Port ovs-vm > Interface ovs-vm > type: internal > Port vm-tun > Interface vm-tun > type: patch > options: {peer=tun-vm} > ovs_version: "2.0.0" > > Does i need on ovs-vm phisical port for example vlan20 for datapath? > In my setup i need ip_forward on node to forward packets from ovs-vm > via ovs-tun to vlan10 ...
You don't need to add the physical ports to OVS for tunnels, they just need to have appropriate IP addresses. Once you have that the IP stack will get the packets there as it does with any other type of IP traffic. _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
