Hi all,
we are trying to tag with MPLS a VLAN packet.

The rule installed into the ovs is:
cookie=0x240000465aa58e, duration=5.452s, table=0, n_packets=0, n_bytes=0,
idle_age=5, priority=100,in_port=1,dl_vlan=10,dl_type=0x8100
actions=push_mpls:0x8847,load:0x1b->OXM_OF_MPLS_LABEL[],output:2

The strange think is that packets with VLAN 10 coming from port 1 are not
matching this rule.
The ovs log shows this error:

2015-10-02T12:37:51.757Z|00002|dpif(handler22)|WARN|system@ovs-system:
execute push_mpls(label=25,tc=0,ttl=64,bos=1,eth_type=0x8847),2 failed
(Invalid argument) on packet
icmp,in_port=0,dl_vlan=10,dl_vlan_pcp=0,dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:02,nw_src=10.0.0.1,nw_dst=10.0.0.2,nw_tos=0,nw_ecn=0,nw_ttl=64,icmp_type=8,icmp_code=0
2015-10-02T12:37:52.636Z|00003|dpif(handler22)|WARN|system@ovs-system:
failed to put[create] (Invalid argument)
ufid:586b5f05798f165219b201bac96b56bb
recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(1),skb_mark(0/0),eth(src=00:00:00:00:00:01/00:00:00:00:00:00,dst=00:00:00:00:00:02/00:00:00:00:00:00),eth_type(0x8100),vlan(vid=10,pcp=0/0x0),encap(eth_type(0x0800),ipv4(src=
10.0.0.1/0.0.0.0,dst=10.0.0.2/0.0.0.0,proto=1/0,tos=0/0xfc,ttl=64,frag=no),icmp(type=8/0,code=0/0)),
actions:push_mpls(label=25,tc=0,ttl=64,bos=1,eth_type=0x8847),2


We do not know if adding an MPLS tag on a VLAN frame is a permitted
operation.
Do you have any idea?

-- 
Michele Santuari
CREATE-NET
Junior Research Engineer
Via alla Cascata 56/D - 38123 Povo Trento (Italy)
e-mail: [email protected]
Tel: (+39) 0461312443
Hangout: [email protected]
Skype: s4nto.m
www.create-net.org
--------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited according to the
Italian Law 196/2003 of the Legislature. If you received this in error,
please contact the sender and delete the material from any computer.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to