[ovs-discuss] MPLS header on a VLAN packet

Jesse Gross jesse at nicira.com
Tue Oct 6 19:40:40 UTC 2015


On Fri, Oct 2, 2015 at 6:48 AM, Michele Santuari
<michele.santuari at create-net.org> wrote:
> 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 at 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 at 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?

Yes, it's not supported. The nesting of various tags resulted in a
number of complications and so it was disallowed for the time being.



More information about the discuss mailing list