On Sun, Jan 15, 2012 at 07:26:05PM +0200, Heinonen, Johanna (NSN - FI/Espoo) wrote: > I am trying to create a gre tunnel between ovs (v1.1.0) and a linux > machine which is running in a VM.
The 1.1.x release series is no longer maintained. Please consider upgrading. > I have created dp0 and attached normal eth interfaces to it. Dp0 is > controlled by NOX. This far everything works fine. Now I'd like to > create a gre tunnel and attach it to dp0 similar way as eth > interfaces. I tried to follow the instructions from > http://www.mail-archive.com/discuss@openvswitch.org/msg00495.html . > However, the result from the first step is: > > root@ovs:~# ovs-vsctl create Interface name=gre0 type=gre > options:remote_ip=192.168.4.1 options:key=1 > Jan 13 16:39:31|00002|vsctl|WARN|applying "create" command to table > Interface without --id option will have no effect > 5fff7494-0edd-49b2-8064-c57d095c01e5 Those instructions are for an even older version of OVS. As you have discovered, they do not work with newer versions. > All the examples I am able to find seems to succeed without any -id > option. What am I missing here? Do I need -id option? If yes, where can > I find it? If you want to use this approach (which is more difficult than the other approach described later), then --id is documented in ovs-vsctl(8). > Some examples use also ovs-vsctl -add-port br0 gre0 -set Interface gre0 > type=gre options:remote_ip=1.2.3.4. This command does not accept dp0 > (only br0) so I failed with this one too. What is the relation between > dp0 (kernel concept?) and br0? I'm not sure it's worth describing the relationship in detail, because you can disregard the name dp0 entirely. Only the name br0 is important. Furthermore, newer versions of OVS don't use the dp0 naming at all. > Do you have any ideas what is wrong and what should I try next? "ovs-vsctl add-port br0 gre0 -- set Interface gre0 type=gre options:remote_ip=1.2.3.4" should work. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss