[ovs-discuss] Adding latency/packetloss to OVS

2014-05-13 Thread Andrew Melo
Hello all, I'm wanting to emulate network latency + packetloss between two OVS bridges. My first idea was to pull out a tap from each bridge and route/forward between those two taps and add a "tc qdisc" to each tap (ex below). Is that my best bet for what I'm trying to do? As an addendnum, it doe

Re: [ovs-discuss] best (tunnel?) connection many virtual hosts with vm to each other

2014-05-13 Thread Vasiliy Tolstov
2014-05-14 0:09 GMT+04:00 Jesse Gross : > All of these tunnels are going to perform similarly. ARP suppression > would need to be implemented on any of them using some kind of > controller if that is really the issue. Okay. What about performance and scalability? As i understand in gre i can use

Re: [ovs-discuss] Adding a new OpenFlow action to ovs, ctx->xin->packet is null

2014-05-13 Thread Christian Stigen Larsen
Hi, > Den 11. mai 2014 kl. 04:19 skrev Ben Pfaff : > >> On Sat, May 10, 2014 at 06:11:29PM +0200, Christian Stigen Larsen wrote: >> >> Ben Pfaff : Is do_xlate_actions ("translate actions"?) the wrong place for this kind of stuff? How can I get a pointer to the raw packet data? >>> >>

Re: [ovs-discuss] VXLAN problems

2014-05-13 Thread jcsf31459
Han, Thank you for your work.   It would be useful to have this optimization as a standard option in ovs.   Sent from my BlackBerry 10 smartphone.   Original Message   From: Han Zhou Sent: Wednesday, May 14, 2014 4:30 AM To: Jesse Gross Cc: Yinpeijun; i...@xorops.com; Liangliang (A); discuss@op

Re: [ovs-discuss] open vSwitch and Mac os X

2014-05-13 Thread Murphy McCauley
The fact that you mention using VMware Workstation makes me think that virtualization is acceptable and that you're doing this for testing/experimentation -- and it's the non-open source aspect which is problematic. In which case, you could install Linux (or BSD) and OVS in VirtualBox, which h

Re: [ovs-discuss] VXLAN problems

2014-05-13 Thread Han Zhou
Hi Jesse, On Wed, May 14, 2014 at 5:05 AM, Jesse Gross wrote: > On Tue, May 13, 2014 at 12:20 AM, Zhou, Han wrote: >> In fact, MTU specified by VM doesn't make any sense in a virtualized >> environment. Maybe you can try this patch if you are interested: >> >> http://openvswitch.org/pipermail/de

Re: [ovs-discuss] VXLAN problems

2014-05-13 Thread Jesse Gross
On Tue, May 13, 2014 at 12:20 AM, Zhou, Han wrote: > In fact, MTU specified by VM doesn't make any sense in a virtualized > environment. Maybe you can try this patch if you are interested: > > http://openvswitch.org/pipermail/dev/2014-May/040027.html This message seems to be have been taken by my

Re: [ovs-discuss] Error - build kernel module (openvswitch-2.0.0.tar.gz) on RHEL 7 Beta

2014-05-13 Thread Jesse Gross
On Tue, May 13, 2014 at 1:52 PM, Andrey Korolyov wrote: > On Wed, May 14, 2014 at 12:44 AM, Jesse Gross wrote: >> On Tue, May 13, 2014 at 1:25 PM, Andrey Korolyov wrote: >>> On Wed, May 14, 2014 at 12:19 AM, Jesse Gross wrote: On Tue, May 13, 2014 at 1:58 AM, Andrey Korolyov wrote: >

Re: [ovs-discuss] Error - build kernel module (openvswitch-2.0.0.tar.gz) on RHEL 7 Beta

2014-05-13 Thread Andrey Korolyov
On Wed, May 14, 2014 at 12:44 AM, Jesse Gross wrote: > On Tue, May 13, 2014 at 1:25 PM, Andrey Korolyov wrote: >> On Wed, May 14, 2014 at 12:19 AM, Jesse Gross wrote: >>> On Tue, May 13, 2014 at 1:58 AM, Andrey Korolyov wrote: On Tue, May 13, 2014 at 4:41 AM, Jesse Gross wrote: > On M

Re: [ovs-discuss] Error - build kernel module (openvswitch-2.0.0.tar.gz) on RHEL 7 Beta

2014-05-13 Thread Jesse Gross
On Tue, May 13, 2014 at 1:25 PM, Andrey Korolyov wrote: > On Wed, May 14, 2014 at 12:19 AM, Jesse Gross wrote: >> On Tue, May 13, 2014 at 1:58 AM, Andrey Korolyov wrote: >>> On Tue, May 13, 2014 at 4:41 AM, Jesse Gross wrote: On Mon, May 12, 2014 at 2:04 PM, Andrey Korolyov wrote: > O

Re: [ovs-discuss] Error - build kernel module (openvswitch-2.0.0.tar.gz) on RHEL 7 Beta

2014-05-13 Thread Andrey Korolyov
On Wed, May 14, 2014 at 12:19 AM, Jesse Gross wrote: > On Tue, May 13, 2014 at 1:58 AM, Andrey Korolyov wrote: >> On Tue, May 13, 2014 at 4:41 AM, Jesse Gross wrote: >>> On Mon, May 12, 2014 at 2:04 PM, Andrey Korolyov wrote: On Tue, May 13, 2014 at 12:58 AM, Jesse Gross wrote: > On S

Re: [ovs-discuss] Error - build kernel module (openvswitch-2.0.0.tar.gz) on RHEL 7 Beta

2014-05-13 Thread Jesse Gross
On Tue, May 13, 2014 at 1:58 AM, Andrey Korolyov wrote: > On Tue, May 13, 2014 at 4:41 AM, Jesse Gross wrote: >> On Mon, May 12, 2014 at 2:04 PM, Andrey Korolyov wrote: >>> On Tue, May 13, 2014 at 12:58 AM, Jesse Gross wrote: On Sat, May 10, 2014 at 2:13 PM, Andrey Korolyov wrote: > H

Re: [ovs-discuss] best (tunnel?) connection many virtual hosts with vm to each other

2014-05-13 Thread Jesse Gross
On Tue, May 13, 2014 at 4:51 AM, Vasiliy Tolstov wrote: > Hello. Now i'm use gre tunnels with bfd under multipath tcp kernel. > But i have issues with many arp request goes to each virtual machine. > What is the alternatives to gre tunnels that can provide similar (may > be more) speed ? > As i se

Re: [ovs-discuss] VXLAN problems

2014-05-13 Thread Wes Felter
On 5/13/14, 2:00 AM, Yinpeijun wrote: if needed, we should increase PYH NIC MTU or decrease VM NIC MTU ? Increase the physical NIC MTU to 1550; this will be more compatible since the VMs will be able to use standard 1500 MTU. Be sure the physical switches have jumbo frames enabled. -- Wes

Re: [ovs-discuss] open vSwitch and Mac os X

2014-05-13 Thread Gilbert Standen
It's not listed as a supported platform at openvswitch.org but that doesn't mean someone hadn't done it. The bulk of the code is platform independent C so its likely been done Sent from my BlackBerry Z30 phablet smartphone on the Verizon Wireless 4G LTE network. If you haven't tried the new Bl

Re: [ovs-discuss] Command for Flows Table Dump for vesion 2.1.2

2014-05-13 Thread Justin Pettit
On May 13, 2014 at 5:08:41 AM, Hung Nguyen The (hung...@saobacdau.vn) wrote: > We just upgrade from version 1.4.6 to 2.1.2 on Xenserver, I do see greate > performance > improvement. > But with 2.1.2 I can’t find the command to see current flows in the Flow > Table. > With 1.4.6 I use ovs-dpctl

Re: [ovs-discuss] question about bond

2014-05-13 Thread Justin Pettit
You're not going to do much better than Ben unless you're religious. --Justin On May 13, 2014 at 11:37:15 AM, Cristina Palomo Regidor (cristina.palomo.regi...@ericsson.com) wrote: > Hello, > I would like to ask again in case someone knows something different than Ben > Pfaff: > When you create

Re: [ovs-discuss] open vSwitch and Mac os X

2014-05-13 Thread Justin Pettit
I started a port a few years ago, but never finished.  Since then, support for FreeBSD has been added to OVS.  A lot of the underpinnings of OS X are based on FreeBSD, so I suspect it wouldn't be that difficult to add it if starting from there. --Justin On May 13, 2014 at 10:00:41 AM, ANTONIO

Re: [ovs-discuss] [one-users] virtual network cannot get out

2014-05-13 Thread Neil Schneider
More data points. I ran tcpdump on the host through the entire instantiation of a host and boot up. Although somehow it appeared to get an address from the DHCP server in the network, I saw no dhcp data. I could see arp conversations for other hosts on the network, so I would expect it to see ever

Re: [ovs-discuss] VXLAN problems

2014-05-13 Thread Han Zhou
Hi Yinpeijun, On Tue, 2014-05-13 at 02:13 +, Yinpeijun wrote: > >Date: Thu, 19 Dec 2013 14:45:33 +0100 > >From: Igor Sever > >Subject: Re: [ovs-discuss] VXLAN problems > >To: Jesse Gross > >Cc: "discuss@openvswitch.org" > >Message-ID: > > > >Content-Type: text/plain; charset="iso-8859-1

Re: [ovs-discuss] question about bond

2014-05-13 Thread Cristina Palomo Regidor
Hello, I would like to ask again in case someone knows something different than Ben Pfaff: When you create a bond using the following command: ovs-vsctl add-bond virbr0 bond0 eth4 eth6 What is the port active and what is the port backup? Thanks. -Original Message- From: Ben Pfaff [mai

[ovs-discuss] open vSwitch and Mac os X

2014-05-13 Thread ANTONIOS KOULOURIS
Hello, I rearched a little in the list but couldn't find anything similar. I would like to install open vswitch on my mac os x. First I would like to ask if that it possible at all and second are there any instructions available for me to do so? Sorry if that is so obvious to some of you but I

[ovs-discuss] best (tunnel?) connection many virtual hosts with vm to each other

2014-05-13 Thread Vasiliy Tolstov
Hello. Now i'm use gre tunnels with bfd under multipath tcp kernel. But i have issues with many arp request goes to each virtual machine. What is the alternatives to gre tunnels that can provide similar (may be more) speed ? As i see vxlan and nvgre can provide alternatives, but i can't see does ov

[ovs-discuss] Command for Flows Table Dump for vesion 2.1.2

2014-05-13 Thread Hung Nguyen The
Hi, We just upgrade from version 1.4.6 to 2.1.2 on Xenserver, I do see greate performance improvement. But with 2.1.2 I can’t find the command to see current flows in the Flow Table. With 1.4.6 I use ovs-dpctl dump-flows xapi0. Does anyone know a similar command for 2.1.2 Thanks and Best Regard

Re: [ovs-discuss] Error - build kernel module (openvswitch-2.0.0.tar.gz) on RHEL 7 Beta

2014-05-13 Thread Andrey Korolyov
On Tue, May 13, 2014 at 4:41 AM, Jesse Gross wrote: > On Mon, May 12, 2014 at 2:04 PM, Andrey Korolyov wrote: >> On Tue, May 13, 2014 at 12:58 AM, Jesse Gross wrote: >>> On Sat, May 10, 2014 at 2:13 PM, Andrey Korolyov wrote: Hello, sorry for bringing this old thread on top, but

[ovs-discuss] questions on dl_vlan and vlan_tci

2014-05-13 Thread chen zhang
hi,dear all: i use ryu with ovs and confused by the vlan_tci.when i code as "match = OFPMatch(vlan_vid=1)" and send the flowmod,ovs gives me the entry with match field "vlan_tci=0x000b/0x1fff" and it fails to match the pkts from vlan 1 host. how to make it work? Chen Zhang ___

Re: [ovs-discuss] VXLAN problems

2014-05-13 Thread Yinpeijun
>> >This is due to the tunnel outer header that adds VXLAN + UDP + IP + ETH = >> >50 bytes to the inner packets. When TCP stream is tested between VMs, TCP >> >buffer is segmented to 1500 bytes, but with outer header added, it will be >> >1550 that slightly exceed PHY NIC MTU, and results in an

Re: [ovs-discuss] VXLAN problems

2014-05-13 Thread Zhou, Han
Hi, On Tue, 2014-05-13 at 07:00 +, Yinpeijun wrote: > >> >Subject: Re: [ovs-discuss] VXLAN problems > >> >To: Jesse Gross > >> >Cc: "discuss@openvswitch.org" > >> >Message-ID: > >> > > >> > > >> >Content-Type: text/plain; charset="iso-8859-1" > >> > > >> >I managed to solve this by setti

Re: [ovs-discuss] [one-users] virtual network cannot get out

2014-05-13 Thread Valentin Bud
Hello Neil, Please see in line for answer and additional question that would help us to nail down the problem. On Mon, May 12, 2014 at 9:42 PM, Neil Schneider wrote: > More data points. > > I ran tcpdump on the host through the entire instantiation of a host and > boot up. Although somehow it a

Re: [ovs-discuss] VXLAN problems

2014-05-13 Thread Yinpeijun
>> >Subject: Re: [ovs-discuss] VXLAN problems >> >To: Jesse Gross >> >Cc: "discuss@openvswitch.org" >> >Message-ID: >> > >> > >> >Content-Type: text/plain; charset="iso-8859-1" >> > >> >I managed to solve this by setting VM NIC MTU to 1400, 1450 wasn't enough. >> > >> >Thanks. >> >> Hello ,I