<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.23250">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>LOL.</FONT></DIV>
<DIV><FONT size=2 face=Arial>for MPLS, i honestly recomand you to bring MikroTik
router's they are nicely priced and perfect</FONT></DIV>
<DIV>Tayeb Meftah<BR>Voice of the blind ™ Broadcast Freedom<BR><A
href="http://www.vobradio.org">http://www.vobradio.org</A><BR>Phone:447559762242</DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=linkconnect@googlemail.com
href="mailto:linkconnect@googlemail.com">Wayne Lee</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=emunicio@gmail.com
href="mailto:emunicio@gmail.com">Steve Muni</A> ; <A
title=voyage-linux@voyage.hk href="mailto:voyage-linux@voyage.hk">Voyage</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 04, 2014 12:33
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Voyage-linux] MPLS on
Voyage Linux</DIV>
<DIV><BR></DIV>
<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="LINE-HEIGHT: 18px; MARGIN-TOP: 0px; FONT-FAMILY: Consolas,'Liberation Mono',Courier,monospace; MARGIN-BOTTOM: 0px; COLOR: rgb(51,51,51); FONT-SIZE: 12px"><DIV style="PADDING-LEFT: 10px" id=LC49>RUNNING: </DIV><DIV style="PADDING-LEFT: 10px" id=LC50><BR></DIV><DIV style="PADDING-LEFT: 10px" id=LC51>To be able to run MPLS, you will need modified iproute2 programme which can be downloaded from:</DIV>
<DIV style="PADDING-LEFT: 10px" id=LC52><BR></DIV><DIV style="PADDING-LEFT: 10px" id=LC53><A href="https://github.com/i-maravic/iproute2">https://github.com/i-maravic/iproute2</A></DIV><DIV style="PADDING-LEFT: 10px" id=LC54>
<BR></DIV><DIV style="PADDING-LEFT: 10px" id=LC55>Creation of MPLS tunnel ingress points is done with:</DIV><DIV style="PADDING-LEFT: 10px" id=LC56><BR></DIV><DIV style="PADDING-LEFT: 10px" id=LC57>
# ip link add tunnel_name type mpls push 300 192.168.2.2</DIV><DIV style="PADDING-LEFT: 10px" id=LC58><BR></DIV><DIV style="PADDING-LEFT: 10px" id=LC59>or with</DIV><DIV style="PADDING-LEFT: 10px" id=LC60>
<BR></DIV><DIV style="PADDING-LEFT: 10px" id=LC61># ip route add 1.2.3.4 mpls push 300 192.168.2.2</DIV><DIV style="PADDING-LEFT: 10px" id=LC62><BR></DIV><DIV style="PADDING-LEFT: 10px" id=LC63>
To get more comprehensive explanation use:</DIV><DIV style="PADDING-LEFT: 10px" id=LC64><BR></DIV><DIV style="PADDING-LEFT: 10px" id=LC65>$ ip link add tunnel_name type mpls help</DIV><DIV style="PADDING-LEFT: 10px" id=LC66>
<BR></DIV><DIV style="PADDING-LEFT: 10px" id=LC67>or</DIV><DIV style="PADDING-LEFT: 10px" id=LC68><BR></DIV><DIV style="PADDING-LEFT: 10px" id=LC69>$ ip route help</DIV><DIV style="PADDING-LEFT: 10px" id=LC70>
<BR></DIV><DIV style="PADDING-LEFT: 10px" id=LC71>In order to be able to receive MPLS packets, interface must be MPLS enabled. This is done with:</DIV><DIV style="PADDING-LEFT: 10px" id=LC72><BR>
</DIV><DIV style="PADDING-LEFT: 10px" id=LC73># ip link set eth0 mpls on</DIV><DIV style="PADDING-LEFT: 10px" id=LC74><BR></DIV><DIV style="PADDING-LEFT: 10px" id=LC75>To be able to receve MPLS packets recursively mpls0 interface must be brought up!</DIV>
<DIV style="PADDING-LEFT: 10px" id=LC76><BR></DIV><DIV style="PADDING-LEFT: 10px" id=LC77>To build MPLS tunnel cross connect and egress points use:</DIV><DIV style="PADDING-LEFT: 10px" id=LC78>
<BR></DIV></PRE>
<DIV><SPAN
style="LINE-HEIGHT: 18px; FONT-FAMILY: Consolas,'Liberation Mono',Courier,monospace; COLOR: rgb(51,51,51); FONT-SIZE: 12px">#
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
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<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
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<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
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<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
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<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
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<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>
<P>
<HR>
<P></P>_______________________________________________<BR>Voyage-linux mailing
list<BR>Voyage-linux@list.voyage.hk<BR>http://list.voyage.hk/mailman/listinfo/voyage-linux<BR></BLOCKQUOTE></BODY></HTML>