[ovs-discuss] OVS And GRE Tunnels

Cali Ente calientepermanente at gmail.com
Fri Jul 26 18:16:04 UTC 2013


tun0 is a preexisting tunnel, so what I'm trying to do is get OVS to
communicate with this preexisting tunnel.


On Fri, Jul 26, 2013 at 11:14 AM, Dmita Levy <dlevy022 at fiu.edu> wrote:

> I'm still a little confused as to what it is you're trying to accomplish;
> if you create a GRE port like this
>
> #  ovs-vsctl add-port br0 tun0 -- set interface tun0 type=gre
> options:remote_ip=192.168.1.10
>
>
> the tunnel should work with no problems. From what you're saying, it seems
> like you're creating a tunnel and trying to add an additional tunnel
> adapter? What does your topology look like?
>
> On Fri, Jul 26, 2013 at 2:05 PM, Cali Ente <calientepermanente at gmail.com>wrote:
>
>> Are you referring to something like this?
>>   ifconfig
>>    tun0      Link encap:UNSPEC  HWaddr
>> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>>           UP BROADCAST POINTOPOINT RUNNING NOARP MULTICAST  MTU:1424
>> Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:10
>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>    ...
>> ...
>>    ovs-vsctl add-br bro
>>
>> This creates a gre port named tun0 on the bridge device bro but it does
>> not seem to be associated with the actual tun0 net device in anyway
>>
>>
>>
>> On Fri, Jul 26, 2013 at 10:42 AM, Dmita Levy <dlevy022 at fiu.edu> wrote:
>>
>>> Hello Cali,
>>>
>>> Have you tried using tunctl to create the tunnel adapter and then adding
>>> that adapter to the bridge the gre port is assigned to? That being said,
>>> what are you using the tun adapter for - is it tun/tap to tap VM's into the
>>> bridge?
>>>
>>> On Fri, Jul 26, 2013 at 1:33 PM, Cali Ente <calientepermanente at gmail.com
>>> > wrote:
>>>
>>>> As I thought, in that case, does anyone know of a way to connect a
>>>> linux tun device to OVS?
>>>>
>>>>
>>>> On Fri, Jul 26, 2013 at 9:19 AM, Jesse Gross <jesse at nicira.com> wrote:
>>>>
>>>>> On Fri, Jul 26, 2013 at 8:54 AM, Cali Ente <
>>>>> calientepermanente at gmail.com> wrote:
>>>>> > Hey all quick question, when creating a tunnel port in OVS using the
>>>>> set
>>>>> > interface=gre does this connect to a preexisting tun or does OVS
>>>>> make it's
>>>>> > own? For example I have a tun0 device that I want to attach to my
>>>>> OVS port,
>>>>> > and it cannot be added (incompatible device), so I thought that I
>>>>> merely
>>>>> > needed to add it with the GRE option.
>>>>>
>>>>> OVS GRE does not use or require an existing device.
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> discuss mailing list
>>>> discuss at openvswitch.org
>>>> http://openvswitch.org/mailman/listinfo/discuss
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130726/bd01f9d4/attachment.html>


More information about the discuss mailing list