[ovs-discuss] OVS + MPLS + Tproxy + squid

Pawel Mojski pawcio at pawcio.net
Tue May 6 13:37:21 UTC 2014


W dniu 2014-05-06 14:20, Pawel Mojski pisze:
> Hi Guys.
>
> As far as I already read the documentation it's possible to be done with
> openvswitch.
> The scenario which I like to achieve is like on schema bellow:
>
> [MPLS Router1]------[ovs bridge+squid box]-----[MPLS Router2]
>
>
Hi again.

While looking a proper configuration I thought I was found the proper way.
The first what I did is create a two flows as a bridge like below:

ovs-ofctl del-flows br0
ovs-ofctl add-flow br0 priority=10,actions=NORMAL
ovs-ofctl add-flow br0
priority=11,in_port=1,dl_type=0x8847,mpls_label=300,actions=pop_mpls:0x0800,output:2

And now, all transmissions between eth1 and eth2 (ports 1 and 2 on a
bridge) works fine.
But, all mpls frames labeled 300 are disappearing, they should be
forwarded to eth2 (port 2 on a bridge) without mpls label, but they are
gone.
Dump flows shows:

ovs-ofctl  dump-flows br0
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=325.181s, table=0, n_packets=43, n_bytes=2934,
idle_age=37, priority=10 actions=NORMAL
 cookie=0x0, duration=317.821s, table=0, n_packets=318, n_bytes=32436,
idle_age=0, priority=11,mpls,in_port=1,mpls_label=300
actions=pop_mpls:0x0800,output:2

and counters of mpls flows are growing, so, what happened with those
packets?

Regards;
Pawel Mojski



More information about the discuss mailing list