Re: [ovs-discuss] why does my packet VLAN ID get changed?

2014-08-01 Thread Ben Pfaff
On Fri, Aug 01, 2014 at 07:02:39PM +0200, Ronald van der Pol wrote: > On Fri, Aug 01, 2014 at 09:29:43 -0700, Ben Pfaff wrote: > > > > rvdp@lithium:~$ sudo ovs-ofctl show br-of > > > OFPT_FEATURES_REPLY (xid=0x2): dpid:0002c9ee01d0 > > > n_tables:254, n_buffers:256 > > > capabilities: FLOW_STA

Re: [ovs-discuss] why does my packet VLAN ID get changed?

2014-08-01 Thread Ronald van der Pol
On Fri, Aug 01, 2014 at 09:29:43 -0700, Ben Pfaff wrote: > > rvdp@lithium:~$ sudo ovs-ofctl show br-of > > OFPT_FEATURES_REPLY (xid=0x2): dpid:0002c9ee01d0 > > n_tables:254, n_buffers:256 > > capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP > > actions: OUTPUT SET_VLAN_

Re: [ovs-discuss] packet ins and packet outs in relation to LLDP

2014-08-01 Thread Ben Pfaff
On Tue, Jul 29, 2014 at 09:34:00PM +0300, ?? wrote: > How can I submit a packet_out , which includes request to send LLDP > packets to my HW which can't read openflow format ? could you explain > please what you have in mind? To support OpenFlow, you need to implement packet_out i

[ovs-discuss] Adding a new action to OVS

2014-08-01 Thread aditya kamath
Hi, I am working on a research project, and I have to add a datastructure to the kernel module to perform some statistics on the incoming packets. To do this in a nice way, I wanted to know how I can add a custom action in the flow rule to direct packets to the code I write (which will then updat

Re: [ovs-discuss] Gre tunnel segmenting packets to 1500 bytes

2014-08-01 Thread Sarada Vishwas
Hi Han, I am using Openstack with vXLAN & see the performance 2.x Gbps throughput over the 10Gbps line. I see in the below link that you were facing the same issue & after tuning some parameters, you could go upto 6Gbps. It would be great if you can share those tuning parameters? I have configured

[ovs-discuss] packet ins and packet outs in relation to LLDP

2014-08-01 Thread אייל ניסים
Hi, thanks for your rapid reply, It's back to square 1 though How can I submit a packet_out , which includes request to send LLDP packets to my HW which can't read openflow format ? could you explain please what you have in mind? In any case, I'd appreciate it very much if you could in additio

Re: [ovs-discuss] why does my packet VLAN ID get changed?

2014-08-01 Thread Ben Pfaff
On Fri, Aug 01, 2014 at 05:42:55PM +0200, Ronald van der Pol wrote: > Please help me debug this problem. I have an OVS with two ports. > A packet enters the bridge with VLAN 103 and leaves with VLAN 3. > I do not understand why. There seems to be no flow rule for this. > It should not be changed.

[ovs-discuss] why does my packet VLAN ID get changed?

2014-08-01 Thread Ronald van der Pol
Please help me debug this problem. I have an OVS with two ports. A packet enters the bridge with VLAN 103 and leaves with VLAN 3. I do not understand why. There seems to be no flow rule for this. It should not be changed. This is an OpenStack environment, but I'll try to show the relevant parts. I

Re: [ovs-discuss] How to access the Internet via OVS

2014-08-01 Thread Ben Pfaff
I think you'll have to work out these problems yourself, or find someone else to help you. I still have no idea what h1-eth0 or h2-eth0 is or how they relate to anything. On Fri, Aug 01, 2014 at 03:37:13PM +0100, Bruce SUN wrote: > Hi Ben, > > I am sorry fo rmy spell mistake. It is h1-eth0. My s

Re: [ovs-discuss] Unable to make Netflow v5 working

2014-08-01 Thread Ben Pfaff
On Fri, Aug 01, 2014 at 09:46:58AM +0200, Duy Bach Ha wrote: > I'm sorry for now I have so many kernel versions and 3 gcc that I > cannot remember at what version and gcc didI have it. But I will try > to reproduce the crash. How can I have a backtraceso that I can > provide it for you? Usually yo

Re: [ovs-discuss] How to access the Internet via OVS

2014-08-01 Thread Bruce SUN
Hi Ben, I am sorry fo rmy spell mistake. It is h1-eth0. My simple topology is as follows: [image: Inline image 1] After starting openvswitch, I add eth0 (internet interface) to the openvswitch. Then run the command "ifconfig eth0 0.0.0.0" to make eth0 as an openvswitch port. Next run the comm

[ovs-discuss] DSCP Handling

2014-08-01 Thread Savvas Zannettou
Hi all, I have a question regarding how OVS handles DSCP values. I apply different DSCP values to 2 different UDP flows but it doesn’t seem that the flow with DSCP value 46 (Expedited Forwarding) is treated preferentially than the other flow with DSCP value 0 (Best Effort). Do I have to make ex

Re: [ovs-discuss] Unable to make Netflow v5 working

2014-08-01 Thread Duy Bach Ha
Dear Nick, With your explanation, I tryboth commands, and I get the same result when I use "sh ovs-vsctl list NetFlow". The targets is just the same, ["192.168.1.2:5556"]. With "list Bridge", I can see that the switch s1 was netflow enabled with both commands. mininet> sh ovs-vsctl list NetF

Re: [ovs-discuss] Unable to make Netflow v5 working

2014-08-01 Thread Nicholas Bastin
On Sun, Jul 27, 2014 at 4:01 AM, Duy Bach Ha wrote: > *sh ovs-vsctl -- set Bridge s1 netflow=@nf -- --id=@nf create NetFlow > targets=\"192.168.1.2:5566 \" active-timeout=10* > Assuming your 'sh' is a POSIX 1003.2-compliant shell, you need to escape the colon in the targ

Re: [ovs-discuss] Unable to make Netflow v5 working

2014-08-01 Thread Duy Bach Ha
Dear Ben, I'm sorry for now I have so many kernel versions and 3 gcc that I cannot remember at what version and gcc didI have it. But I will try to reproduce the crash. How can I have a backtraceso that I can provide it for you? Actually on kernel 3.11.0 or 3.11.10 and some other, and on ubu