[ovs-discuss] openvswitch GRE tunnel cannot cooperate with GRE tunnel of traditional devices

朱宗敏(研七 福州) zhuzongmin at ruijie.com.cn
Wed Aug 27 09:58:25 UTC 2014


Hello folks:

       We are now testing GRE connection between openvswitch bridge and tradition router, however we now encounter a problem.
     Configure:
          Openvswitch:
            ovs-vsctl set bridge br1 protocols=OpenFlow13 /* set the bridge a OF13 bridge */
            ovs-vsctl set-controller br1 tcp:192.168.21.69:6653 /* set outside controller */
            Ovs-vsctl add-port br1 gre1 ¨C set interface gre1 type=gre options:remote_ip=192.168.21.81 /* the configure is verified ok under vxlan tunnel */
          Traditional router:
            Tunnel source: 192.168.21.81
            Tunnel destination: 192.168.21.76

       When openvswitch bridge received a GRE packet from a traditional router, the packet is not sent to controller as expected.
       By compare the GRE packet sending from traditional router and the one sending from openvswitch GRE tunnel, we can find out that traditional GRE packet contains no lay-2 frame header(ether source and dest MAC, that¡¯s IP over IP), however, openvswitch¡¯s GRE packet contains the entire frame including layer-2(that¡¯s MAC over IP).
       So I assume that maybe the difference of GRE packet makes openvswitch bridge fail to analysis the received traditional GRE packet and discard it. Is it true or nor?
       Or there is some other additional configure needed to make openvswitch accept and dispatch the received gre packet upto controller?

Can you kindly offer me some help on it?
I would really appreciate your help.

Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140827/8e85d48f/attachment-0002.html>


More information about the discuss mailing list