[mpls-linux-general] "RTNETLINK answers" problems running iproute2 to setup lsp RH8
Status: Beta
Brought to you by:
jleu
|
From: Murthy S. A. <msa...@cs...> - 2003-04-15 23:38:52
|
My kernel is 2.4.18-14. (Redhat 8). I have downloaded mpls-linux, and compiled it following the instructions in the various files that came with it. I have also followed instructions to configure the kernel for MPLS and compiled it. and, also downloaded and compiled iproute2 (iproute2-current...). I am trying to work through the instructions to manually setup an lsp between 2 machines, given in mpls-linux-1.1/utils/README. I am successful at the first two steps, i.e. mplsadm -A -O 0 (Key : 0x00000002) mplsadm -O 0x00000002 -o push:gen:16:set:eth1:ipv4:IPADDRESS_OF_DEST but the next step - ip route add IPADDRESS_OF_DEST/25 lsp 0x00000002 has been failing with RTNETLINK answers : Invalid argument I have looked it up on the net and changed whatever config parameters I could think of in the kernel. also changed the Qos paramters to build statically in the kernel instead of as modules. Nothing works. I have traced the problem to as far as the recvmsg() call in iproute2/lib/libnetlink.c: rtnl_talk(). Do not know if the root of the problem is actually at some stage prior to this call, when we initialize the data structures. Any ideas ? This problem seems to have been reported a lot. and there seems to be no indication of the solution other than to say 'some' kernel config issues. one parameter that is mention is the CONFIG_RTNETLINK, which does not seem to be available in RH8. Any help is greatly appreciated. Thanks a lot in advance Murthy ANdukuri |