Re: [mpls-linux-general] MPLS-Linux example problem
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2006-03-14 14:28:06
|
Make sure you have turned on support for the MPLS taget in the ethernet bridging netfilter section. 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 as 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 protocol.= 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 problems i= n 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: enter > > > > > 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: Exit: -= 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 exa= mples > > > > > > in http://mpls-linux.sourceforge.net/simple.php are no longer v= alid. > > > > > > 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 one) > > > > > > > and I'm having some problems when I execute the second comman= d: > > > > > > > > > > > > > > (none):~# mpls nhlfe change key 0x4 instructions push gen 100= 0 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_new: e= nter > > > > > > > MPLS DEBUG net/mpls/mpls_opcode.c:345:mpls_build_opcode_push:= enter > > > > > > > MPLS DEBUG net/mpls/mpls_opcode.c:356:mpls_build_opcode_push:= 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(00000= 000) > > > > > > > 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: enter > > > > > > > MPLS DEBUG net/mpls/mpls_instr.c:65:mpls_instr_release: enter > > > > > > > MPLS DEBUG net/mpls/mpls_opcode.c:376:mpls_clean_opcode_push:= enter > > > > > > > MPLS DEBUG net/mpls/mpls_opcode.c:378:mpls_clean_opcode_push:= exit > > > > > > > MPLS DEBUG net/mpls/mpls_instr.c:73:mpls_instr_release: exit > > > > > > > MPLS DEBUG net/mpls/mpls_instr.c:65:mpls_instr_release: enter > > > > > > > MPLS DEBUG net/mpls/mpls_instr.c:73:mpls_instr_release: exit > > > > > > > MPLS DEBUG net/mpls/mpls_instr.c:95:mpls_instrs_free: exit > > > > > > > MPLS DEBUG net/mpls/mpls_netlink.c:335:genl_mpls_nhlfe_new: E= xit: -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 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 > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking script= ing language > > > > > > that extends applications into web and mobile media. Attend the= live webcast > > > > > > and join the prime developer group breaking into this new codin= g territory! > > > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=110944&bid$1720&d= at=121642 > > > > > > _______________________________________________ > > > > > > mpls-linux-general mailing list > > > > > > mpl...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > >=20 > > > > >=20 > > > > >=20 > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by xPML, a groundbreaking scriptin= g language > > > > > that extends applications into web and mobile media. Attend the l= ive webcast > > > > > and join the prime developer group breaking into this new coding = territory! > > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D2417= 20&dat=3D121642 > > > > > _______________________________________________ > > > > > mpls-linux-general mailing list > > > > > mpl...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > >=20 > >=20 --=20 James R. Leu jl...@mi... |