Re: [mpls-linux-general] MPLS-Linux example problem
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2006-03-14 17:30:23
|
Thanks, I'll update the documents. On Tue, Mar 14, 2006 at 02:38:10PM +0000, Andr? Oliveira wrote: > Oh, another thing, there are some missings in the IPv4/MPLS guide: >=20 > both "ip route" commands miss the "add" token before the ip address. > the "mpls xc ilm_label" also misses an "add" before "ilm_label" >=20 >=20 > On Tue, 2006-03-14 at 08:27 -0600, James R. Leu wrote: > > Make sure you have turned on support for the MPLS taget in the ethernet > > bridging netfilter section. > >=20 > > On Tue, Mar 14, 2006 at 02:16:40PM +0000, Andr? Oliveira wrote: > > > Yes, you are right. Everything solved now :D > > > After your advice I checked the kernel and found that the option was = off > > > in my kernel. I've tried the IPv4/MPLS scenario sucessfully.=20 > > > Now I'm going to try the Ethernet/MPLS. > > >=20 > > > Thank you for your help. > > >=20 > > > Andr? Oliveira > > >=20 > > > On Tue, 2006-03-14 at 08:08 -0600, James R. Leu wrote: > > > > Then you forgot to compile in IPv4 support for MPLS. > > > >=20 > > > > On Tue, Mar 14, 2006 at 10:59:41AM +0000, Andr? Oliveira wrote: > > > > >=20 > > > > > I'm using UML machines with mpls compiled in the kernel and not a= s a > > > > > module... > > > > >=20 > > > > > On Mon, 2006-03-13 at 20:46 -0600, James R. Leu wrote: > > > > > > Make sure you've loaded the mpls4 module: > > > > > >=20 > > > > > > modprobe mpls4 > > > > > >=20 > > > > > > (by default all ILMs are bound to IPv4 as the upper layer proto= col. You > > > > > > can override this behavior using the 'protocol' parameter) > > > > > >=20 > > > > > > On Mon, Mar 13, 2006 at 11:18:10PM +0000, Andr? Oliveira wrote: > > > > > > > Hi again! > > > > > > >=20 > > > > > > > I'm trying the solution you gave me ( the IPv4 over MPLS: two= LER > > > > > > > example for mpls-linux-1.950 one )and I'm getting some proble= ms in LER2: > > > > > > >=20 > > > > > > > uml2:~# mpls ilm add label gen 1000 labelspace 0 > > > > > > > RTNETLINK answers: Cannot allocate memory > > > > > > >=20 > > > > > > > dmesg shows: > > > > > > >=20 > > > > > > >=20 > > > > > > > MPLS DEBUG net/mpls/mpls_netlink.c:115:genl_mpls_ilm_new: ent= er > > > > > > > MPLS DEBUG net/mpls/mpls_ilm.c:522:mpls_add_in_label: enter > > > > > > > MPLS DEBUG net/mpls/mpls_ilm.c:126:mpls_ilm_dst_alloc: enter > > > > > > > MPLS DEBUG net/mpls/mpls_ilm.c:144:mpls_ilm_dst_alloc: Unable= to find > > > > > > > protocol driver for '0x0002' > > > > > > > MPLS DEBUG net/mpls/mpls_ilm.c:79:ilm_dst_destroy: enter > > > > > > > MPLS DEBUG net/mpls/mpls_ilm.c:80:ilm_dst_destroy: exit > > > > > > > MPLS DEBUG net/mpls/mpls_ilm.c:167:mpls_ilm_dst_alloc: exit > > > > > > > MPLS DEBUG net/mpls/mpls_ilm.c:582:mpls_add_in_label: exit > > > > > > > MPLS DEBUG net/mpls/mpls_netlink.c:145:genl_mpls_ilm_new: Exi= t: -12 > > > > > > >=20 > > > > > > > Any ideas? > > > > > > >=20 > > > > > > >=20 > > > > > > > On Mon, 2006-03-13 at 20:35 +0200, Adrian Popa wrote: > > > > > > > > I'm not sure if this helps, but try to issue a > > > > > > > >=20 > > > > > > > > cat /sys/mpls/version > > > > > > > >=20 > > > > > > > > and see what it says. If it says 1.950 (or newer), than the= examples > > > > > > > > in http://mpls-linux.sourceforge.net/simple.php are no long= er valid. > > > > > > > > For examples (for version 1.950) see this link: > > > > > > > >=20 > > > > > > > > http://sourceforge.net/docman/?group_id=3D15443 > > > > > > > >=20 > > > > > > > > Hope it works out for you. > > > > > > > >=20 > > > > > > > > On 3/13/06, Andr? Oliveira <aol...@av...> wrote: > > > > > > > > > Hi all, > > > > > > > > > > > > > > > > > > I'm trying to follow the example of page > > > > > > > > > http://mpls-linux.sourceforge.net/simple.php (the first o= ne) > > > > > > > > > and I'm having some problems when I execute the second co= mmand: > > > > > > > > > > > > > > > > > > (none):~# mpls nhlfe change key 0x4 instructions push gen= 1000 nexthop > > > > > > > > > eth0 ipv4 192.168.0.11 > > > > > > > > > RTNETLINK answers: Operation not permitted > > > > > > > > > > > > > > > > > > dmesg shows: > > > > > > > > > > > > > > > > > > MPLS DEBUG net/mpls/mpls_netlink.c:298:genl_mpls_nhlfe_ne= w: enter > > > > > > > > > MPLS DEBUG net/mpls/mpls_opcode.c:345:mpls_build_opcode_p= ush: enter > > > > > > > > > MPLS DEBUG net/mpls/mpls_opcode.c:356:mpls_build_opcode_p= ush: exit > > > > > > > > > MPLS DEBUG net/mpls/mpls_opcode.c:1035:mpls_build_opcode_= set: enter > > > > > > > > > MPLS DEBUG net/mpls/mpls_dst.c:169:mpls_dst_alloc: enter > > > > > > > > > MPLS DEBUG net/mpls/mpls_dst.c:216:mpls_dst_alloc: exit(0= 0000000) > > > > > > > > > MPLS DEBUG net/mpls/mpls_opcode.c:1080:mpls_build_opcode_= set: SET error > > > > > > > > > building DST info > > > > > > > > > MPLS DEBUG net/mpls/mpls_opcode.c:1082:mpls_build_opcode_= set: exit > > > > > > > > > MPLS DEBUG net/mpls/mpls_instr.c:89:mpls_instrs_free: ent= er > > > > > > > > > MPLS DEBUG net/mpls/mpls_instr.c:65:mpls_instr_release: e= nter > > > > > > > > > MPLS DEBUG net/mpls/mpls_opcode.c:376:mpls_clean_opcode_p= ush: enter > > > > > > > > > MPLS DEBUG net/mpls/mpls_opcode.c:378:mpls_clean_opcode_p= ush: exit > > > > > > > > > MPLS DEBUG net/mpls/mpls_instr.c:73:mpls_instr_release: e= xit > > > > > > > > > MPLS DEBUG net/mpls/mpls_instr.c:65:mpls_instr_release: e= nter > > > > > > > > > MPLS DEBUG net/mpls/mpls_instr.c:73:mpls_instr_release: e= xit > > > > > > > > > MPLS DEBUG net/mpls/mpls_instr.c:95:mpls_instrs_free: exit > > > > > > > > > MPLS DEBUG net/mpls/mpls_netlink.c:335:genl_mpls_nhlfe_ne= w: Exit: -1 > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm using the kernel/tools from perforce4 server... > > > > > > > > > > > > > > > > > > Do you have any ideas? > > > > > > > > > > > > > > > > > > > > > > > > > > > Andr? Oliveira > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking = scripting language > > > > > > > > > that extends applications into web and mobile media. Atte= nd the live webcast > > > > > > > > > and join the prime developer group breaking into this new= coding territory! > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bi= d=3D241720&dat=3D121642 > > > > > > > > > _______________________________________________ > > > > > > > > > mpls-linux-general mailing list > > > > > > > > > mpl...@li... > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-g= eneral > > > > > > > > > > > > > > > > >=20 > > > > > > > >=20 > > > > > > > > ------------------------------------------------------- > > > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking sc= ripting language > > > > > > > > that extends applications into web and mobile media. Attend= the live webcast > > > > > > > > and join the prime developer group breaking into this new c= oding territory! > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=110944&bid$17= 20&dat=121642 > > > > > > > > _______________________________________________ > > > > > > > > mpls-linux-general mailing list > > > > > > > > mpl...@li... > > > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-gen= eral > > > > > > >=20 > > > > > > >=20 > > > > > > >=20 > > > > > > > ------------------------------------------------------- > > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking scri= pting language > > > > > > > that extends applications into web and mobile media. Attend t= he live webcast > > > > > > > and join the prime developer group breaking into this new cod= ing territory! > > > > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D= 241720&dat=3D121642 > > > > > > > _______________________________________________ > > > > > > > mpls-linux-general mailing list > > > > > > > mpl...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-gener= al > > > > > >=20 > > > >=20 > >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |