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 [email protected] 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 <[email protected]>
> To: David Nguyen <[email protected]>
> Cc: [email protected]
> 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 -->Host 2 :??"destination host is unreachable
> > "
> >
> > In theorie : first, when I ping Host 1-->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 <[email protected]>
> > To: David Nguyen <[email protected]>
> > Cc: "[email protected]" <[email protected]>
> > 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:
> > > ? 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 options:remote_ip=10.1.2.3
> > > ? ?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 "gre", e.g.
> > ? ? ? ovs-vsctl set interface of-host1 type=gre
> > ? ? ? ovs-vsctl set interface of-host2 type=gre
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss