Re: [mpls-linux-general] MPLS-Linux example problem
Status: Beta
Brought to you by:
jleu
|
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...
|