Re: [ovs-discuss] question about the OVS-OFCTL

2013-11-20 Thread terryxing
t; On 21 November 2013 05:23, terryxing wrote: > >> Hi Ben, >> >> >> I have three VMs, I want like this, VM1 ping VM2, duplicate the packets >> to VM3 >> >> root@node-35:~# ovs-ofctl add-flow br-int >> "dl_src=VM1,priority=100,actions=NORMAL

Re: [ovs-discuss] question about the OVS-OFCTL

2013-11-20 Thread terryxing
RP, request who-has VM2 IP tell VM2IP" Do you know how can I make it work by matching and modifying IP header instead of mac ? Thanks very much On Tue, Nov 12, 2013 at 10:32 AM, terryxing wrote: > I tried the add-flow command before, and it is just there when I use > dump-flows t

Re: [ovs-discuss] question about the OVS-OFCTL

2013-11-12 Thread terryxing
hen you try it, what do you see? > > On Tue, Nov 12, 2013 at 09:56:27AM -0800, terryxing wrote: > > it is okay for the short-lived controller exit, but will the rule last in > > OVS If I just keep it running ? > > > > > > On Tue, Nov 12, 2013 at 8:00 AM, Ben Pfaff

Re: [ovs-discuss] question about the OVS-OFCTL

2013-11-12 Thread terryxing
Thanks Ben, it is okay for the short-lived controller exit, but will the rule last in OVS If I just keep it running ? On Tue, Nov 12, 2013 at 8:00 AM, Ben Pfaff wrote: > On Mon, Nov 11, 2013 at 11:23:36PM -0800, terryxing wrote: > > What do you mean by short-lived ? How long it can

Re: [ovs-discuss] question about the OVS-OFCTL

2013-11-11 Thread terryxing
4PM -0800, terryxing wrote: > > 1. I am wondering that what the OVS is running like without connection > any > > controller ? Because I thought it is just a layer 2 switch. > > Yes, that's right. > > > but when I run a openflow controller talking to it.(I tried pox and

Re: [ovs-discuss] question about the OVS-OFCTL

2013-11-11 Thread terryxing
2013 at 04:50:37PM -0800, terryxing wrote: > > I tried the command line below by change the set into add you mentioned > but > > it did not work, > > > > I tried the below one, it did not work, it said add command requires at > > least 4 arguments. > > >

Re: [ovs-discuss] question about the OVS-OFCTL

2013-11-11 Thread terryxing
=mirrirvm34 selct-dst-port=@vm4 selesct-src-port=@vm3 Can you point me out the wrong part ? or let me know the complete CLI to add additional port mirror ? Thanks very much On Mon, Nov 11, 2013 at 2:44 PM, Ben Pfaff wrote: > On Mon, Nov 11, 2013 at 02:31:13PM -0800, terryxing wrote: &g

Re: [ovs-discuss] question about the OVS-OFCTL

2013-11-11 Thread terryxing
multiple OVS are tunneled by connecting to a bridge call br-tun which has gre port on the tunnel. Thanks very much for your kind and timely reply. On Mon, Nov 11, 2013 at 2:07 PM, Ben Pfaff wrote: > On Mon, Nov 11, 2013 at 01:18:38PM -0800, terryxing wrote: > > Port mirroring is a goo

Re: [ovs-discuss] question about the OVS-OFCTL

2013-11-11 Thread terryxing
if the ovs CLI can do that, that would be greatly awesome and save a lot of time. Thanks very much for your kind reply, On Mon, Nov 11, 2013 at 12:54 PM, Ben Pfaff wrote: > On Mon, Nov 11, 2013 at 10:45:53AM -0800, terryxing wrote: > > I have a question about the ovs-ofctl command li

[ovs-discuss] question about the OVS-OFCTL

2013-11-11 Thread terryxing
Hi Dear All, I have a question about the ovs-ofctl command line to add flow. What I want is that, assume that I have 4 vms (H1, H2, H3 and H4) connecting to the same bridge. when H1 send a packet for H2, I want it also forwards to H4. I can append the H4 output port to the actions output ports b

Re: [ovs-discuss] tunnel between open vswitch on xenservers

2011-10-17 Thread terryxing
Thanks for your timely reply. I actually did not send any data manually by myself. Yes, the gre tunnel should not send that much traffic. I will use wireshark to check what is going on there. Thanks very much. On Mon, Oct 17, 2011 at 9:22 PM, Jesse Gross wrote: > 2011/10/17 terryx

Re: [ovs-discuss] tunnel between open vswitch on xenservers

2011-10-17 Thread terryxing
disconnected the tunnel until I found the solution to this problem. Thanks very much. On Sun, Oct 9, 2011 at 6:01 PM, terryxing wrote: > Yes, I made it work. > > For iptable rule, you do not have to specify the port number since it does > not go with TCP or UPD. Try to use the -p g

Re: [ovs-discuss] tunnel between open vswitch on xenservers

2011-10-09 Thread terryxing
Yes, I made it work. For iptable rule, you do not have to specify the port number since it does not go with TCP or UPD. Try to use the -p gre parameter. Thanks, On Sun, Oct 9, 2011 at 5:54 PM, Justin Pettit wrote: > On Oct 9, 2011, at 4:38 PM, terryxing wrote: > > > I want t

Re: [ovs-discuss] tunnel between open vswitch on xenservers

2011-10-09 Thread terryxing
does not work. Any idea ? Thanks very much. On Sun, Oct 2, 2011 at 2:38 PM, Jesse Gross wrote: > On Oct 2, 2011 1:24 PM, "terryxing" wrote: > > > > Thanks very much. > > > > So you mean, we can not setup the tunnel between two host residing in two > pr

Re: [ovs-discuss] tunnel between open vswitch on xenservers

2011-10-05 Thread terryxing
vSwitch ? Thanks again On Sun, Oct 2, 2011 at 2:38 PM, Jesse Gross wrote: > On Oct 2, 2011 1:24 PM, "terryxing" wrote: > > > > Thanks very much. > > > > So you mean, we can not setup the tunnel between two host residing in two > private network behi

Re: [ovs-discuss] tunnel between open vswitch on xenservers

2011-10-02 Thread terryxing
011 1:07 PM, "terryxing" wrote: > > > > Thanks for your timely reply. > > > > Right, we are using two public ip for two remote hosts talking to each > other. I am wondering if it is possible to let two host in private network > talk to each other through t

Re: [ovs-discuss] tunnel between open vswitch on xenservers

2011-10-02 Thread terryxing
on the GW and do NAT. Do you know what port the gre tunnel is using to talking to remote hosts ? And it is using UDP right ? Thanks, On Sat, Oct 1, 2011 at 11:56 PM, Justin Pettit wrote: > On Oct 1, 2011, at 10:44 PM, terryxing wrote: > > > Is open Vswitch a layer 2 switch ?

Re: [ovs-discuss] tunnel between open vswitch on xenservers

2011-10-01 Thread terryxing
Thanks Justin On Sat, Oct 1, 2011 at 11:56 PM, Justin Pettit wrote: > On Oct 1, 2011, at 10:44 PM, terryxing wrote: > > > Is open Vswitch a layer 2 switch ? Where is the routing table residing ? > And what can we do with that routing table ? > > When you send a packet out t

Re: [ovs-discuss] tunnel between open vswitch on xenservers

2011-10-01 Thread terryxing
table residing ? And what can we do with that routing table ? Thanks very much. On Fri, Sep 30, 2011 at 3:45 PM, Jesse Gross wrote: > On Thu, Sep 29, 2011 at 11:11 PM, terryxing wrote: > > Dear Jesse, > > > > Thanks very much for your timely reply. It works. But I

Re: [ovs-discuss] tunnel between open vswitch on xenservers

2011-09-29 Thread terryxing
, what are the gre tunnel established between ? Xenbr1 to Xenbr1 ? or Xenbr0 to Xenbr0 ? Highly appreciate your kind reply to make that tunnel work and thanks again for your timely reply. On Thu, Sep 29, 2011 at 2:46 PM, Jesse Gross wrote: > On Thu, Sep 29, 2011 at 2:36 PM, terryxing wr

[ovs-discuss] tunnel between open vswitch on xenservers

2011-09-29 Thread terryxing
Hi, I am so frustrated on setting up the tunnel between the open vswitch on xenservers. I have two xenserver. I use one NIC as the interface to talk to another remote xenserver host. I add a port name gre1 on the xenbr1 for both two servers. I run, *ovs-vsctl add-port xenbr1 gre1 -- set interfa

[ovs-discuss] Open Vswitch to establish the GRE Tunnel

2011-09-22 Thread terryxing
To whom it may concerned, Hi, I am new here and this is my first time to ask question her about open vswitch. Here is the problem, I started using open vswitch since Xenserver 5,6 natively supported open vswitch feature. My current configuration is that , I have two Dell R510 server with xenser