[ovs-discuss] How to bring a patch port down?

2016-05-13 Thread Krishna Pratap
Hi, I am trying to use the "ovs-ofctl mod-port switch port " command to bring down the patch port I have on my switch . I am using the patch port to create a link between two switches. I am using ovs 2.1 version. When I use the command "ovs-ofctl mod-port br1 port1 down" the patch port on switch

Re: [ovs-discuss] How to set the MAC address of bridge local port

2015-03-05 Thread Krishna Pratap
Thanks for checking. I will try to find out more about the ovs installed on my system. KP On Thu, Mar 5, 2015 at 12:10 PM, Ben Pfaff wrote: > On Wed, Mar 04, 2015 at 01:34:07PM -0500, Krishna Pratap wrote: > > Im not sure what is wrong with ovs installed with my system yet. its >

Re: [ovs-discuss] How to set the MAC address of bridge local port

2015-03-03 Thread Krishna Pratap
f wrote: > On Tue, Mar 03, 2015 at 11:28:27AM -0500, Krishna Pratap wrote: > > Is it possible to set the MAC address of the local port of bridge( not > the > > address of bridge itself) with a fixed address? > > > > I tried couple of ways to do it. one of them m

[ovs-discuss] How to set the MAC address of bridge local port

2015-03-03 Thread Krishna Pratap
Hi, Is it possible to set the MAC address of the local port of bridge( not the address of bridge itself) with a fixed address? I tried couple of ways to do it. one of them mentioned here in this old thread http://openvswitch.org/pipermail/discuss/2011-June/005297.html i tested this one out but i

Re: [ovs-discuss] Flow format not supported for OF1.3 (ovs2.1)

2015-02-06 Thread Krishna Pratap
ot;. were you pointing out the incorrect port number? or anything else you would like to highlight. ? cheers KP On Fri, Feb 6, 2015 at 5:05 PM, Ben Pfaff wrote: > On Fri, Feb 06, 2015 at 04:37:42PM -0500, Krishna Pratap wrote: > > ovs-ofctl -O OpenFlow13 add-flow br0 > > in_port=9,actio

[ovs-discuss] Flow format not supported for OF1.3 (ovs2.1)

2015-02-06 Thread Krishna Pratap
Hi, Im trying to add a flow which modifies the traffic source IP adress before sending the packet-in to the controller and the flow wouldn't apply. My switch is set to start with OF1.3 and im using ovs2.1 version. here are the commands and the output . ovs-vsctl add-br br

Re: [ovs-discuss] Switch Flows gets deleted

2014-09-05 Thread Krishna Pratap
chd log level with > e.g. "ovs-appctl vlog/set vconn" then looking for OpenFlow flow_mod > messages in the vswitchd log. > > On Thu, Sep 04, 2014 at 01:04:16PM -0400, Krishna Pratap wrote: > > So here is the monitor output in two cases. > > > > 1) when the control

Re: [ovs-discuss] Switch Flows gets deleted

2014-09-04 Thread Krishna Pratap
n Thu, Sep 4, 2014 at 12:40 PM, Ben Pfaff wrote: > On Thu, Sep 04, 2014 at 11:49:19AM -0400, Krishna Pratap wrote: > > The switches would delete the traffic flows or any flow that i add on it > > if it is not connected to controller from the beginning or if I remove > > t

Re: [ovs-discuss] Switch Flows gets deleted

2014-09-04 Thread Krishna Pratap
:54:21PM -0400, Krishna Pratap wrote: > > I am encountering a condition where the traffic flows gets deleted when > the > > switches are not connected to controller. > > while adding the flows, I make the idle_timeout=0,hard_timeout=0 > > > > and this is the flow on

[ovs-discuss] Switch Flows gets deleted

2014-09-03 Thread Krishna Pratap
Hi all, I am encountering a condition where the traffic flows gets deleted when the switches are not connected to controller. while adding the flows, I make the idle_timeout=0,hard_timeout=0 and this is the flow on the switch root@ccpu:~# ovs-ofctl dump-flows Switch_S1 NXST_FLOW reply (xid=0x4)

[ovs-discuss] Packet- out processing

2014-09-02 Thread Krishna Pratap
Hi, I wanted to confirm if handling or actual processing of packet-out by ovs switches is done only at handle_packet_out() function in ofproto.c file. I am experimenting with packet-out processing and wanted to know if there are any other places in ovs code apart from this where the actual proces

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Krishna Pratap
oesn't need a > real solution. > > You can use veths, I think. > > On Thu, Aug 14, 2014 at 01:42:20PM -0400, Krishna Pratap wrote: > > Yea I saw that but my question is ...should I be changing that? I am sort > > of new to ovs. is there any other way to connect switc

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Krishna Pratap
? Thanks for all the input! Im learning a lot KP On Thu, Aug 14, 2014 at 1:38 PM, Ben Pfaff wrote: > You can increase MAX_RESUBMIT_RECURSION in ofproto-dpif-xlate.c. > > On Thu, Aug 14, 2014 at 01:22:55PM -0400, Krishna Pratap wrote: > > yes Ben, you maybe right. I saw it in log file

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Krishna Pratap
e, but the > recursion is limited to 64 levels, hence the issue you're seeing. > -- Best Regards, Krishna Pratap Singh ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-14 Thread Krishna Pratap
have seen > any check like that. > > fbl > > > On Wed, Aug 13, 2014 at 01:23:13PM -0400, Krishna Pratap wrote: >> i dont know how i didnt recevie the first email from Duy. >> >> this is the original query >> http://openvswitch.org/pipermail/discuss/2

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-13 Thread Krishna Pratap
> On Wed, Aug 13, 2014 at 01:06:46PM -0400, Krishna Pratap wrote: >> exactly, i have been wondering the same. do you know where this check >> is done the code? it doesnt forward anything after 65 hops >> >> On Wed, Aug 13, 2014 at 1:04 PM, Ben Pfaff wrote: >>

Re: [ovs-discuss] packets not being forwarded beyond 65 hops of

2014-08-13 Thread Krishna Pratap
TTL doesnt seems to be the problem. i have considered that. anyhow if you check the traffic in the output that i posted the TTL is set as 255. Also i dont think TTL should matter if we are forwarding packets at layer 2. I am guessing there is a check somewhere in OVS code which limits it. if anyo

[ovs-discuss] packets not being forwarded beyond 65 hops of switches(ovs 2.1). a possible bug?

2014-08-13 Thread Krishna Pratap
Hi, I am trying to create a linear topology of 70 switches and linking all these switches with patch ports. After this, I am injecting traffic packets in the first switch(S0) and I have added flows on all of the switches to forward the packets in one direction towards the last switch (S69). I am u