<div dir="ltr">Hello <div><br></div><div>I never installed MPLS on mine, a quick read of the MPLS readme suggests it's not using the "via" arg</div><div><br></div><pre style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);line-height:18px">
<div class="" id="LC49" style="padding-left:10px">RUNNING: </div><div class="" id="LC50" style="padding-left:10px"><br style></div><div class="" id="LC51" style="padding-left:10px">To be able to run MPLS, you will need modified iproute2 programme which can be downloaded from:</div>
<div class="" id="LC52" style="padding-left:10px"><br style></div><div class="" id="LC53" style="padding-left:10px"><a href="https://github.com/i-maravic/iproute2">https://github.com/i-maravic/iproute2</a></div><div class="" id="LC54" style="padding-left:10px">
<br style></div><div class="" id="LC55" style="padding-left:10px">Creation of MPLS tunnel ingress points is done with:</div><div class="" id="LC56" style="padding-left:10px"><br style></div><div class="" id="LC57" style="padding-left:10px">
# ip link add tunnel_name type mpls push 300 192.168.2.2</div><div class="" id="LC58" style="padding-left:10px"><br style></div><div class="" id="LC59" style="padding-left:10px">or with</div><div class="" id="LC60" style="padding-left:10px">
<br style></div><div class="" id="LC61" style="padding-left:10px"># ip route add 1.2.3.4 mpls push 300 192.168.2.2</div><div class="" id="LC62" style="padding-left:10px"><br style></div><div class="" id="LC63" style="padding-left:10px">
To get more comprehensive explanation use:</div><div class="" id="LC64" style="padding-left:10px"><br style></div><div class="" id="LC65" style="padding-left:10px">$ ip link add tunnel_name type mpls help</div><div class="" id="LC66" style="padding-left:10px">
<br style></div><div class="" id="LC67" style="padding-left:10px">or</div><div class="" id="LC68" style="padding-left:10px"><br style></div><div class="" id="LC69" style="padding-left:10px">$ ip route help</div><div class="" id="LC70" style="padding-left:10px">
<br style></div><div class="" id="LC71" style="padding-left:10px">In order to be able to receive MPLS packets, interface must be MPLS enabled. This is done with:</div><div class="" id="LC72" style="padding-left:10px"><br style>
</div><div class="" id="LC73" style="padding-left:10px"># ip link set eth0 mpls on</div><div class="" id="LC74" style="padding-left:10px"><br style></div><div class="" id="LC75" style="padding-left:10px">To be able to receve MPLS packets recursively mpls0 interface must be brought up!</div>
<div class="" id="LC76" style="padding-left:10px"><br style></div><div class="" id="LC77" style="padding-left:10px">To build MPLS tunnel cross connect and egress points use:</div><div class="" id="LC78" style="padding-left:10px">
<br style></div></pre><div><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:18px"># ip -M route add 200 mpls swap 300 dev eth0 192.168.3.3</span></div>
<div><br></div><div><br></div><div>Wayne </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 February 2014 11:07, Steve Muni <span dir="ltr"><<a href="mailto:emunicio@gmail.com" target="_blank">emunicio@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Thank you<br><br>I have patched and compiled my mpls voyage linux version and all seems to be fine. However I am stucked trying test a mpls tunnel. I have wrote my problem in mpls-linux mailing list(<a href="http://sourceforge.net/mailarchive/forum.php?thread_name=CAMVTf1hyy7WzkKH1YwnPE8vvCpJyN-QHB-qm%3D2f%2BVQvuSFNWWA%40mail.gmail.com&forum_name=mpls-linux-general" target="_blank">http://sourceforge.net/mailarchive/forum.php?thread_name=CAMVTf1hyy7WzkKH1YwnPE8vvCpJyN-QHB-qm%3D2f%2BVQvuSFNWWA%40mail.gmail.com&forum_name=mpls-linux-general</a>) (but the list seems to be quite quiet).<br>
<br></div>My problem now is when setting up a mpls tunnel in node I get an weird error:<br><br></div>Following some tutorials,(ej. <a href="http://sourceforge.net/apps/mediawiki/mpls-linux/index.php?title=Examples)n" target="_blank">http://sourceforge.net/apps/mediawiki/mpls-linux/index.php?title=Examples)n</a> in one node I type:<br>
<br>### mpls nhlfe add key 0 instructions push gen 1000 nexthop eth1 ipv4 10.10.10.23<br><div><br>### ip route add <a href="http://10.10.1.0/24" target="_blank">10.10.1.0/24</a> via 10.10.10.23 mpls 0x3<br>Error: argument "mpls" is wrong: Can't define mpls when using IP forwarding<br>
<br></div><div>However I have disabled the IP fowarding:<br><br>### sysctl net.ipv4.ip_forward<br>net.ipv4.ip_forward = 0<br><br></div><div>Why is happening this? This is a normal behaviour and there is another way to stablish the
tunnel? Or maybe the iproute package I am using is not the right one?<br><br></div><div>I have checked the iproute.c code and the problem seems in use the "via" arg in the command. Should I use another instead? <br>
<br></div><div>Did you find a similar problem using your mpls voyage linux ?<br></div><div><br><div>My mpls compiled version is: Linux voyage 2.6.32<br>
</div>And iproute2 package is get from: <br><pre><a href="https://github.com/i-maravic/iproute2" target="_blank">https://github.com/i-maravic/iproute2</a><br><br></pre><pre>Any idea or suggestion?<br><br></pre><pre>Thank you<br>
<br>
</pre><pre>Kind regards, <br>Esteban</pre></div><div><br></div></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">2014-01-30 Wayne Lee <span dir="ltr"><<a href="mailto:linkconnect@googlemail.com" target="_blank">linkconnect@googlemail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Welcome !<div><br></div><div>You will need to patch it yourself.</div></div><div><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 30 January 2014 10:19, Steve Muni <span dir="ltr"><<a href="mailto:emunicio@gmail.com" target="_blank">emunicio@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you very much!<div><br></div><div>I was asking because when compiling the voyage kernel from source, I did not find in "make menuconfig" any MPLS module to activate. Should I patch it with the generic mpls-linux patch before begin with the kernel configuration, or is there any option that I have not seen yet?</div>
<div><br></div><div>Kind regards</div><div><br></div><div>Esteban</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-01-30 Wayne Lee <span dir="ltr"><<a href="mailto:linkconnect@googlemail.com" target="_blank">linkconnect@googlemail.com</a>></span>:<div>
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello<div><br></div><div><br></div><div>Yes it is possible to use the base Kernel config and add the other parts as required, standard kernel compile processes apply.</div>
<div><br></div><div>I've used Voyage based systems as routers for years and it works very well indeed.</div>
<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On 24 January 2014 14:38, Steve Muni <span dir="ltr"><<a href="mailto:emunicio@gmail.com" target="_blank">emunicio@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div><div>Hi list<br><br></div>I would like to know if it is possible use MPLS in Voyage Linux.<br>
</div>Is there any project that has already included MPLS in the voyage system? <br><br></div>
Should be possible compile a new voyage kernel version with the MPLS linux implementation??<br><br></div>Anybody has any advice or information to achieve that?<br><br></div>Kind regards<span><font color="#888888"><br clear="all">
<div><div><div><div>
<div><div><div><div><div><div><div><br>-- <br>Esteban
</div></div></div></div></div></div></div></div></div></div></div></font></span></div>
<br></div></div>_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk" target="_blank">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Esteban
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>Esteban
</font></span></div>
</blockquote></div><br></div>