[ovs-discuss] can not create device problem

Yan yan.p.bjtu at gmail.com
Sun Jun 20 01:27:46 UTC 2010

Hi Jesse
Thank you for your reply and I'll take care to add cc. Sorry for last time.

I saw the information from the *Create a GRE interface* thread, so I did
like following:

ovs-vsctl create interface name=gre0 type=gre options:remote_ip=remote
machine's IP
ovs-vsctl create port name=gre0
ovs-vsctl add bridge dp0 ports f75aa483-e0ea-42e8-bb96-93110d630838

And I also did the same thing at another machine.I got no error message but
NOX didn't get a port event when I add gre into bridge(by ovs-vsctl add
bridge dp0 ports f75aa483-e0ea-42e8-bb96-93110d630838).
 I also tried ovs-vsctl add-port dp0 gre0 but it didn't inform nox either.
It seems OVS doesn't send a event to NOX.
In this case NOX will not tell the OVS to forward a flow via that tunnel
even if the tunnel is correct.

Would please offer some suggestions about how could this be solved?

Thank you.

On Sun, Jun 20, 2010 at 5:22 AM, Jesse Gross <jesse at nicira.com> wrote:

> On Sat, Jun 19, 2010 at 2:12 AM, Yan <yan.p.bjtu at gmail.com> wrote:
>> Hi Jesse,
>> I want to try GRE tunnel with OVS, and I follow the instruction here
>> http://www.mail-archive.com/discuss@openvswitch.org/msg00356.html
>> I unloaded ip_gre, however it doesn't work.
>> since I have two nic in my machine with different IP so do i have
>> to specify a local_ip?
> Can you please cc the list when sending messages?  That way it can
> potentially help other people.
> You only need to specify local_ip if you are trying to distinguish two
> tunnels that are otherwise the same.  Not specifying it will cause all
> packets to be accepted by a particular tunnel.
>> When I add a common interface into bridge I can see a msg from nox like
>> |DBG:received port status event from 00ff002799f2
>> But when I add a GREtap to bridge nothing can be seen.
> When you say GREtap do you mean Linux GRE devices?  Those are not
> supported.  When you use OVS GRE the type is simply "gre".
>>  i want to know that does vswitchd deamon monitor the gre tunnel traffic
>> from a physical interface since you mentioned that it is no longer necessary
>> to load OVS GRE module.
> It doesn't directly pull GRE traffic off the physical interface - OVS still
> registers a protocol handler with the Linux IP stack for GRE.  The reason
> why you no longer need to load a separate module is that GRE has been
> directly integrated into the main openvswitch_mod.
>> Would you please give more details about OVS's GRE?
> If you are still having problems please post the exact commands you are
> using and the output.

Yan Pu
yan at nakao-lab.org
The university of Tokyo
Graduate School of Interdisciplinary Information Studies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100620/55695a3e/attachment-0001.html>

More information about the discuss mailing list