Re: [ovs-discuss] openvswitch.org git access from behind proxy?

2009-11-12 Thread Ben Pfaff
Fischer, Anna anna.fisc...@hp.com writes: Is there any way to connect to your git repository from behind a proxy? Typically, for example with the kernel.org git repositories, I can simply connect via http:// instead of git:// and it works for me, but your repository does not seem to be set

Re: [ovs-discuss] Flow Expiration returning zeros for byte/packet counts

2009-11-12 Thread Ben Pfaff
Jesse Gross je...@nicira.com writes: The easiest thing to do is set the key netflow.bridge.host=host:port to some machine running Wireshark and then tell it to decode that destination port as cflow. I've been wondering lately whether we should add a way to direct netflow traffic directly to

Re: [ovs-discuss] autoconf version issue

2009-11-19 Thread Ben Pfaff
Lee, Jeongkeun jk...@hp.com writes: The boot.sh of the snapshot requires autoconf =2.63 but the official Debian package repository doesn't have the recent versions of autoconf. By a strange coincidence, I am also the Debian maintainer of the 'autoconf' package. I've put a backported Autoconf

Re: [ovs-discuss] Building the Debian package

2010-01-28 Thread Ben Pfaff
On Thu, Jan 28, 2010 at 01:51:34PM -0200, Thiago Camargo Martins Cordeiro wrote: I read the page http://tinyurl.com/ydmeyvf and I manually patched the openvswitch-0.90.7/Makefile.am and openvswitch-0.90.7/extras/ezio/ automake.mk but the issue persist. The patch at that URL won't help unless

Re: [ovs-discuss] Virtual Switch Tagging in open vswitch?

2010-02-23 Thread Ben Pfaff
It did show up on the list; at least, I received your previous mail. On Wed, Feb 24, 2010 at 01:28:03PM +0800, David V. Cloud wrote: ... my previous mail didn't show up on the list.. try to resend. sorry. On Wed, Feb 24, 2010 at 11:54 AM, David V. Cloud david.v.cl...@gmail.comwrote: Hi

Re: [ovs-discuss] config/build errors with 2.6.33

2010-03-23 Thread Ben Pfaff
--cut here--8-- From 0ccd7844bbe9f6014d162c573e796c8c6f3f707b Mon Sep 17 00:00:00 2001 From: Ben Pfaff b...@nicira.com Date: Tue, 23 Mar 2010 09:27:08 -0700 Subject: [PATCH] datapath: Support 2.6.33 kernel layout in build system. The 2.6.33 kernel moves generated header files

Re: [ovs-discuss] Fwd: OVS 0.90.7 build fails on kernel 2.6.31-14-generic

2010-03-23 Thread Ben Pfaff
On Tue, Mar 23, 2010 at 02:05:56PM -0700, Prateek Jain wrote: Thanks for your reply. I tried downloading and building 0.99.2 in the mean time. I tried building for kernel modules, the build was successful, however the loading of kernel module fails with the following error insmod: error

Re: [ovs-discuss] dump-flow doesn't show default flow

2010-03-30 Thread Ben Pfaff
On Tue, Mar 30, 2010 at 09:12:32AM -0400, devang.v...@aol.in wrote: I am using version 0.99.1 of open vswitch on my Xen Server 5.5. ovs-ofctl dump-flow command doesn't show default flow. And also other flows doesn't match with traffic. Are you using a controller? If you are not, then you

Re: [ovs-discuss] flow hash calculation in open vswitch.

2010-04-15 Thread Ben Pfaff
On Thu, Apr 15, 2010 at 03:14:06AM -0400, mandar...@aim.com wrote: what is the significance of using two hash flow tables, kernel space and user space? can you please point out method where the packet verdict ( drop / normal ) is taken after flow match ? The userspace table is more general.

Re: [ovs-discuss] problems about openvswitch

2010-04-19 Thread Ben Pfaff
On Sat, Apr 17, 2010 at 08:44:55AM -0700, Xin Wang wrote: And last time I asked this question, you replied me as follow: You need to move your IP address from eth0 to bri. The switch will take the packets from eth0 before they make it to the IP stack, which is why you have the local port.

Re: [ovs-discuss] ipoib with open vswitch

2010-04-19 Thread Ben Pfaff
On Sat, Apr 17, 2010 at 05:51:20PM +0200, Trygve Sanne Hardersen wrote: On Sat, Apr 17, 2010 at 1:09 AM, Ben Pfaff b...@nicira.com wrote: I don't think that changing ETH_ADDR_LEN will help. Yeah, that's my feeling as well. Do you have any idea how hard it will be to support this? If someone

Re: [ovs-discuss] OVS in Virtualbox

2010-04-19 Thread Ben Pfaff
On Sat, Apr 17, 2010 at 07:12:42PM -0500, Lenin P?rez wrote: Can I install Open vSwitch in Virtualbox?... if so, how can I do that?, is there a step-by-step guide for the installation of OVS in Virtualbox? I have not seen anything about OVS use with Virtualbox, either reporting success or

Re: [ovs-discuss] Openswitch VM to VM traffic switching

2010-05-18 Thread Ben Pfaff
On Tue, May 18, 2010 at 10:39:15PM -0400, Todd Deshane wrote: Maybe it would be useful to have a INSTALL.KVM? It would be the same as INSTALL.Linux, except for at the end, a description of using the custom ifup and ifdown scripts on the kvm command line. I agree that adding an INSTALL.KVM

Re: [ovs-discuss] OvS 1.0.0 Compile error on fedora 13

2010-05-19 Thread Ben Pfaff
I'd prefer to use #include sys/stat.h since it's the standard header for S_ISCHR. On Wed, May 19, 2010 at 08:37:31AM -0700, Justin Pettit wrote: Can you try adding #include linux/stat.h to the top of dpif-linux.c amongst all the other #include linux/... statements? If that fixes the

Re: [ovs-discuss] INSTALL.KVM draft to be included in the Usage Guides

2010-05-20 Thread Ben Pfaff
On Wed, May 19, 2010 at 07:57:51PM -0400, Todd Deshane wrote: Attached is a draft of a KVM usage guide. Feel free to use, modify, and include as desired. That's quite nice. Thank you very much. I pushed this out, crediting you as author:

Re: [ovs-discuss] Openswitch VM to VM traffic switching

2010-05-20 Thread Ben Pfaff
On Wed, May 19, 2010 at 06:52:15PM -0400, Todd Deshane wrote: I have a set of scripts that allow me to move from ovs to bridging easily (I'll post more on these later). Attached are some results. I ran: netpipe-tcp 3.7.1-1 (from the Ubutnu 10.04 package) KVM guest to KVM guest on two

Re: [ovs-discuss] How to set trunk on open vswitch?

2010-05-26 Thread Ben Pfaff
On Wed, May 26, 2010 at 11:38:01AM +0900, ? wrote: How can I set trunk through open vswitch? In Open vSwitch, ports are trunks by default. Only if you configure a port as having a specific vlan does it disable trunk mode. ___ discuss mailing

Re: [ovs-discuss] How to set trunk on open vswitch?

2010-05-26 Thread Ben Pfaff
On Thu, May 27, 2010 at 01:22:15AM +0900, �ſ��� wrote: After I posted original thread, I could find the Port table has information about trunk And the manual(http://openvswitch.org/ovs-vswitchd.conf.db.5.pdf) said, A bridge port must be configured for VLANs in one of two mutually exclusive

Re: [ovs-discuss] Re : Re : Re : Re : OvS 1.0.0 Compile error on fedora 13

2010-05-26 Thread Ben Pfaff
On Wed, May 26, 2010 at 06:59:25AM +, DarkBls wrote: With a bit more thinking, since we have a centralized configuration database, there is no benefit to have the feature of switch stacking over a cascading. But we need the spanning tree to be able to make a redudant topology. It may be

Re: [ovs-discuss] How to make multiple VLANs on one NIC?

2010-05-27 Thread Ben Pfaff
On Thu, May 27, 2010 at 10:45:26PM +0900, �ſ��� wrote: Firstly, I made a real bridge as xenbr2. Then, I made a fake bridge as xenbr2.100 with tagging 100. And I attached eth2 to xenbr2.100 with tagging 100. And I did same thing to another server Then, both server can

Re: [ovs-discuss] How to make multiple VLANs on one NIC?

2010-05-31 Thread Ben Pfaff
On Mon, May 31, 2010 at 3:41 AM, 신용진 akay...@gmail.com wrote: Do I have to set trunks or vlans in physical switch? If you are using VLANs on a physical port connected to a switch, you will probably have to configure that port on the physical switch as a trunk port. Does outgoing packet from

Re: [ovs-discuss] OpenVswitch first try

2010-06-01 Thread Ben Pfaff
On Tue, Jun 01, 2010 at 04:26:14PM +0300, Nikos Bregiannis wrote: I am new to this openvswitch subject and network (still studying) and I'd like to make some questions. First of all i want to make a topology of 3 VM's with the one take the role of the openvswitch. I want the other two to

Re: [ovs-discuss] OpenVswitch first try

2010-06-01 Thread Ben Pfaff
On Tue, Jun 01, 2010 at 08:51:40PM +0300, Nikos Bregiannis wrote: Isn't this the purpose of the openVswitch ? To connect machines in virtual environments? I mean the vswitch deamon should be run in a virtual machine, not in the main host. Am i right ? Yes, a primary purpose of Open vSwitch is

Re: [ovs-discuss] Fail getting started with openvswitch

2010-06-04 Thread Ben Pfaff
On Fri, Jun 04, 2010 at 10:20:07PM +0200, Jean Baptiste FAVRE wrote: As far as I have understood Open vSwitch, my bridges (br-wan and br-lan) will be replaced by another 2 bridges, created and managed by Open vSwitch. But doing that, all I got are kernel panic :-( Can you post the panic

Re: [ovs-discuss] Fail getting started with openvswitch

2010-06-04 Thread Ben Pfaff
On Sat, Jun 05, 2010 at 01:21:32AM +0200, Jean Baptiste FAVRE wrote: Have reproduced the kernel panic booting my server without xend and manually started it. You can find trace in the attachement. I don't see the attachment. Did you include it? If you did, then maybe the mailing list manager

Re: [ovs-discuss] Fail getting started with openvswitch

2010-06-04 Thread Ben Pfaff
On Sat, Jun 05, 2010 at 01:59:46AM +0200, Jean Baptiste FAVRE wrote: In terms of configuration, shall I keep br-wan and br-lan defined into /etc/network/interfaces or have I to move it to Open vSwitch ? The Debian networking scripts don't know anything about Open vSwitch (yet), so having them

Re: [ovs-discuss] Fail getting started with openvswitch

2010-06-04 Thread Ben Pfaff
On Fri, Jun 4, 2010 at 5:18 PM, Jean Baptiste FAVRE openvswi...@jbfavre.org wrote: Ok so I just have to define my bond0 and bond1 interface in /etc/network/interfaces ? Then, I have to setup an IP address to bond0 and bond1 so that I can reach my server. But finally, won't I have issues when

Re: [ovs-discuss] VM traffic shaping

2010-06-09 Thread Ben Pfaff
On Wed, Jun 9, 2010 at 9:38 AM, ahmed amamou ahmed.ama...@hotmail.com wrote: i'am a new open vswitch user i use version 1.0.1 i'am interested in VM traffic shaping but i didn't find any explanation in the documentation on the way to do this if any one have just a link to start from will be

Re: [ovs-discuss] VM traffic shaping

2010-06-10 Thread Ben Pfaff
On Thu, Jun 10, 2010 at 10:23:31AM +0200, ahmed amamou wrote: i'am a new open vswitch user i use version 1.0.1 i'am interested in VM traffic shaping but i didn't find any explanation in the documentation on the way to do this if any one have just a link to start from will be really

Re: [ovs-discuss] find controller using DNS Server-Discovery?

2010-06-18 Thread Ben Pfaff
On Thu, Jun 17, 2010 at 06:18:30PM -0700, Neil McKee wrote: Was DNS Server-Discovery ever considered as a way for an Open VSwitch to find it's controller? We just implemented this for the host-sflow daemon and it seems to work well. The daemon is identical on every server, but you can

Re: [ovs-discuss] Re : Purpose of the configuration database

2010-06-21 Thread Ben Pfaff
On Sat, Jun 19, 2010 at 07:44:56AM +, DarkBls wrote: It's own configuration database, we cannot have a centralized one ? What is the purpose of ptcp:ip:port then ? Just to be able to have several instance of ovs-server on the same physical server ? It makes sense to centrally configure a

Re: [ovs-discuss] Re : Re : OvS 1.0.0 Compile error on fedora 13

2010-06-21 Thread Ben Pfaff
On Mon, Jun 21, 2010 at 01:28:31PM +, DarkBls wrote: I tried ovsdbmonitor but no luck. I have a openvswitch-1.0.1/ovsdb/ovsdbmonitor/ovsdbmonitor.in but no ovsdbmonitor in /usr/local/bin/ ovsdbmonitor has some additional requirements, beyond those required for OVS itself. They are

Re: [ovs-discuss] Re : OVS and KVM: getting persistent UUID's or querying UUID values based on interface name

2010-07-01 Thread Ben Pfaff
On Thu, Jul 01, 2010 at 04:44:52PM -0600, Sean Brady wrote: Hey, I see commit f40a9b6 addressing the UUID issue. Thanks! Are we looking for another release tag anytime soon? Looks like quite a bit of activity and fine tuning in the commit logs. I think we're planning to test QoS and fix any

Re: [ovs-discuss] kernel build dir != kernel src dir

2010-07-02 Thread Ben Pfaff
On Fri, Jul 2, 2010 at 6:05 PM, Jad Naous jna...@gmail.com wrote: 2) The patch is getting rejected. At the risk of sounding like a complete noob: cd openvswitch patch -p1 ../split-linux-src-obj.patch There are two patches. It looks like you tried to apply the second without the first.

Re: [ovs-discuss] Can open vswitch replace libipq?

2010-07-27 Thread Ben Pfaff
On Tue, Jul 27, 2010 at 03:49:03PM -0700, Hardeep Uppal wrote: I am trying to find if Open vSwitch can be used to replace libipq? I am currently using libipq for iptables userspace packet queuing. The performance of libipq is not that great and I was wondering if Open vSwitch can be used for

Re: [ovs-discuss] How to use open vswitch to create vlan?

2010-07-28 Thread Ben Pfaff
On Tue, Jul 27, 2010 at 7:14 PM, wizo wizo...@yahoo.com.cn wrote: I am trying to find out how to use open vswitch to create vlan? In the ovs-vsctl document, I learned that we need to make a fake bridge to create a vlan. And since I use Xen, hoping to achieve the network virtualization. So, I

Re: [ovs-discuss] How to see if the physical host is seeing VLAN tagged packets correctly leaving/arriving on the eth0 interface?

2010-07-29 Thread Ben Pfaff
On Wed, Jul 28, 2010 at 10:24 PM, 陈文龙 qzche...@gmail.com wrote: The physical host is running OvS. ovs-vsctl add-br br0 ovs-vsctl add-port br0 tap1.0 tag=100 How to see if the packet from/to tap1.0 is tagged right? You could use tcpdump on a trunk port, e.g.: tcpdump -pne -i eth0 vlan 100

Re: [ovs-discuss] dividing link througput on VM

2010-07-29 Thread Ben Pfaff
On Thu, Jul 29, 2010 at 2:10 AM, ahmed amamou ahmed.ama...@hotmail.com wrote: i was just wondering if VS has the ability to divide  throughput on VMs Open vSwitch supports QoS, but currently it needs a OpenFlow controller to assign flows to queues, so you would need to add a controller into the

Re: [ovs-discuss] How to create VLAN in the same Physical Machine

2010-08-05 Thread Ben Pfaff
On Thu, Aug 05, 2010 at 02:31:28PM -0700, Dan Wendlandt wrote: The easiest thing to do here is to connect both eth0 and eth1 to the same physical switch (as I mentioned previously, this physical switch must support VLAN forwarding). I don't think that special support for VLANs in the physical

Re: [ovs-discuss] openvswitch_mod load problem

2010-08-09 Thread Ben Pfaff
On Mon, Aug 09, 2010 at 03:50:24PM -0700, Hardeep Uppal wrote: Hi All, r...@ettm:/home/ettm/Desktop/openvswitch-1.0.1# insmod datapath/linux-2.6/openvswitch_mod.ko insmod: error inserting 'datapath/linux-2.6/openvswitch_mod.ko': -1 Address already in use I checked all the kernel modules

Re: [ovs-discuss] openflow version incompatible with nox?

2010-08-10 Thread Ben Pfaff
On Tue, Aug 10, 2010 at 6:59 PM, 陈文龙 qzche...@gmail.com wrote: OVS runs in Dom0. NOX runs in DomU. 1|openflow|WARN:stream: version negotiation failed: we support versions 0x97 to 0x97 inclusive but peer supports no later than version 0x01 2|nox|WARN:Error sending features request:

Re: [ovs-discuss] openflow version incompatible with nox?

2010-08-10 Thread Ben Pfaff
2010/8/10 陈文龙 qzche...@gmail.com: OVS says it support version 0x97, but peer(NOX) supports no latter than version 0x01. You said that before. It's still wrong. Open vSwitch 1.0.1 supports OpenFlow 1.0 (0x01). It doesn't support version 0x97. ___

Re: [ovs-discuss] Which ports belong to which VLANs?

2010-08-11 Thread Ben Pfaff
On Wed, Aug 11, 2010 at 7:56 AM, Julien GUAY julien.g...@etu.univ-nantes.fr wrote: I would like to know if there is a way to see which VLAN a port belongs to? If you set the tag on the port: ovs-vsctl get Port portname tag If you set the tag on the bridge: ovs-vsctl br-to-vlan bridge

Re: [ovs-discuss] ovsdbmonitor error: remote command failed (rc=127)

2010-08-13 Thread Ben Pfaff
On Fri, Aug 13, 2010 at 5:44 AM, 陈文龙 qzche...@gmail.com wrote: Host1 running OVS IP:10.1.132.54 Host2 run ovsdbmonitor Host name or IP : 10.1.132.54 SSH Password : ** Connect target: unix:/var/run/openvswitch/db.sock ovsdbmonitor assumes that ovsdb-client is in /usr/bin on the remote

Re: [ovs-discuss] Problem with VLAN

2010-08-16 Thread Ben Pfaff
On Mon, Aug 16, 2010 at 6:11 AM, Julien GUAY julien.g...@etu.univ-nantes.fr wrote: I have one VM which tap (tag=1) is connected on a bridge br0 on the dom0. eth0 is connected on br0 and has no tag. I understood that eth0 was supposed to be a trunk but it listens only if I set its tag to 1. Is

Re: [ovs-discuss] OpenvSwitch - create virtual port on switch - virtual interface on Debian - help

2010-08-20 Thread Ben Pfaff
On Fri, Aug 20, 2010 at 09:20:45PM +0200, Admin HRD.pl wrote: This is not working. I send ping 193.XX.34.31 response is from eth0 not eth1 or br0 Are you just confused about the Linux networking model? In Linux an IP address is associated with the host, not with the individual network card.

Re: [ovs-discuss] pvid-like functionnality

2010-08-23 Thread Ben Pfaff
On Mon, Aug 23, 2010 at 2:41 AM, Madko madk...@gmail.com wrote: We are using openvswitch vith kvm virtual machines. Everything is working fine, but we need to simulate pvid on the switch. We set the port trunks to be part of vlan 0, making untagged frames acepted. But we need those untagged

Re: [ovs-discuss] pvid-like functionnality

2010-08-23 Thread Ben Pfaff
On Mon, Aug 23, 2010 at 09:48:24PM +0200, Madko wrote: My VM has a nic, eth0, which is used to boot via PXE. This boot process can't use VLAN. So I can use a tag on the port on which eth0 is linked? The same tag will be set on the port of the boot server. Therefor this two port will be allowed

Re: [ovs-discuss] ovs-dpctl dump-flows vs. ovs-ofctl dump-flows

2010-08-25 Thread Ben Pfaff
On Wed, Aug 25, 2010 at 09:27:40AM +0100, Richard Mortier wrote: this may be a FAQ in which case i apologise (i have done some googling but couldn't find an answer). here goes: what's the difference between ovs-ofctl dump-flows dp0 and ovs-dpctl dump-flows dp0? ...where dp0 is a datapath

Re: [ovs-discuss] Problems with SPAN

2010-08-25 Thread Ben Pfaff
On Tue, Aug 24, 2010 at 01:28:58PM +0200, Michael Stegk wrote: I have installed the openvswitch kernelmodule on debian with xen . I have Problems setting up a mirror Port on OpenvSwitch. Here is what i try: $ovs-vsctl list port ... _uuid :

Re: [ovs-discuss] OpenvSwitch 1.0.1 on XenServer 5.6 with Bonding

2010-08-25 Thread Ben Pfaff
On Wed, Aug 25, 2010 at 01:03:16PM -0700, Ben Pfaff wrote: On Wed, Aug 25, 2010 at 02:53:05PM -0300, Luiz Henrique Ozaki wrote: I'm trying to create a bond interface with OpenvSwitch in a XenServer 5.6 and I'm getting a high load CPU for the ovs-vswitchd, but It's working apparently. Hi

Re: [ovs-discuss] OpenvSwitch 1.0.1 on XenServer 5.6 with Bonding

2010-08-25 Thread Ben Pfaff
On Wed, Aug 25, 2010 at 05:59:35PM -0300, Luiz Henrique Ozaki wrote: May 16 21:56:39|14629|poll_loop|DBG|0-ms timeout: 0x805bac1(bridge_wait) 0x8063da9(main) 0xb7470e9c Thanks. It's definitely part of the bridge code then. What does ovs-appctl bond/show bondname, with bondname replaced by the

Re: [ovs-discuss] OpenvSwitch 1.0.1 on XenServer 5.6 with Bonding

2010-08-25 Thread Ben Pfaff
, with or without /proc/net/bonding Changed for the original init again. On Wed, Aug 25, 2010 at 6:04 PM, Ben Pfaff b...@nicira.com wrote: On Wed, Aug 25, 2010 at 05:59:35PM -0300, Luiz Henrique Ozaki wrote: May 16 21:56:39|14629|poll_loop|DBG|0-ms timeout: 0x805bac1(bridge_wait) 0x8063da9

Re: [ovs-discuss] OpenvSwitch 1.0.1 on XenServer 5.6 with Bonding

2010-08-26 Thread Ben Pfaff
this high CPU. If you need more debuging and testing, be my guest. Regards, On Wed, Aug 25, 2010 at 7:43 PM, Ben Pfaff b...@nicira.com wrote: There's nothing unusual there. Hmm. If you're willing to try some experiments, maybe we can learn more. First, try

Re: [ovs-discuss] Building Openvswitch 1.0.1 debian package errors

2010-08-26 Thread Ben Pfaff
On Thu, Aug 26, 2010 at 12:40:15PM +0100, Andy Edmonds wrote: I've tried to build the debian package for openswitch 1.0.1 using the command: a...@slug:~/Source/openvswitch-1.0.1$ dpkg-buildpackage -rfakeroot -uc -us The command succeeds in building and running all tests but it is after

Re: [ovs-discuss] Residual IP/ARP entry after a VM is powered off - OVS passing unwanted pkts

2010-09-01 Thread Ben Pfaff
I only read your original message quickly, but if I understand it properly, it sounds to me like OVS is behaving in more or less the same way as a Ethernet switch would ordinarily behave. If I understand your setup, initially you have a VM with a particular MAC address on some host. Then you

Re: [ovs-discuss] Residual IP/ARP entry after a VM is powered off - OVS passing unwanted pkts

2010-09-02 Thread Ben Pfaff
On Thu, Sep 2, 2010 at 8:19 AM, Luiz Henrique Ozaki luiz.oz...@gmail.com wrote: Unwanted packets received by the VMs seems not a good idea... If you have a controller, it can prevent this from happening. We have thought about adding a similar feature to Open vSwitch itself, but general-purpose

Re: [ovs-discuss] Residual IP/ARP entry after a VM is powered off - OVS passing unwanted pkts

2010-09-02 Thread Ben Pfaff
On Thu, Sep 02, 2010 at 06:38:52PM -0300, Luiz Henrique Ozaki wrote: Some MAC into switch A is comunicating with a MAC in switch B, when MAC at switch B is shutdown, the switch will send that packets to all ports in switch B and if the switch C is connected to switch B, the packets will go

Re: [ovs-discuss] help installing Open vSwitch

2010-09-03 Thread Ben Pfaff
On Fri, Sep 3, 2010 at 3:00 PM, Ashish Agarwal agarwal1...@gmail.com wrote: I'm trying to install Open vSwitch for the first time. It appears that datapath/linux-2.6/openvswitch_mod.ko never gets built for me, although I do not see any error messages in make's output. I did use the --with-l26

Re: [ovs-discuss] [Open vSwitch 1.1.0-pre1] ovs-vsctl hangs with ovs-vsctl set-controller bridge tcp:ip

2010-09-07 Thread Ben Pfaff
. thanks Vishal On Wed, Sep 8, 2010 at 9:25 AM, Ben Pfaff b...@nicira.com wrote: On Tue, Sep 7, 2010 at 8:37 PM, Vishal Swarankar vishal.swarn...@gmail.com wrote: I have tried this multiple time with Open vSwitch 1.1.0-pre1 (Sep 01/10 release). Steps to repro: 1) follow INSTALL.LINUX

Re: [ovs-discuss] Questions on ovs-controller

2010-09-09 Thread Ben Pfaff
On Thu, Sep 09, 2010 at 11:29:06AM +0530, Vishal Swarankar wrote: I am using ovs-controller as a replacement of basic NOX. This is probably a mistake. I want to know the capabilities of ovs-controller as a NOX. Hardly any at all. I have setup a flow rule

Re: [ovs-discuss] Bonding problems with redundant physical switching

2010-09-10 Thread Ben Pfaff
On Fri, Sep 10, 2010 at 09:23:30PM +0200, Christian Fischer wrote: I try to get nic bonds working with OpenvSwitch-0.99.2 (XCP-0.5.0). Due to missing xcp administration documentation I've started with the XenServer-5.6 administration guide. There is stated that SLB bonding is an

Re: [ovs-discuss] Questions about Open vSwitch QoS

2010-09-15 Thread Ben Pfaff
On Tue, Sep 14, 2010 at 9:41 PM, Henrique Rodrigues henriquesil...@gmail.com wrote: Hi, I have been studying OVS and I have some questions about its QoS. I installed the Open vSwitch 1.1.0pre1 on a Xen machine hosting a single VM. I followed the QoS Cookbook entry to limit the VM rate to

Re: [ovs-discuss] Bonding problems with redundant physical switching

2010-09-15 Thread Ben Pfaff
On Wed, Sep 15, 2010 at 12:17 AM, Christian Fischer christian.fisc...@easterngraphics.com wrote: You sad that I can use OVS with Linux bonding, how is that to do? Simply loading the bonding kernel module causes segmentation fault, in my case. Can/Must I compile OVS with linux bonding support?

Re: [ovs-discuss] Bonding problems with redundant physical switching

2010-09-15 Thread Ben Pfaff
On Wed, Sep 15, 2010 at 04:39:50PM +, Jesse Gross wrote: On Wed, Sep 15, 2010 at 4:29 PM, Ben Pfaff b...@nicira.com wrote: On Wed, Sep 15, 2010 at 12:17 AM, Christian Fischer christian.fisc...@easterngraphics.com wrote: You sad that I can use OVS with Linux bonding, how is that to do

Re: [ovs-discuss] Bonding problems with redundant physical switching

2010-09-15 Thread Ben Pfaff
On Wed, Sep 15, 2010 at 10:37:13PM +, Jesse Gross wrote: On Wed, Sep 15, 2010 at 4:47 PM, Ben Pfaff b...@nicira.com wrote: I was under the impression that those corner cases were problems specific to the type of bonding that OVS already implements; that is, bonding where the first-hop

Re: [ovs-discuss] Bonding problems with redundant physical switching

2010-09-16 Thread Ben Pfaff
On Thu, Sep 16, 2010 at 08:52:39AM +0200, Christian Fischer wrote: Do you have access to the openvswitch-xcp.spec? If yes, can I get it please to verify if there are more changes like path fixes? I don't have any privileged access to anything from XCP. I guess that this should be in a public

Re: [ovs-discuss] Training Materials

2010-09-16 Thread Ben Pfaff
On Thu, Sep 16, 2010 at 10:54:12AM -0400, Todd Deshane wrote: As part of our Xen training session this year at USENIX LISA we want to include some slides on Open vSwitch. I was just wondering if there are any slides already available that we could work from or if we need to create slides from

Re: [ovs-discuss] Problem during openvswitch installation

2010-09-17 Thread Ben Pfaff
On Fri, Sep 17, 2010 at 1:34 AM, Gnep Zhao jass.z...@gmail.com wrote: configure: WARNING: unrecognized options: --with-126 Well, there's your problem (why didn't you mention this warning before?). It's l as in linux, not 1 as in one. ___ discuss

Re: [ovs-discuss] using Open vSwitch in VirtualBox for security training

2010-09-17 Thread Ben Pfaff
On Fri, Sep 17, 2010 at 05:34:02PM +0100, Robin Wood wrote: I'm a security researcher and I want to do some work on sniffing traffic in VLANs and playing with VLAN hopping. Is it possible to setup Open vSwitch in a way that I could do all this in a VirtualBox environment? The kind of things

Re: [ovs-discuss] using Open vSwitch in VirtualBox for security training

2010-09-17 Thread Ben Pfaff
On Fri, Sep 17, 2010 at 05:53:42PM +0100, Robin Wood wrote: On 17 September 2010 17:37, Ben Pfaff b...@nicira.com wrote: On Fri, Sep 17, 2010 at 05:34:02PM +0100, Robin Wood wrote: * put my on a specific VLAN then see if I can get on to others, i.e. getting on the voice VLAN and hopping

Re: [ovs-discuss] Help Connecting Switch to VMs

2010-10-05 Thread Ben Pfaff
On Tue, Oct 05, 2010 at 02:57:06PM +0900, Derek Cormier wrote: I am trying to set up an Open vSwitch configuration where OVS is installed on a virtual machine and other virtual machines connect to it. I am using Virtual Box. Because I have only begun to study networking, this is naturally

Re: [ovs-discuss] Help Connecting Switch to VMs

2010-10-06 Thread Ben Pfaff
On Wed, Oct 06, 2010 at 05:23:02PM +0900, Derek Cormier wrote: I tried installing the Linux bridging support, but when I enter the following command, insmod datapath/linux-2.6/brcompat_mod.ko ... I get the following error. insmod: error inserting

Re: [ovs-discuss] Getting OpenFlow Set Up

2010-10-13 Thread Ben Pfaff
On Thu, Oct 14, 2010 at 10:02:14AM +0900, Derek Cormier wrote: I created my virtual bridge vbr0 using ovs-vsctl while ovs-vswitchd was running. I now want to use ovs-openflowd instead. Why? However, it seems I cannot form a connection between ovs-controller and ovs-openflowd unless I do an

Re: [ovs-discuss] Getting OpenFlow Set Up

2010-10-13 Thread Ben Pfaff
On Thu, Oct 14, 2010 at 11:46:20AM +0900, Derek Cormier wrote: Hmm it seems I was wrong. I was able to get ovs-openflowd running just using a datapath with no virtual bridge involved. I thought this was necessary... When is it necessary, when you are using ovs-vswithd? It is never necessary

Re: [ovs-discuss] Getting OpenFlow Set Up

2010-10-18 Thread Ben Pfaff
On Mon, Oct 18, 2010 at 08:44:14AM -0200, Henrique Rodrigues wrote: Hi Justin On Sun, Oct 17, 2010 at 10:36 PM, Justin Pettit jpet...@nicira.com wrote: On Oct 17, 2010, at 5:28 PM, Derek Cormier wrote: When you add ports to a virtual bridge, should you still be able to ping them?

Re: [ovs-discuss] Datapath loop

2010-10-20 Thread Ben Pfaff
On Wed, Oct 20, 2010 at 12:21:07PM -0200, Henrique Rodrigues wrote: I've been studying the Open vSwitch code and I couldn't understand what the datapath loop means... I noticed the comment before the struct loop_counter declaration (*We limit the number of times that we pass into

Re: [ovs-discuss] question of the installation of open vswitch

2010-10-31 Thread Ben Pfaff
On Sun, Oct 31, 2010 at 2:59 AM, Cain NG cain.n...@gmail.com wrote: My current Linux distribution is Centos 5.4 (kernel: 2.6.18-164.e15xen). I would like to ask about what's the different if I do the command ./configure --with-126=/lib/modules/`uname -r`/build(build kernel module) and just

Re: [ovs-discuss] Could change default VLAN ID of bridge?

2010-11-04 Thread Ben Pfaff
On Thu, Nov 4, 2010 at 2:13 AM, Jen-Wei Hu jenwe...@gmail.com wrote: 1. If we want to change the default VLAN ID (VLAN 0) on br0, is it possible? That is, could we tag VLAN 1 on br0? 2. Could we tag multiple VLAN ID on br0? You can put ports on tagged VLANs by setting their tag values:

Re: [ovs-discuss] Enquire: Checking status of VLAN Tag

2010-11-09 Thread Ben Pfaff
On Wed, Nov 10, 2010 at 12:29:47AM +0800, Kai Yin Leung wrote: May I know how to check the VLAN tag's value, after perform the following commands? ovs-vsctl add-port br0 vif1.0 tag=1 ovs-vsctl add-port br0 vif2.0 tag=2 ovs-vsctl get port vif1.0 tag ovs-vsctl get port vif2.0 tag

Re: [ovs-discuss] Xen Live Migration + Open vSwitch

2010-11-12 Thread Ben Pfaff
On Fri, Nov 12, 2010 at 7:26 AM, Henrique Rodrigues henriquesil...@gmail.com wrote: Correction: I haven't being able to create a new virtual machine when using Open vSwitch. Well, the usual questions are: what did you do, what happened, and what did you expect to happen instead? Perhaps we can

Re: [ovs-discuss] ovs-vswitchd polling frequency

2010-11-15 Thread Ben Pfaff
On Sun, Nov 14, 2010 at 11:15:02PM -0800, Henrique Rodrigues wrote: What is the ovs-vswitchd polling frequency? I couldn't figure it out just reading the code. There is no polling frequency. The wait calls that you see register with the main loop to wake up when something interesting happens.

Re: [ovs-discuss] How can I assign fixed datapath ID in openVswitch

2010-11-18 Thread Ben Pfaff
On Thu, Nov 18, 2010 at 11:49:07PM +0530, sachin sharma wrote: I am using openvswitch-1.1.0pre2.tar.gz. I am interested to assign fixed datapath id to my switch. I found through openvswitch code that it could be MAC address of a local port; if local port has some MAC address, otherwise it

Re: [ovs-discuss] Question about ovs log

2010-11-22 Thread Ben Pfaff
On Mon, Nov 22, 2010 at 7:37 AM, Cain NG cain.n...@gmail.com wrote: does it has any kind of log about the connection error of the vif in ovs? OVS has several logs. If you are using the Debian or XenServer packaging, then they are in /var/log/openvswitch. If you can describe the problem that

Re: [ovs-discuss] Question about ovs log

2010-11-23 Thread Ben Pfaff
On Tue, Nov 23, 2010 at 1:47 AM, Cain NG cain.n...@gmail.com wrote: OK, when I use netperf to perform a testing about the throughput of OVS in a virtual switching network, I found that the client cannot receive some of the package (it returns somethings like cannot get server respond). I would

Re: [ovs-discuss] openvswitch as openflow switch

2010-11-24 Thread Ben Pfaff
On Wed, Nov 24, 2010 at 07:26:50PM +, Haris Rotsos wrote: I have a question related to openvswitch and it's functionality as an openflow switch. I am currently setting up the switch as follows: insmod openvswitch/datapath/linux-2.6/openvswitch_mod.ko insmod

Re: [ovs-discuss] openvswitch as openflow switch

2010-11-24 Thread Ben Pfaff
between the 2 interfaces. I am only interested to reach the computer hosting the switch. In order to do that, do I need to setup a flow ? On 24 November 2010 20:10, Ben Pfaff b...@nicira.com wrote: On Wed, Nov 24, 2010 at 07:26:50PM +, Haris Rotsos wrote: I have a question related

Re: [ovs-discuss] openvswitch (Ubuntu) bug

2010-11-24 Thread Ben Pfaff
be part of configure.ac. Thank you for the report. It looks like Open vSwitch just needs to use pkg-config to check for openssl instead of libssl. Here's a patch, does it fix it? Thanks, Ben. --8--cut here--8-- From: Ben Pfaff b...@nicira.com

Re: [ovs-discuss] openvswitch (Ubuntu) bug

2010-11-24 Thread Ben Pfaff
On Wed, Nov 24, 2010 at 5:25 PM, Dave Walker davewal...@ubuntu.com wrote: Ooo, well caught.  I can confirm this fixes the issue on both Ubuntu Natty (11.04), and the current Debian Sid package (1.1.0~pre2-5) does still build.  I'm not sure it warrants another upload to Ubuntu for the same net

Re: [ovs-discuss] [Solved][Bug] flow deletion before transmission end - transmission stalled

2010-11-27 Thread Ben Pfaff
I'm glad that you were to avoid to solve the problem. Was the problem and solution anything worth documenting so that we could help others to avoid this problem in the future? Thanks, Ben. On Sat, Nov 27, 2010 at 11:36 AM, Christian Fischer christian.fisc...@easterngraphics.com wrote: I had a

Re: [ovs-discuss] Question about ovs log

2010-11-29 Thread Ben Pfaff
On Fri, Nov 26, 2010 at 10:06:42PM +0800, Cain NG wrote: i had setup a testing environment that has a client VM1 and server VM2. The test between VM1 and VM2 is that VM1 will send an amount of packet (eg: 10, 20, 30... and so on) to VM2 in some different network socket (eg: TCP stream, UDP

Re: [ovs-discuss] openvswitch (Ubuntu) bug

2010-11-29 Thread Ben Pfaff
On Thu, Nov 25, 2010 at 01:25:22AM +, Dave Walker wrote: On 24/11/10 20:25, Ben Pfaff wrote: It looks like Open vSwitch just needs to use pkg-config to check for openssl instead of libssl. Here's a patch, does it fix it? Ooo, well caught. I can confirm this fixes the issue on both

Re: [ovs-discuss] [Solved][Bug] flow deletion before transmission end - transmission stalled

2010-11-30 Thread Ben Pfaff
On Tue, Nov 30, 2010 at 09:18:43AM +0100, Christian Fischer wrote: On Saturday 27 November 2010 23:52:20 Ben Pfaff wrote: Was the problem and solution anything worth documenting so that we could help others to avoid this problem in the future? the problem was self made. Having the same

Re: [ovs-discuss] [Solved][Bug] flow deletion before transmission end - transmission stalled

2010-11-30 Thread Ben Pfaff
On Tue, Nov 30, 2010 at 12:12:16PM -0800, Justin Pettit wrote: On Nov 30, 2010, at 11:50 AM, Christian Fischer wrote: On Tuesday 30 November 2010 20:38:54 Christian Fischer wrote: On Tuesday 30 November 2010 19:28:07 Ben Pfaff wrote: On Tue, Nov 30, 2010 at 09:18:43AM +0100, Christian

Re: [ovs-discuss] Regarding OpenvSwitch in Xenserver5.6

2010-12-03 Thread Ben Pfaff
On Fri, Dec 3, 2010 at 2:42 AM, Ramana Reddy gtvrre...@gmail.com wrote: 1.  As I know, for each PIF ( Physical interface), a corresponding bridge is created in Dom0. Where this bridge resides. Is it inside the Openvswitch. Yes. 2. If two or more bridges are created respectively for PIF1

Re: [ovs-discuss] Regarding OpenvSwitch in Xenserver5.6

2010-12-03 Thread Ben Pfaff
On Fri, Dec 03, 2010 at 10:43:32PM +0530, Ramana Reddy wrote: Hi Ben Pfaff, Thanks for reply. I have one more doubt regarding Openvswitch modules namely br_compat.ko and openvswitch_mod.ko The linux bridge code in Xenserver creates bridges for each PIF, and openvswicth_mod.ko also creates

Re: [ovs-discuss] OpenVSwitch Port mirroring

2010-12-06 Thread Ben Pfaff
On Mon, Dec 6, 2010 at 8:36 AM, Jesse Gross je...@nicira.com wrote: Sorry, this was a problem that was caused by a checkin late on Friday in the in the 32/64 bit compatibility layer.  I've pushed a fix now, so please see if it works for you. Thanks for taking care of that, Jesse. I was aware

Re: [ovs-discuss] How to create a public bridge in openVswitch for KVM virtual instances?

2010-12-07 Thread Ben Pfaff
On Tue, Dec 07, 2010 at 02:45:01PM +0800, Yueyu Lin wrote: From the document INSTALL.KVM, I can install a virtual machine. In the VM, I can find the device by lshw and since the br0 doesn't actually connect to the real network, the eth1 can't be set a real address and access network. From the

Re: [ovs-discuss] ubuntu openvswitch gre interface

2010-12-09 Thread Ben Pfaff
On Thu, Dec 09, 2010 at 09:07:38PM +0800, CS Lee wrote: Has anyone tried to create gre interface using openvswitch on Ubuntu, I have followed the instruction here - http://www.mail-archive.com/discuss@openvswitch.org/msg00356.html There's a simpler way: ovs-vsctl add-port br0 gre -- set

Re: [ovs-discuss] How vswitchd connects to open flow controller

2010-12-09 Thread Ben Pfaff
On Thu, Dec 9, 2010 at 9:36 PM, frank fr...@cloud.com wrote:    I don't see parameter to specify IP/Port of openflow controller for vswitchd connect in, How vswitchd find controller? auto discovery?    by    ovs-vswitchd ofproto/list ofproto/list is an ovs-appctl command, not an ovs-vswitchd

  1   2   3   4   5   6   7   8   9   10   >