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 ...

Does this right way?

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
jabber: v...@selfip.ru
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to