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

2014-07-31 Thread Ben Pfaff
On Tue, Jul 29, 2014 at 05:10:49PM +0200, Duy Bach Ha wrote: > Just to sum up and ask for help since I'm doing a thesis and have > stuck here for a long time. You guys don't have to follow the other > 2 emails because I sum all here. Sincerely thanks for your support. > > Experimental mininet 2.1.

Re: [ovs-discuss] failed to put[create][modify]

2014-07-31 Thread Justin Pettit
On July 31, 2014 at 8:35:54 AM, Gurucharan Shetty (shet...@nicira.com) wrote: > On Wed, Jul 30, 2014 at 4:49 PM, Jesse Gross wrote: > > Thanks for running this with the extra logging. There is actually a > > different error code showing up now, so maybe that is progress :) > > > > I think Guru is c

Re: [ovs-discuss] Is it allowed to delete a meter that is used by active flows?

2014-07-31 Thread Ben Pfaff
On Wed, Jul 30, 2014 at 06:53:48AM +, Gur Stavi wrote: > The 'meter_del' callback of ofproto_class does not have a return value. > What should happen when there is an attempt to delete a meter that is used by > active flows? That "can't happen" because OVS deletes all the flows that use a met

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

2014-07-31 Thread Ben Pfaff
On Thu, Jul 31, 2014 at 05:11:34PM +0100, Bruce SUN wrote: > I just run "h1 dhclient h1-eht0". The problem is solved, but I don't know > the reason. > mininet> h2 ping www.sina.com > PING wwwus.sina.com (12.130.132.30) 56(84) bytes of data. > 64 bytes from 12.130.132.30: icmp_seq=2 ttl=238 time=173

[ovs-discuss] Help with error in when compiling custom library

2014-07-31 Thread Dani Camps
Dear all, We are testing a custom library that we want to include to openvswitch. This library uses netlink and the -DCONFIG_LIBNL20 compilation flag. We can compile the library standalone and it works, but when we add it to openvswitch the compilation crashes. The way we add the library to open

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

2014-07-31 Thread Bruce SUN
Hi, I just run "h1 dhclient h1-eht0". The problem is solved, but I don't know the reason. mininet> h2 ping www.sina.com PING wwwus.sina.com (12.130.132.30) 56(84) bytes of data. 64 bytes from 12.130.132.30: icmp_seq=2 ttl=238 time=173 ms 64 bytes from 12.130.132.30: icmp_seq=3 ttl=238 time=167 ms

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

2014-07-31 Thread Bruce SUN
Hi, I have gotten the default route by running dhclient s1. Let me describe my operations. 1. Log in the VirtualBox VM, which has two Ethernet interfaces: eth0 (NAT, ip:10.0.2.15) for accessing the Internet and eth0 (host only, ip: 192.168.56.101) for ssh VM via putty 2. Then run " sudo mn --top

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

2014-07-31 Thread Ben Pfaff
On Thu, Jul 31, 2014 at 02:11:54PM +0100, Bruce SUN wrote: > I run an Openvswith and a controller on the VM. The switch has two ports > connecting two virtual hosts. Eth0 of VM is an interface which can access > the Internet. > I am going to add eth0 (interface to internet) into the openvswitch and

Re: [ovs-discuss] Coverage counter subfacet_install_fail

2014-07-31 Thread Alex Wang
Hey Han, On Thu, Jul 31, 2014 at 1:33 AM, Han Zhou wrote: > Hi Alex, > > We had to upgrade to OVS2.1, and everything looks much better. > The flow miss rate decreased from 20K/sec to 1.5K/sec, which means in > OVS2.0 there was problem of creating datapath flows (indicated by the > counter subfa

Re: [ovs-discuss] Coverage counter subfacet_install_fail

2014-07-31 Thread Alex Wang
Hey Han, Sorry for this delayed reply, Please see my comments inline, On Wed, Jul 30, 2014 at 3:11 AM, Han Zhou wrote: > Hi Alex, > > In our environment this counter subfacet_install_fail increases > quickly about 100/sec. > Could you show me some ovs-vswitchd.log ? there should be warnin

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

2014-07-31 Thread Bruce SUN
Hi, I run an Openvswith and a controller on the VM. The switch has two ports connecting two virtual hosts. Eth0 of VM is an interface which can access the Internet. I am going to add eth0 (interface to internet) into the openvswitch and expect that one virtual host can access the internet as foll

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

2014-07-31 Thread Kristoffer Egefelt
Hi Han, Thanks for your input - much appreciated. I will try and reproduce their results. Regards Kristoffer On 31/07/2014, at 11.23.07, Han Zhou wrote: > Hi Kristoffer, > > Sorry for late response. > > On Tue, Jul 29, 2014 at 4:30 PM, Kristoffer Egefelt > wrote: >> I actually asked them:

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

2014-07-31 Thread Han Zhou
Hi Kristoffer, Sorry for late response. On Tue, Jul 29, 2014 at 4:30 PM, Kristoffer Egefelt wrote: > I actually asked them: > http://lists.opencontrail.org/pipermail/users_lists.opencontrail.org/2014-July/000338.html > > As I understood it, they are able to offload from VM to VM, without > segm

Re: [ovs-discuss] Coverage counter subfacet_install_fail

2014-07-31 Thread Han Zhou
Hi Alex, We had to upgrade to OVS2.1, and everything looks much better. The flow miss rate decreased from 20K/sec to 1.5K/sec, which means in OVS2.0 there was problem of creating datapath flows (indicated by the counter subfacet_install_fail), which then resulted in high miss rate and high OVS cpu