Thread: [mpls-linux-general] MPLS-Linux example problem
Status: Beta
Brought to you by:
jleu
|
From: O. <aol...@av...> - 2006-03-13 17:33:43
|
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 command: (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_new: enter 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(00000000) 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: Exit: -1 I'm using the kernel/tools from perforce4 server... Do you have any ideas? André Oliveira |
|
From: Adrian P. <adr...@gm...> - 2006-03-13 18:35:09
|
I'm not sure if this helps, but try to issue a cat /sys/mpls/version 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 longer valid. For examples (for version 1.950) see this link: http://sourceforge.net/docman/?group_id=3D15443 Hope it works out for you. On 3/13/06, Andr=E9 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 command: > > (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_new: enter > 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(00000000) > 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: Exit: -1 > > > I'm using the kernel/tools from perforce4 server... > > Do you have any ideas? > > > Andr=E9 Oliveira > > > > ------------------------------------------------------- > 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 > |
|
From: O. <aol...@av...> - 2006-03-13 22:23:39
|
Yes, I'm using version 1.950. I'll try the examples pointed by you. Thank you! On Mon, 2006-03-13 at 20:35 +0200, Adrian Popa wrote: > I'm not sure if this helps, but try to issue a > > cat /sys/mpls/version > > 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 longer valid. > For examples (for version 1.950) see this link: > > http://sourceforge.net/docman/?group_id=15443 > > Hope it works out for you. > > 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 command: > > > > (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_new: enter > > 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(00000000) > > 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: 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. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > mpls-linux-general mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general |
|
From: O. <aol...@av...> - 2006-03-13 23:18:21
|
Hi again! 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 in LER2: uml2:~# mpls ilm add label gen 1000 labelspace 0 RTNETLINK answers: Cannot allocate memory dmesg shows: 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 Any ideas? On Mon, 2006-03-13 at 20:35 +0200, Adrian Popa wrote: > I'm not sure if this helps, but try to issue a > > cat /sys/mpls/version > > 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 longer valid. > For examples (for version 1.950) see this link: > > http://sourceforge.net/docman/?group_id=15443 > > Hope it works out for you. > > 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 command: > > > > (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_new: enter > > 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(00000000) > > 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: 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. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > mpls-linux-general mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general |
|
From: James R. L. <jl...@mi...> - 2006-03-14 02:46:19
|
Make sure you've loaded the mpls4 module:
modprobe mpls4
(by default all ILMs are bound to IPv4 as the upper layer protocol. You
can override this behavior using the 'protocol' parameter)
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 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: 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 examples
> > in http://mpls-linux.sourceforge.net/simple.php are no longer 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 one)
> > > and I'm having some problems when I execute the second command:
> > >
> > > (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_new: enter
> > > 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(00000000)
> > > MPLS DEBUG net/mpls/mpls_opcode.c:1080:mpls_build_opcode_set: SET err=
or
> > > 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: 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 la=
nguage
> > > that extends applications into web and mobile media. Attend the live =
webcast
> > > and join the prime developer group breaking into this new coding terr=
itory!
> > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&d=
at=3D121642
> > > _______________________________________________
> > > mpls-linux-general mailing list
> > > mpl...@li...
> > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
> > >
> >=20
> >=20
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting lang=
uage
> > that extends applications into web and mobile media. Attend the live we=
bcast
> > and join the prime developer group breaking into this new coding territ=
ory!
> > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=110944&bid$1720&dat=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 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...
|
|
From: O. <aol...@av...> - 2006-03-14 10:59:50
|
I'm using UML machines with mpls compiled in the kernel and not as a module... On Mon, 2006-03-13 at 20:46 -0600, James R. Leu wrote: > Make sure you've loaded the mpls4 module: > > modprobe mpls4 > > (by default all ILMs are bound to IPv4 as the upper layer protocol. You > can override this behavior using the 'protocol' parameter) > > On Mon, Mar 13, 2006 at 11:18:10PM +0000, Andr? Oliveira wrote: > > Hi again! > > > > 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 in LER2: > > > > uml2:~# mpls ilm add label gen 1000 labelspace 0 > > RTNETLINK answers: Cannot allocate memory > > > > dmesg shows: > > > > > > 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 > > > > Any ideas? > > > > > > On Mon, 2006-03-13 at 20:35 +0200, Adrian Popa wrote: > > > I'm not sure if this helps, but try to issue a > > > > > > cat /sys/mpls/version > > > > > > 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 longer valid. > > > For examples (for version 1.950) see this link: > > > > > > http://sourceforge.net/docman/?group_id=15443 > > > > > > Hope it works out for you. > > > > > > 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 command: > > > > > > > > (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_new: enter > > > > 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(00000000) > > > > 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: 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. Attend the live webcast > > > > and join the prime developer group breaking into this new coding territory! > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > _______________________________________________ > > > > mpls-linux-general mailing list > > > > mpl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > > that extends applications into web and mobile media. Attend the live webcast > > > and join the prime developer group breaking into this new coding territory! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > > > _______________________________________________ > > > mpls-linux-general mailing list > > > mpl...@li... > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > mpls-linux-general mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > |
|
From: James R. L. <jl...@mi...> - 2006-03-14 14:08:45
|
Then you forgot to compile in IPv4 support for MPLS. 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 in LE= R2: > > >=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 examples > > > > in http://mpls-linux.sourceforge.net/simple.php are no longer 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 one) > > > > > and I'm having some problems when I execute the second command: > > > > > > > > > > (none):~# mpls nhlfe change key 0x4 instructions push gen 1000 ne= xthop > > > > > 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: enter > > > > > MPLS DEBUG net/mpls/mpls_opcode.c:345:mpls_build_opcode_push: ent= er > > > > > 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: ent= er > > > > > MPLS DEBUG net/mpls/mpls_dst.c:169:mpls_dst_alloc: enter > > > > > MPLS DEBUG net/mpls/mpls_dst.c:216:mpls_dst_alloc: exit(00000000) > > > > > 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: ent= er > > > > > 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: 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 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 > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting = language > > > > that extends applications into web and mobile media. Attend the liv= e webcast > > > > and join the prime developer group breaking into this new coding te= rritory! > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=110944&bid$1720&dat= =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 scripting la= nguage > > > that extends applications into web and mobile media. Attend the live = webcast > > > and join the prime developer group breaking into this new coding terr= itory! > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&d= at=3D121642 > > > _______________________________________________ > > > mpls-linux-general mailing list > > > mpl...@li... > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > >=20 --=20 James R. Leu jl...@mi... |
|
From: O. <aol...@av...> - 2006-03-14 14:16:48
|
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. Now I'm going to try the Ethernet/MPLS. Thank you for your help. André Oliveira On Tue, 2006-03-14 at 08:08 -0600, James R. Leu wrote: > Then you forgot to compile in IPv4 support for MPLS. > > On Tue, Mar 14, 2006 at 10:59:41AM +0000, Andr? Oliveira wrote: > > > > I'm using UML machines with mpls compiled in the kernel and not as a > > module... > > > > On Mon, 2006-03-13 at 20:46 -0600, James R. Leu wrote: > > > Make sure you've loaded the mpls4 module: > > > > > > modprobe mpls4 > > > > > > (by default all ILMs are bound to IPv4 as the upper layer protocol. You > > > can override this behavior using the 'protocol' parameter) > > > > > > On Mon, Mar 13, 2006 at 11:18:10PM +0000, Andr? Oliveira wrote: > > > > Hi again! > > > > > > > > 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 in LER2: > > > > > > > > uml2:~# mpls ilm add label gen 1000 labelspace 0 > > > > RTNETLINK answers: Cannot allocate memory > > > > > > > > dmesg shows: > > > > > > > > > > > > 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 > > > > > > > > Any ideas? > > > > > > > > > > > > On Mon, 2006-03-13 at 20:35 +0200, Adrian Popa wrote: > > > > > I'm not sure if this helps, but try to issue a > > > > > > > > > > cat /sys/mpls/version > > > > > > > > > > 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 longer valid. > > > > > For examples (for version 1.950) see this link: > > > > > > > > > > http://sourceforge.net/docman/?group_id=15443 > > > > > > > > > > Hope it works out for you. > > > > > > > > > > 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 command: > > > > > > > > > > > > (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_new: enter > > > > > > 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(00000000) > > > > > > 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: 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. Attend the live webcast > > > > > > and join the prime developer group breaking into this new coding territory! > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > > > _______________________________________________ > > > > > > mpls-linux-general mailing list > > > > > > mpl...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > > > > that extends applications into web and mobile media. Attend the live webcast > > > > > and join the prime developer group breaking into this new coding territory! > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > > > > > _______________________________________________ > > > > > mpls-linux-general mailing list > > > > > mpl...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > > > that extends applications into web and mobile media. Attend the live webcast > > > > and join the prime developer group breaking into this new coding territory! > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > _______________________________________________ > > > > mpls-linux-general mailing list > > > > mpl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > |
|
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... |
|
From: O. <aol...@av...> - 2006-03-14 14:34:58
|
Sure, checked that. The ebtables version is the "standard" one, right? 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. > > 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. > > Now I'm going to try the Ethernet/MPLS. > > > > Thank you for your help. > > > > Andr? Oliveira > > > > On Tue, 2006-03-14 at 08:08 -0600, James R. Leu wrote: > > > Then you forgot to compile in IPv4 support for MPLS. > > > > > > On Tue, Mar 14, 2006 at 10:59:41AM +0000, Andr? Oliveira wrote: > > > > > > > > I'm using UML machines with mpls compiled in the kernel and not as a > > > > module... > > > > > > > > On Mon, 2006-03-13 at 20:46 -0600, James R. Leu wrote: > > > > > Make sure you've loaded the mpls4 module: > > > > > > > > > > modprobe mpls4 > > > > > > > > > > (by default all ILMs are bound to IPv4 as the upper layer protocol. You > > > > > can override this behavior using the 'protocol' parameter) > > > > > > > > > > On Mon, Mar 13, 2006 at 11:18:10PM +0000, Andr? Oliveira wrote: > > > > > > Hi again! > > > > > > > > > > > > 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 in LER2: > > > > > > > > > > > > uml2:~# mpls ilm add label gen 1000 labelspace 0 > > > > > > RTNETLINK answers: Cannot allocate memory > > > > > > > > > > > > dmesg shows: > > > > > > > > > > > > > > > > > > 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 > > > > > > > > > > > > Any ideas? > > > > > > > > > > > > > > > > > > On Mon, 2006-03-13 at 20:35 +0200, Adrian Popa wrote: > > > > > > > I'm not sure if this helps, but try to issue a > > > > > > > > > > > > > > cat /sys/mpls/version > > > > > > > > > > > > > > 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 longer valid. > > > > > > > For examples (for version 1.950) see this link: > > > > > > > > > > > > > > http://sourceforge.net/docman/?group_id=15443 > > > > > > > > > > > > > > Hope it works out for you. > > > > > > > > > > > > > > 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 command: > > > > > > > > > > > > > > > > (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_new: enter > > > > > > > > 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(00000000) > > > > > > > > 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: 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. Attend the live webcast > > > > > > > > and join the prime developer group breaking into this new coding territory! > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > > > > > _______________________________________________ > > > > > > > > mpls-linux-general mailing list > > > > > > > > mpl...@li... > > > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > > > > > > that extends applications into web and mobile media. Attend the live webcast > > > > > > > and join the prime developer group breaking into this new coding territory! > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > > > > > > > _______________________________________________ > > > > > > > mpls-linux-general mailing list > > > > > > > mpl...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > > > > > that extends applications into web and mobile media. Attend the live webcast > > > > > > and join the prime developer group breaking into this new coding territory! > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > > > _______________________________________________ > > > > > > mpls-linux-general mailing list > > > > > > mpl...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > |
|
From: James R. L. <jl...@mi...> - 2006-03-14 17:22:13
|
Nope. You need an mpls enabled version of ebtables. There is a FC4 RPM as well as a source RPM on the SF site. There is also a patch in the mpls-linux tar ball (also on SF). On Tue, Mar 14, 2006 at 02:34:45PM +0000, Andr? Oliveira wrote: > Sure, checked that. The ebtables version is the "standard" one, right? >=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... |
|
From: O. <aol...@av...> - 2006-03-14 14:38:18
|
Oh, another thing, there are some missings in the IPv4/MPLS guide: both "ip route" commands miss the "add" token before the ip address. the "mpls xc ilm_label" also misses an "add" before "ilm_label" 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. > > 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. > > Now I'm going to try the Ethernet/MPLS. > > > > Thank you for your help. > > > > Andr? Oliveira > > > > On Tue, 2006-03-14 at 08:08 -0600, James R. Leu wrote: > > > Then you forgot to compile in IPv4 support for MPLS. > > > > > > On Tue, Mar 14, 2006 at 10:59:41AM +0000, Andr? Oliveira wrote: > > > > > > > > I'm using UML machines with mpls compiled in the kernel and not as a > > > > module... > > > > > > > > On Mon, 2006-03-13 at 20:46 -0600, James R. Leu wrote: > > > > > Make sure you've loaded the mpls4 module: > > > > > > > > > > modprobe mpls4 > > > > > > > > > > (by default all ILMs are bound to IPv4 as the upper layer protocol. You > > > > > can override this behavior using the 'protocol' parameter) > > > > > > > > > > On Mon, Mar 13, 2006 at 11:18:10PM +0000, Andr? Oliveira wrote: > > > > > > Hi again! > > > > > > > > > > > > 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 in LER2: > > > > > > > > > > > > uml2:~# mpls ilm add label gen 1000 labelspace 0 > > > > > > RTNETLINK answers: Cannot allocate memory > > > > > > > > > > > > dmesg shows: > > > > > > > > > > > > > > > > > > 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 > > > > > > > > > > > > Any ideas? > > > > > > > > > > > > > > > > > > On Mon, 2006-03-13 at 20:35 +0200, Adrian Popa wrote: > > > > > > > I'm not sure if this helps, but try to issue a > > > > > > > > > > > > > > cat /sys/mpls/version > > > > > > > > > > > > > > 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 longer valid. > > > > > > > For examples (for version 1.950) see this link: > > > > > > > > > > > > > > http://sourceforge.net/docman/?group_id=15443 > > > > > > > > > > > > > > Hope it works out for you. > > > > > > > > > > > > > > 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 command: > > > > > > > > > > > > > > > > (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_new: enter > > > > > > > > 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(00000000) > > > > > > > > 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: 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. Attend the live webcast > > > > > > > > and join the prime developer group breaking into this new coding territory! > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > > > > > _______________________________________________ > > > > > > > > mpls-linux-general mailing list > > > > > > > > mpl...@li... > > > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > > > > > > that extends applications into web and mobile media. Attend the live webcast > > > > > > > and join the prime developer group breaking into this new coding territory! > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > > > > > > > _______________________________________________ > > > > > > > mpls-linux-general mailing list > > > > > > > mpl...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > > > > > that extends applications into web and mobile media. Attend the live webcast > > > > > > and join the prime developer group breaking into this new coding territory! > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > > > _______________________________________________ > > > > > > mpls-linux-general mailing list > > > > > > mpl...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > |
|
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... |
|
From: O. <aol...@av...> - 2006-03-14 15:16:19
|
It seems that a patched version of ebtables is needed... uml1:~# ebtables -t nat -A PREROUTING -i eth1 -j mpls --nhlfe 0x2 Illegal target name. Where can I get it? André Oliveira 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. > > 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. > > Now I'm going to try the Ethernet/MPLS. > > > > Thank you for your help. > > > > Andr? Oliveira > > > > On Tue, 2006-03-14 at 08:08 -0600, James R. Leu wrote: > > > Then you forgot to compile in IPv4 support for MPLS. > > > > > > On Tue, Mar 14, 2006 at 10:59:41AM +0000, Andr? Oliveira wrote: > > > > > > > > I'm using UML machines with mpls compiled in the kernel and not as a > > > > module... > > > > > > > > On Mon, 2006-03-13 at 20:46 -0600, James R. Leu wrote: > > > > > Make sure you've loaded the mpls4 module: > > > > > > > > > > modprobe mpls4 > > > > > > > > > > (by default all ILMs are bound to IPv4 as the upper layer protocol. You > > > > > can override this behavior using the 'protocol' parameter) > > > > > > > > > > On Mon, Mar 13, 2006 at 11:18:10PM +0000, Andr? Oliveira wrote: > > > > > > Hi again! > > > > > > > > > > > > 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 in LER2: > > > > > > > > > > > > uml2:~# mpls ilm add label gen 1000 labelspace 0 > > > > > > RTNETLINK answers: Cannot allocate memory > > > > > > > > > > > > dmesg shows: > > > > > > > > > > > > > > > > > > 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 > > > > > > > > > > > > Any ideas? > > > > > > > > > > > > > > > > > > On Mon, 2006-03-13 at 20:35 +0200, Adrian Popa wrote: > > > > > > > I'm not sure if this helps, but try to issue a > > > > > > > > > > > > > > cat /sys/mpls/version > > > > > > > > > > > > > > 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 longer valid. > > > > > > > For examples (for version 1.950) see this link: > > > > > > > > > > > > > > http://sourceforge.net/docman/?group_id=15443 > > > > > > > > > > > > > > Hope it works out for you. > > > > > > > > > > > > > > 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 command: > > > > > > > > > > > > > > > > (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_new: enter > > > > > > > > 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(00000000) > > > > > > > > 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: 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. Attend the live webcast > > > > > > > > and join the prime developer group breaking into this new coding territory! > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > > > > > _______________________________________________ > > > > > > > > mpls-linux-general mailing list > > > > > > > > mpl...@li... > > > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > > > > > > that extends applications into web and mobile media. Attend the live webcast > > > > > > > and join the prime developer group breaking into this new coding territory! > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > > > > > > > _______________________________________________ > > > > > > > mpls-linux-general mailing list > > > > > > > mpl...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > > > > > that extends applications into web and mobile media. Attend the live webcast > > > > > > and join the prime developer group breaking into this new coding territory! > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > > > _______________________________________________ > > > > > > mpls-linux-general mailing list > > > > > > mpl...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > |
|
From: O. <aol...@av...> - 2006-03-14 11:33:21
|
I found something wrong with my kernel... the CONFIG_IP_MPLS was deactivated! I'll try it now On Mon, 2006-03-13 at 20:46 -0600, James R. Leu wrote: > Make sure you've loaded the mpls4 module: > > modprobe mpls4 > > (by default all ILMs are bound to IPv4 as the upper layer protocol. You > can override this behavior using the 'protocol' parameter) > > On Mon, Mar 13, 2006 at 11:18:10PM +0000, Andr? Oliveira wrote: > > Hi again! > > > > 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 in LER2: > > > > uml2:~# mpls ilm add label gen 1000 labelspace 0 > > RTNETLINK answers: Cannot allocate memory > > > > dmesg shows: > > > > > > 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 > > > > Any ideas? > > > > > > On Mon, 2006-03-13 at 20:35 +0200, Adrian Popa wrote: > > > I'm not sure if this helps, but try to issue a > > > > > > cat /sys/mpls/version > > > > > > 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 longer valid. > > > For examples (for version 1.950) see this link: > > > > > > http://sourceforge.net/docman/?group_id=15443 > > > > > > Hope it works out for you. > > > > > > 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 command: > > > > > > > > (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_new: enter > > > > 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(00000000) > > > > 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: 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. Attend the live webcast > > > > and join the prime developer group breaking into this new coding territory! > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > _______________________________________________ > > > > mpls-linux-general mailing list > > > > mpl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > > that extends applications into web and mobile media. Attend the live webcast > > > and join the prime developer group breaking into this new coding territory! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > > > _______________________________________________ > > > mpls-linux-general mailing list > > > mpl...@li... > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > mpls-linux-general mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > |