Re: [mpls-linux-general] output: invalid ???
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2003-10-06 18:02:57
|
On Tue, Oct 07, 2003 at 12:40:48AM +0700, hoangthanh19 wrote: > I have complied mplsadm2 successfully. > But when I run some example commands (on file mplsadm-usage), it fail and the output like this. > ./mplsadm2 -A -l gen:16:0 > -->Label Space:invalid > ./mplsadm2 -A -O -0 > -->key 0x00000000 > Out Segment add : Invalid argument > ./mplsadm2 -O 0x00000000 -o push:gen:eth0:ipv4:10.70.75.2 > -->Out Instr: Invalid argument I'm not sure where you got those commands but they are wrong. 'mplsadm2 -A -l gen:16:0' should be 'mplsadm2 -A -I gen:16:0' 'mplsadm2 -A -O -0' should be 'mplsadm2 -A -O 0' 'mplsadm2 -O 0x00000000 -o push:gen:eth0:ipv4:10.70.75.2' is correct execept you should have a non-zero key (the output from 'mplsadm2 -A -O 0') > And in the directory /proc/net/ there is not directory mpls_*. You're not running a MPLS enabled kernel. You MUST be running an MPLS enabled kernel. Compiling an MPLS enabled kernel is not enough. You must install and run an MPLS enabled kernel. Look at the previous e-mail I sent. > I have one PC and one Ethernet Card (ip address 10.70.75.1). Do I have to install on 2 PC (connected) to run these command successfully? Or it was faild by another reason? You will be able to execute these commands without a second machine. > I don't know if I can find something like error log in mplsadm to find out the reason of these output error ? As soon as you're running a MPLS enabled kernel you will be able to turn on MPLS kernel debugging (read the Debugging section at http://mpls-linux.sf.net/) > Thanks you very much. Just to make sure I am absolutly clear. If you do not have the files /proc/net/mpls_*, you are not running an MPLS enabled kernel. You need to be running an MPLS enabled kernel! -- James R. Leu jl...@mi... |