[ovs-discuss] What's the current behaviour when setting max_len=0 in output action?

2013-09-06 Thread Can Zhang
Hello, I'd like to know what's the behaviour when setting max_len=0 in ofp_action_output message. And if I want the switch to send the whole packet, what value should I assign? Best regards, Can Zhang ___ discuss mailing li

Re: [ovs-discuss] How to properly forward certain protocols to a port?

2013-07-30 Thread Can Zhang
ovs-dpctl dump-flows while this is running? > > On Mon, Jul 29, 2013 at 7:40 AM, Can Zhang wrote: > > I think I've replied but actually it's in the draft box. Sorry for the > > delay. > > > > I captured packets on both interface using wireshark and as I descr

Re: [ovs-discuss] How to properly forward certain protocols to a port?

2013-07-29 Thread Can Zhang
I think I've replied but actually it's in the draft box. Sorry for the delay. I captured packets on both interface using wireshark and as I described in the first mail, I can see ARP request at eth0 but not tap0. And now I'm considering using a veth pair, say veth0 and veth1. Att

Re: [ovs-discuss] How to properly forward certain protocols to a port?

2013-07-24 Thread Can Zhang
. 2013/7/24 Jesse Gross > On Tue, Jul 23, 2013 at 7:11 AM, Can Zhang wrote: > > Hello, > > > > Firstly I'll describe a simple scenario I tried: > > > > peer packets --- eth0 ovs tap0 > > > > I configured tap0 with IP 192.168.57.100, two fl

Re: [ovs-discuss] How to get ovs listen port?

2013-03-26 Thread can.
, in which case there is no problem. > > On Wed, Mar 27, 2013 at 09:08:48AM +0800, can. wrote: > > So what if I can't use the default port number? For example, when more > than > > one switches are created, their port numbers are 6634, 6635, etc. How > could > > I k

Re: [ovs-discuss] How to get ovs listen port?

2013-03-26 Thread can.
Hi, So what if I can't use the default port number? For example, when more than one switches are created, their port numbers are 6634, 6635, etc. How could I know that from the controller side? 2013/3/26 Ben Pfaff > On Tue, Mar 26, 2013 at 03:08:15PM +0800, Can Zhang wrote: > &g

[ovs-discuss] How to get ovs listen port?

2013-03-26 Thread Can Zhang
Hello, The command ovs-ofctl could connect to a switch using syntax tcp:1.2.3.4:1234, but if I don't know this port number, is there any way to fetch it? I mean like when a switch connects to the controller, the controller knows the switch's dpid. Best regards,

[ovs-discuss] "out-of-band" mode command

2012-12-06 Thread can.
So could anyone tell me the correct format of this command? -- Best regards, Can Zhang ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] How to configure ovs properly?

2012-11-27 Thread can.
case). -- Best regards, Can Zhang On 2012年11月28日Wednesday at 上午7:51, Brad Hedlund wrote: > Greetings, > The long start-up delay is not related to DHCP -- according to my testing. > I believe it has something to do with openvswitch not normally loading until > after the /etc/n

Re: [ovs-discuss] ovs-ofctl: Unknown action: set_field

2012-11-26 Thread can.
Thanks, Ben Since I already have the version 1.7.1, the only choice is to install a "bleeding edge" version. I'd better wait for the next stable release. Btw, the man page I read is http://openvswitch.org/cgi-bin/ovsman.cgi?page=utilities%2Fovs-ofctl.8 -- Best regar

[ovs-discuss] ovs-ofctl: Unknown action: set_field

2012-11-25 Thread can.
how to implement similar functions such as change the IPv6 address or other fields in a packet? -- Best regards, Can Zhang ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

[ovs-discuss] Fw: How to configure ovs properly?

2012-11-25 Thread can.
I think because of thanksgiving, you may have missed this email. Just to remind, and thanks in advance. -- Best regards, Can Zhang Forwarded message: > From: can. > To: discuss@openvswitch.org > Date: 2012年11月23日Friday下午12:41:01 > Subject: How to configure ovs properly?

[ovs-discuss] How to configure ovs properly?

2012-11-22 Thread can.
ried the instructions in openvswitch-switch.README.Debian, but didn't work. btw I'm using ubuntu 12.04) And since virbr0 doesn't get enough configuration, it's isolated from the Internet. So how to make both br0 and virbr0 connect to the Internet? I think I can connect

Re: [ovs-discuss] "bridge module is loaded, not loading brcompat" error

2012-11-22 Thread can.
Problem solved, that's because I set a br0 in /etc/network/interfaces Sorry for the disturbance. -- Best regards, Can Zhang ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

[ovs-discuss] "bridge module is loaded, not loading brcompat" error

2012-11-22 Thread can.
Hi there, At the system startup, the "bridge module is loaded, not loading brcompat" error occurs. I can see that some other module loaded bridge before ovs, but how to find it? Or how can I make the system load brcompat first? -- Best regards,

Re: [ovs-discuss] How to make ovs persistent after reboot

2012-11-20 Thread can.
Thanks, Ben, I didn't notice the debian directory before, I think a INSTALL.debian is needed to remind and tell users how to build and install in a "native" way on ubuntu. Also, the INSTALL.linux way didn't see a ovs-ctl program, only the man page. Might be a bug. --

[ovs-discuss] How to make ovs persistent after reboot

2012-11-20 Thread can.
vswitch.ko start ovsdb-server, ovs-vswitchd As I'm a little frightened to hack the init scripts, I come here to confirm what I need to do and see if there's already a sample script. -- Best regards, Can Zhang ___ discuss mailing list dis

[ovs-discuss] Questions about IPv6 support and "ovs-ctl" commands

2012-11-12 Thread can.
penflow protocol? If it's not fully supported yet, I hope I can do something. 2. The "ovs-ctl" commands seem to have overlaps with each other. As I'm reading the documents, I find that the dpctl,vsctl,appctl and ofctl commands have some similar functionalities. For example,