<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <small><font face="Courier">Hi Renato,<br>
        <br>
        I already set and verified those parameters. <br>
        <br>
        My topology is <big><br>
          <br>
        </big><br>
        <br>
        <big><img src="cid:part1.08090103.05050302@veryxtech.com" alt=""><br>
          <br>
        </big><small><big>PE1 Configuration:</big><br>
        </small><br>
        root@frr:/usr/local/etc/quagga# modprobe mpls-router
        mpls-iptunnel<br>
        root@frr:/usr/local/etc/quagga# sysctl -p
        /etc/sysctl.d/90-routing-sysctl.conf<br>
        net.ipv4.conf.all.forwarding = 1<br>
        net.ipv6.conf.all.forwarding = 1<br>
        net.mpls.conf.ens3.input = 1<br>
        net.mpls.conf.ens4.input = 1<br>
        net.mpls.conf.ens9.input = 1<br>
        net.mpls.conf.ens10.input = 1<br>
        net.mpls.platform_labels = 100000<br>
        root@frr:/usr/local/etc/quagga# ip route<br>
        default via 192.168.13.1 dev ens3 proto static<br>
        192.168.13.0/24 dev ens3 proto kernel scope link src
        192.168.13.42<br>
        <b>192.168.123.0/24  encap mpls  100 via 192.168.200.3 dev ens9</b><br>
        192.168.200.0/24 dev ens9 proto kernel scope link src
        192.168.200.2<br>
        root@frr:/usr/local/etc/quagga#<br>
        <big><br>
        </big>PE2 Configuration:<br>
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:root@frr:~/frr-4.0-vPE#">root@frr:~/frr-4.0-vPE#</a> modprobe mpls-router mpls-iptunnel<br>
        <a class="moz-txt-link-abbreviated" href="mailto:root@frr:~/frr-4.0-vPE#">root@frr:~/frr-4.0-vPE#</a> sysctl -p
        /etc/sysctl.d/90-routing-sysctl.conf<br>
        net.ipv4.conf.all.forwarding = 1<br>
        net.ipv6.conf.all.forwarding = 1<br>
        net.mpls.conf.ens3.input = 1<br>
        net.mpls.conf.ens4.input = 1<br>
        net.mpls.conf.ens9.input = 1<br>
        net.mpls.conf.ens10.input = 1<br>
        net.mpls.platform_labels = 100000<br>
        <a class="moz-txt-link-abbreviated" href="mailto:root@frr:~/frr-4.0-vPE#root@frr:~/frr-4.0-vPE#">root@frr:~/frr-4.0-vPE#root@frr:~/frr-4.0-vPE#</a> ip route<br>
        default via 192.168.13.1 dev ens3 proto static<br>
        192.168.13.0/24 dev ens3 proto kernel scope link src
        192.168.13.43<br>
        192.168.100.0/24 dev ens4 proto kernel scope link src
        192.168.100.3<br>
        192.168.111.0/24 dev ens10 proto kernel scope link src
        192.168.111.3<br>
        192.168.200.0/24 dev ens9 proto kernel scope link src
        192.168.200.3<br>
        <a class="moz-txt-link-abbreviated" href="mailto:root@frr:~/frr-4.0-vPE#">root@frr:~/frr-4.0-vPE#</a> ip route<br>
        default via 192.168.13.1 dev ens3 proto static<br>
        192.168.13.0/24 dev ens3 proto kernel scope link src
        192.168.13.43<br>
        192.168.111.0/24 dev ens10 proto kernel scope link src
        192.168.111.3<br>
        192.168.200.0/24 dev ens9 proto kernel scope link src
        192.168.200.3<br>
        <a class="moz-txt-link-abbreviated" href="mailto:root@frr:~/frr-4.0-vPE#">root@frr:~/frr-4.0-vPE#</a> ip -f mpls route show<br>
        <b>100 dev ens10</b><br>
        <a class="moz-txt-link-abbreviated" href="mailto:root@frr:~/frr-4.0-vPE#">root@frr:~/frr-4.0-vPE#</a><br>
        <br>
        I have a route in  </font></small><small><font face="Courier"><font
          face="Courier">Host (192.168.13.40) </font>for network
        192.168.123.0/24 as nexthop 192.168.13.42<br>
        Now I am sending ping from with destination IP 192.168.123.3<br>
        <br>
        In PE1:<br>
        Receiving ICMP request in ens3 (13.42)<br>
        Receiving ICMP request with MPLS label 100 in ens9(200.2)<br>
        <br>
        In PE2:<br>
        Receiving ICMP request with MPLS label 100 in ens9(200.3)<br>
        But ens9 is not forwarding the ICMP request via any other
        available interface.<br>
        Expected behavior is that, it should pop the label 100 and send
        frame via ens10.<br>
        <br>
        Please let know your views.<br>
        <br>
        Thanks,<br>
        Vijayalakshmi<br>
        <br>
      </font></small>
    <div class="moz-cite-prefix"><small><font face="Courier">On
          7/16/2018 7:59 PM, Renato Westphal wrote:</font></small><br>
    </div>
    <blockquote
cite="mid:CAB6ZmXFq6n2mUyr6ckk6YL6nG_KV4C2hT9-xCndY8F+NP4DQuw@mail.gmail.com"
      type="cite">
      <pre wrap="">Did you enable MPLS processing on your interfaces?

Please check this link:
<a class="moz-txt-link-freetext" href="https://github.com/FRRouting/frr/blob/frr-5.0.1/doc/developer/building-frr-on-ubuntu1804.rst#enable-mpls-forwarding-with-linux-kernel--45">https://github.com/FRRouting/frr/blob/frr-5.0.1/doc/developer/building-frr-on-ubuntu1804.rst#enable-mpls-forwarding-with-linux-kernel--45</a>

Cheers,
Renato.

On Mon, Jul 16, 2018 at 10:45 AM, Vijayalakshmi
<a class="moz-txt-link-rfc2396E" href="mailto:vijayalakshmi.marudhanayagam@veryxtech.com"><vijayalakshmi.marudhanayagam@veryxtech.com></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi Kishore,

Thanks for your reply.

I tried the same with Linux MPLS via iproute2 configuration. Still the
behavior is same.
So it is clear that the issue is not with FRR.

Let me fix the issue in my Linux kernel and get back to you if I need any
support.

Regards,
Vijayalakshmi

On 7/13/2018 9:45 PM, Kishore Aramalla wrote:

Vijayalakshmi, Can you share your configuration.



Best,

Kishore



From: dev <a class="moz-txt-link-rfc2396E" href="mailto:dev-bounces@lists.frrouting.org"><dev-bounces@lists.frrouting.org></a> On Behalf Of Vijayalakshmi
Sent: Thursday, July 12, 2018 11:49 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:dev@lists.frrouting.org">dev@lists.frrouting.org</a>
Subject: [dev] MPLS SWAP and POP configuration issue



Hello,

We are currently working with simulating a PE router in MPLS architecture.
We run zebra and ldp with below configuration
and facing issues in swapping and popping of label in zebra.

In my MPLS table I have the following entries,

zebra_2# show mpls table
 Inbound                            Outbound
   Label     Type          Nexthop     Label
--------  -------  ---------------  --------
      16      LDP    192.168.100.2         3
      17   Static    192.168.100.2        18

But still zebra is not swapping the label and also not forwarding the
received traffic (inbound label 16/17) to the respective nexthop.

Is there any special command to activate mpls configuration ?
Can someone help us in a configuring zebra MPLS to pop label and swap label?

Thanks,
Vijayalakshmi



_______________________________________________
dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev@lists.frrouting.org">dev@lists.frrouting.org</a>
<a class="moz-txt-link-freetext" href="https://lists.frrouting.org/listinfo/dev">https://lists.frrouting.org/listinfo/dev</a>

</pre>
      </blockquote>
      <pre wrap="">


</pre>
    </blockquote>
    <br>
  </body>
</html>