Thread: [mpls-linux-general] cannot configure nhlfe
Status: Beta
Brought to you by:
jleu
|
From: Dylan S. <sy...@ho...> - 2005-03-16 04:14:35
|
Hi I have been trying to set up LSPs between two computers running mpls-enabled kernels (FC2). I am able to compile the patched kernel source code OK, boot into the new kernel and I run the following commands: # mpls nhlfe add key 0 # mpls nhlfe change key 0x2 instructions push gen 32 nexthop eth0 ipv4 192.168.1.1 The second of these commands returns: RTNETLINK answers: Operation not permitted. The arguments in the command line are consistent with my network setup, and all the other basic instructions (eg. ip route add, mpls labelspace, mpls ilm add) all work as expected. Can you help? cheers Dylan Syme |
|
From: <mar...@ti...> - 2005-07-12 17:23:22
|
Hello, I try to set up a LSP, so I run the following the commands: mpls nhlfe add key 0 mpls nhlfe change key 0x2 instructions push gen 10000 nexthop eth2 ipv4 1= 98.168.12.5 but the second of these commands returns: RTNETLINK answers: Operation not permitted. If I run the command dmesg, the output is: MPLS DEBUG net/mpls/mpls_netlink.c:323:mpls_add_nhlfe: 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:1031:mpls_build_opcode_set: enter MPLS DEBUG net/mpls/mpls_dst.c:169:mpls_dst_alloc: enter MPLS DEBUG net/mpls/mpls_dst.c:212:mpls_dst_alloc: exit(00000000) MPLS DEBUG net/mpls/mpls_opcode.c:1076:mpls_build_opcode_set: SET error b= uilding DST info MPLS DEBUG net/mpls/mpls_opcode.c:1078: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:341:mpls_add_nhlfe: Exit: -1 Can you help? Thanks in advance __________________________________________________________________ TISCALI ADSL 1.25 MEGA Solo con Tiscali Adsl navighi senza limiti di tempo e telefoni senza canone Telecom da 19,95 euro/mese. Attivala entro il 20 luglio, IL PRIMO MESE E' GRATIS Scopri come, clicca qui http://abbonati.tiscali.it/adsl/sa/1e25flat_tc/ |
|
From: James R. L. <jl...@mi...> - 2005-07-12 18:05:07
|
It doesn't like the combination of eth2 and 198.168.12.5 Is 198.168.12.5 a member of the subnet attached to eth2? (I noticed the fi= rst octet is 198 ... should that be 192?) On Tue, Jul 12, 2005 at 07:23:06PM +0200, mar...@ti... wrote: > Hello, > I try to set up a LSP, so I run the following the commands: >=20 > mpls nhlfe add key 0 > mpls nhlfe change key 0x2 instructions push gen 10000 nexthop eth2 ipv4 1= 98.168.12.5 >=20 > but the second of these commands returns: > =20 > RTNETLINK answers: Operation not permitted.=20 >=20 > If I run the command dmesg, the output is: >=20 > MPLS DEBUG net/mpls/mpls_netlink.c:323:mpls_add_nhlfe: 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:1031:mpls_build_opcode_set: enter > MPLS DEBUG net/mpls/mpls_dst.c:169:mpls_dst_alloc: enter > MPLS DEBUG net/mpls/mpls_dst.c:212:mpls_dst_alloc: exit(00000000) > MPLS DEBUG net/mpls/mpls_opcode.c:1076:mpls_build_opcode_set: SET error b= uilding > DST info > MPLS DEBUG net/mpls/mpls_opcode.c:1078: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:341:mpls_add_nhlfe: Exit: -1 >=20 > Can you help? > Thanks in advance >=20 >=20 > __________________________________________________________________ > TISCALI ADSL 1.25 MEGA > Solo con Tiscali Adsl navighi senza limiti di tempo > e telefoni senza canone Telecom da 19,95 euro/mese. > Attivala entro il 20 luglio, IL PRIMO MESE E' GRATIS > Scopri come, clicca qui=20 > http://abbonati.tiscali.it/adsl/sa/1e25flat_tc/ >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happen= ing > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by H= P, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2005-03-16 15:49:48
|
On Wed, Mar 16, 2005 at 03:13:29PM +1100, Dylan Syme wrote:
> Hi
>=20
> I have been trying to set up LSPs between two computers running=20
> mpls-enabled kernels (FC2). I am able to compile the patched kernel sour=
ce=20
> code OK, boot into the new kernel and I run the following commands:
>=20
> # mpls nhlfe add key 0
> # mpls nhlfe change key 0x2 instructions push gen 32 nexthop eth0 ipv4=20
> 192.168.1.1
Please issue the following commands and send the output to the list:
cat /sys/mpls/*
# issue the command the fails
dmesg | grep MPLS
I prefer is you use the 'script' command to capture the output as opposed
to cutting and pasting, but I'll take the output anyway you can get it.
> The second of these commands returns:
>=20
> RTNETLINK answers: Operation not permitted.
>=20
> The arguments in the command line are consistent with my network setup, a=
nd=20
> all the other basic instructions (eg. ip route add, mpls labelspace, mpls=
=20
> ilm add) all work as expected.
>=20
> Can you help?
>=20
> cheers
>=20
> Dylan Syme
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick
> _______________________________________________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--=20
James R. Leu
jl...@mi...
|