[ovs-discuss] Problems with MPLS POP, GotoTable -> IP Match

Steven Gemelos steven at gemelos.com
Fri Jan 30 19:58:37 UTC 2015


I have a 3 table switch...

Table 0:
dl_type=0x8847,actions=resubmit(1,)
dl_type=0x0800,actions=resubmit(2,)


Table 1:
dl_type=0x8847,mpls_bos=1,actions=POPMPLS,resubmit(2,)
dl_type-0x8847,mpls_bos=0,actions=output(2)

Table 2:
dl_type=0x800,nw_src=192.168.2.10,nw_dst=192.168.1.10,actions=PUSHMPLS,output(1)
dl_type=0x800,nw_src=192.168.1.10,nw_dst=192.168.2.10,actions=dl_dst=<DST_MAC_ADDR>,output(3)


Table 0 works as expected.

Table 1 works as expected.

Table 2 works as expected when the pipeline goes from Table0 to Table2.


Table 2 has an issue when the pipeline goes from Table0 to Table1 to
Table2.   I see the switch packet _in when the packet hits Table1 and the
POPMPLS rule is added to Table1.  I see the switch packet_in when the
packet hits Table2 and the IP packet rule is added.

The problem is, on subsequent packets matching the rule (dl_type=0x0800,
nw_dst =192.168.2.10) don't hit the rule - and keep sending packet_in to
the controller.

I can't figure out why the packets transitioning from Table1 to Table2
don't hit the rule.   I am using APPLY_ACTION so the MPLS POP should be
immediate in Table1.


Anyone have any ideas?

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150130/ca1c63bc/attachment-0002.html>


More information about the discuss mailing list