[ovs-discuss] How to use OVS with real Host ?

Ben Pfaff blp at nicira.com
Fri Sep 23 19:42:38 UTC 2011


It looks like all you need is:
	ovs-vsctl add-br br0
	ovs-vsctl add-port br0 eth0
	ovs-vsctl add-port br0 eth1

What do of-host1 and of-host2 represent?

Don't drop ovs-discuss at openvswitch.org this time or I'm going to stop
trying to help.

On Fri, Sep 23, 2011 at 12:28:16PM -0700, David Nguyen wrote:
> this is my network topology
> http://img571.imageshack.us/img571/7298/screenshot3ey.jpg
> 
> 
> this is my config syntax:
> -----
> Host1(netfpga),host2 ?and OVS host.
> Host 1 (nf2c0:10.1.2.2) <--link1-->OVS host (eth1 :10.1.2.3).?
> Host 2 (eth0:10.1.1.2) <--link2-->OVS host (eth0 :10.1.1.3).
> I can Ping Host1,Host2<-->OVS host
> 
> *Now?
> 
> I use OVS for set up a bridge to ping Host 1<--->Host2:
> ? ovs-vsctl add-br br0
> ? sudo ifconfig br0 up
> ? ovs-vsctl add-port br0?of-host1?
> ??ovs-vsctl add-port br0?of-host2
> ? ovs-vsctl set interface of-host1 type=gre
> ??ovs-vsctl set interface of-host2 type=gre
> 
> 
> ________________________________
> From: Ben Pfaff <blp at nicira.com>
> To: David Nguyen <papienguyen at yahoo.com>
> Cc: discuss at openvswitch.org
> Sent: Friday, September 23, 2011 9:08 PM
> Subject: Re: [ovs-discuss] How to use OVS with real Host ?
> 
> Maybe you should just explain what your network topology looks like.
> 
> On Fri, Sep 23, 2011 at 11:39:43AM -0700, David Nguyen wrote:
> > hi Ben,
> > thanks for your reply. I try with your syntax but not work.
> > 
> > ??When I ping Host1 --&gt;Host 2 :??&quot;destination host is unreachable &quot;
> > 
> > In theorie : first, when I ping Host 1--&gt;host 2 , signal will to be of-host1 of br0 of OVS host . OVS protocol will see the part of signal in Openflow table and choice Port of-host2 to send the Signal. ???
> > 
> > 
> > 
> > ________________________________
> > From: Ben Pfaff &lt;blp at nicira.com&gt;
> > To: David Nguyen &lt;papienguyen at yahoo.com&gt;
> > Cc: &quot;discuss at openvswitch.org&quot; &lt;discuss at openvswitch.org&gt;
> > Sent: Friday, September 23, 2011 4:21 PM
> > Subject: Re: [ovs-discuss] How to use OVS with real Host ?
> > 
> > On Fri, Sep 23, 2011 at 12:47:05AM -0700, David Nguyen wrote:
> > &gt; ? ovs-vsctl add-br br0
> > &gt; ? sudo ifconfig br0 up
> > &gt; ? ovs-vsctl add-port br0?of-host1?
> > &gt; ??ovs-vsctl add-port br0?of-host2
> > &gt; ? ovs-vsctl set interface of-host1 options:remote_ip=10.1.2.3
> > &gt; ? ?ovs-vsctl set interface of-host2 options:remote_ip=10.1.1.3
> > 
> > Are you trying to configure GRE tunnels?? If you expect
> > options:remote_ip to do anything useful, you need to set the interface
> > types to &quot;gre&quot;, e.g.
> > ? ? ? ovs-vsctl set interface of-host1 type=gre
> > ? ? ? ovs-vsctl set interface of-host2 type=gre





More information about the discuss mailing list