[ovs-discuss] GRE tunnel outer IP & MAC.

Pravin Shelar pshelar at nicira.com
Fri Feb 20 17:56:58 UTC 2015


On Thu, Feb 12, 2015 at 1:58 PM, David Evans <davidjoshuaevans at gmail.com> wrote:
> Hi Pravin,
>
> Using ixgbe -> netdev bridge works
>
> ovs-vsctl add-br b0 -- set bridge b0 datapath_type=netdev
> /usr/share/dpdk/tools/dpdk_nic_bind.py -b ixgbe  0000:0a:00.0
> ovs-vsctl add-port b0 enp10s0f0
> ovs-vsctl add-port b0 gre0 -- set Interface gre0 type=gre
> options:remote_ip=192.168.56.101
>
>
> The id is not incremented (don't know if that's important..
> Eg: tcpdump output:
> 08:52:18.006652 00:e0:ed:52:97:cd > 90:e2:ba:38:ad:3c, ethertype IPv4
> (0x0800), length 546: (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto
> GRE (47), length 532)
>     192.168.56.102 > 192.168.56.101: GREv0, Flags [none], proto TEB
> (0x6558), length 512
>         00:00:04:56:78:90 > 00:00:04:04:12:34, ethertype IPv4 (0x0800), length
> 508: (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto unknown (255),
> length 494)
>     192.168.168.5 > 192.168.168.1:  ip-proto-255 474
> 08:52:18.006725 00:e0:ed:52:97:cd > 90:e2:ba:38:ad:3c, ethertype IPv4
> (0x0800), length 546: (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto
> GRE (47), length 532)
>     192.168.56.102 > 192.168.56.101: GREv0, Flags [none], proto TEB
> (0x6558), length 512
>         00:00:04:56:78:90 > 00:00:04:04:12:34, ethertype IPv4 (0x0800), length
> 508: (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto unknown (255),
> length 494)
>     192.168.168.5 > 192.168.168.1:  ip-proto-255 474
>
>
>
> If I switch to igb_uio and add the port as dpdk it fails.
>
I tried it on intel 10G nic and it works for me. Can you check OVS
routing table and arp table?

ovs-appctl ovs/route/show
ovs-appctl tnl/arp/show

Thanks,
Pravin.



More information about the discuss mailing list