[ovs-discuss] Question on ovs 1.11.0 megaflow

2013-10-18 Thread Jian Qiu
Hi, Previously, we used ovs 1.4.x and found ovs-vswitchd dropping logs. Then we upgraded to ovs 1.11.0 as suggested on this mailing list. We did observe drop of the CPU utilization on host. However, we still randomly found ovs-vswitchd dropping logs. Some ovs logs are pasted below. I have two q

Re: [ovs-discuss] communication among VMs in multiple physical hosts

2013-10-18 Thread Nan
sure, I will try that Thank you very much -- Nan On Friday, 18 October, 2013 at 8:08 PM, Alex Wang wrote: > Yes, you can try ping from the two vms. and the ping should work with this > setup, > > > On Fri, Oct 18, 2013 at 4:42 PM, Nan (mailto:codingcat...@gmail.com)> wrote: > > Ah, tha

Re: [ovs-discuss] communication among VMs in multiple physical hosts

2013-10-18 Thread Alex Wang
Yes, you can try ping from the two vms. and the ping should work with this setup, On Fri, Oct 18, 2013 at 4:42 PM, Nan wrote: > Ah, thanks, Alex > > if I want the VMs on host 1 and host 2 to be able to communicate with each > other, > > I still need the tunnel? > > -- > Nan > > On Friday, 18 O

Re: [ovs-discuss] communication among VMs in multiple physical hosts

2013-10-18 Thread Nan
Ah, thanks, Alex if I want the VMs on host 1 and host 2 to be able to communicate with each other, I still need the tunnel? -- Nan On Friday, 18 October, 2013 at 7:15 PM, Alex Wang wrote: > Well, as the FAQ says, > > """ > A physical Ethernet device that is part of an Open vSwitch bridg

Re: [ovs-discuss] bug in flow expired??

2013-10-18 Thread Ben Pfaff
On Fri, Oct 18, 2013 at 12:45:08PM +0100, John Hurley wrote: > When I send a flow mod message to OVS with a hard timeout and flags set to > request a flow removed message the controller is receiving two messages > when the time passes. > > The reason field in the first of these messages is set to

Re: [ovs-discuss] communication among VMs in multiple physical hosts

2013-10-18 Thread Alex Wang
Well, as the FAQ says, """ A physical Ethernet device that is part of an Open vSwitch bridge should not have an IP address. If one does, then that IP address will not be fully functional. """ The eth1 on br0 still has address "192.168.2.1". If you still want eth0 on br0 and eth1 having address

Re: [ovs-discuss] communication among VMs in multiple physical hosts

2013-10-18 Thread Nan
Hi, Alex, I'm sorry for the in accurate description When I say host, I actually mean VMs in the physical host where the VMs run, here is the ovs-vsctl output zhunan@zhunan-PowerEdge-R210-II:~$ sudo ovs-vsctl show [sudo] password for zhunan: 01db97ba-8174-40f6-9648-f8f14a317e2b Bridge "br0

Re: [ovs-discuss] communication among VMs in multiple physical hosts

2013-10-18 Thread Alex Wang
Hey Nan, Could you explain more the following points? But my problem is that I can add ports to br0 while keeping connection > works, I cannot make bridge to forward the packet to the correct place > > like in the bridge I have 4 ports, eth0 to 192.168.55.1, eth1 to > 192.168.2.2 > > eth3, eth4 a

Re: [ovs-discuss] communication among VMs in multiple physical hosts

2013-10-18 Thread Nan
Hi, Alex, Thank you for the reply, But my problem is that I can add ports to br0 while keeping connection works, I cannot make bridge to forward the packet to the correct place like in the bridge I have 4 ports, eth0 to 192.168.55.1, eth1 to 192.168.2.2 eth3, eth4 are connecting to the hosts

Re: [ovs-discuss] communication among VMs in multiple physical hosts

2013-10-18 Thread Alex Wang
Hey, >From FAQ: """ Q: I created a bridge and added my Ethernet port to it, using commands like these: ovs-vsctl add-br br0 ovs-vsctl add-port br0 eth0 and as soon as I ran the "add-port" command I lost all connectivity through eth0. Help! A: A physical Ethernet device

Re: [ovs-discuss] communication among VMs in multiple physical hosts

2013-10-18 Thread Nan
through traceroute, I saw that the packet was forwarded to the gateway of internet connection what should I do to enforce the bridge forward all packets target to 192.168.2.* to eth1? Best, -- Nan On Friday, 18 October, 2013 at 5:05 PM, Nan wrote: > Hi, all > > I'm new to openv

[ovs-discuss] communication among VMs in multiple physical hosts

2013-10-18 Thread Nan
Hi, all I'm new to openvswitch, I have two hosts, the setup looks like host 1: eth0 -> internet , eth1 (192.168.2.1) -> host 2's eth0 (192.168.2.2) host 2: eth0 (192.168.2.2) -> host1's eth1 (192.168.2.1), eth1 -> internet I choose KVM as the virtualization platform, and start two VMs in

Re: [ovs-discuss] Does the OVS support ?write action? instruction in Flow-mod Messages?

2013-10-18 Thread Ben Pfaff
No. On Sat, Oct 19, 2013 at 01:48:01AM +0800, ?? wrote: > Thanks for your reply. Do you mean the version 2.09? > 2013-10-19 1:13?? "Ben Pfaff" ?? > > > On Fri, Oct 18, 2013 at 05:17:57PM +0800, ? wrote: > > > I constructed a Flow-mod message with only one 'write action' > > in

Re: [ovs-discuss] Does the OVS support ?write action? instruction in Flow-mod Messages?

2013-10-18 Thread 姚姜源
Thanks for your reply. Do you mean the version 2.09? 2013-10-19 上午1:13于 "Ben Pfaff" 写道: > On Fri, Oct 18, 2013 at 05:17:57PM +0800, ? wrote: > > I constructed a Flow-mod message with only one 'write action' > instruction, > > output to controller, and sent it to the OVS. But I got a error

Re: [ovs-discuss] Need help with OpenvSwitch setup on Physical Nodes

2013-10-18 Thread Seetharam, Sripriya (MU-Student)
Hello Gurucharan, Thank you for your reply. Yes without the controller, I'm able to ping both nodes on br0. I'll create the virtual interface on br0. Currently I have set the private ip on br0 of the VLAN 1751 eth2.1751 interface. I'll move the private ip to the virtual interface and configur

Re: [ovs-discuss] Does the OVS support ?write action? instruction in Flow-mod Messages?

2013-10-18 Thread Ben Pfaff
On Fri, Oct 18, 2013 at 05:17:57PM +0800, ? wrote: > I constructed a Flow-mod message with only one 'write action' instruction, > output to controller, and sent it to the OVS. But I got a error message > with 'unsupported instruction'. > Does the OVS support ?write action? instruction in Fl

Re: [ovs-discuss] Need help with OpenvSwitch setup on Physical Nodes

2013-10-18 Thread Gurucharan Shetty
On Thu, Oct 17, 2013 at 4:24 PM, Seetharam, Sripriya (MU-Student) < ss...@mail.missouri.edu> wrote: > Hello All, > > ** ** > > I need help with the following use case of two bare metal nodes running > OpenvSwitch on them and connected on a Layer 2 VLAN. I have OpenDaylight > controller runnin

Re: [ovs-discuss] Need help with OpenvSwitch setup on Physical Nodes

2013-10-18 Thread Seetharam, Sripriya (MU-Student)
Hi, My mail may have been missed out. Resending again.. Can someone please help me with the below use case? Can OvS work with physical nodes. If yes how do we switch from the virtual to physical interface on baremetal nodes. Or connecting the hardware OpenFlow switches to the physical nodes is

Re: [ovs-discuss] unable to delete default flow generation........

2013-10-18 Thread Justin Pettit
I don't think you want "--strict", since you are telling it to delete all flows with no matches specified at priority 0. --Justin On Oct 18, 2013, at 3:46 AM, "Joe Tynan" wrote: > I want to remove default flows from OVS > > user1@switch1:~$ uname -a > Linux switch1 3.8.0-19-generic #29-Ubun

Re: [ovs-discuss] unable to delete default flow generation........

2013-10-18 Thread Andrei Andone
Hello Joe, I have one question: what is this controller? Bridge "labBR1" Controller "tcp:192.168.137.60:6633" is_connected: true Is it an Openflow controller? My guess is that the traffic on you "switch1" generates packet-in messages and those get sent to the controller which

[ovs-discuss] bug in flow expired??

2013-10-18 Thread John Hurley
Hi, When I send a flow mod message to OVS with a hard timeout and flags set to request a flow removed message the controller is receiving two messages when the time passes. The reason field in the first of these messages is set to OFPRR_HARD_TIMEOUT (as expected) while the second is OFPRR_DELETE

[ovs-discuss] unable to delete default flow generation........

2013-10-18 Thread Joe Tynan
I want to remove default flows from OVS user1@switch1:~$ uname -a Linux switch1 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux user1@switch1:~$ sudo ovs-vsctl show 7c6efa43-5bca-4a07-9aa3-1e38a1ec6834 Bridge "labBR1" Controller "

[ovs-discuss] Does the OVS support ‘write action’ instruction in Flow-mod Messages?

2013-10-18 Thread 姚姜源
Hello, I constructed a Flow-mod message with only one 'write action' instruction, output to controller, and sent it to the OVS. But I got a error message with 'unsupported instruction'. Does the OVS support ‘write action’ instruction in Flow-mod Messages? P.S. I constructed the message according t