Hi, When I try to add a manual flow entry on S2 with ethertype = "0x88a8" , I am getting an error message saying that is not a "valid" ethertype (See Below)
mininet> sh ovs-ofctl --protocols=OpenFlow13 add-flow s2 in_port=1,actions=push_vlan:0x88a8,set_field:100-\>vlan_vid,NORMAL ovs-ofctl: 0x88a8: not a valid VLAN ethertype The OpenvSwitch version I am using is below :- *ovs-ofctl (Open vSwitch) 2.0.2* *Compiled May 13 2015 18:51:44* *OpenFlow versions 0x1:0x4* What could be the issue ? Is 0x88a8 not supported for this version ? Thanks, Regards, Varun On Tue, Jan 5, 2016 at 5:27 AM, Yusuke Iwase <[email protected]> wrote: > Hi, > > On 2016年01月05日 01:34, Varun Nair wrote: > > Hi, > > > > I am using RYU to parse packets and add an additional VLAN to an already > > tagged packet. > > > > The topology is as follows :- > > > > Host H1 ---Switch S1---Switch S2=======Switch S3-----Switch s4---HostH2 > > > > Here S1 will tag packet from H1 with VLAN ID 10. Then S2 will double tag > > it with VLAN 100. > > > > At S3, the outermost tag(VLAN 100) is popped and sent to s4. > > At S4, the outermost tag (which will be the inner tag VLAN 10) is popped > > and sent to Host h2 > > > > > > At S1, i have written the below action :- > > [OFPActionPushVlan(0x8100),OFPActionSetField(vlan_vid=10),OFPActionOutpu > > t(2)] (Port 2 is connected to Port 1 of S2) > > > > Similarily , at S2 , the below action is executed on the received packet > > > > [OFPActionPushVlan(0x8100),OFPActionSetField(vlan_vid=100),OFPActionOutp > > ut(2)] > > I think you need to set "ethertype=0x88a8" in OFPActionPushVlan, > if a VLAN tag already exists at S2. > > Thanks, > Iwase > > > > > > > I am facing the below PROBLEM :- > > When I check the wireshark trace of packets at port 2 of S2, only a > > single tag is present , with VLAN ID 100. The old VLAN tag is being > > overwritten > > > > > > Where am I going wrong ? I tried changing the ether type at S2 to 0x88a8 > > and 0x9100, but getting the same result. > > > > I would be really grateful if someone could assist me in solving the > > above issue. > > > > > > Thanks, > > Regards, > > Varun Nair > > > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Ryu-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > > -- Regards, Varun <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> This email has been sent from a virus-free computer protected by Avast. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#152110795f066899_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
------------------------------------------------------------------------------
_______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
