On Thu, Oct 21, 2004 at 07:26:59PM +0800, ?????x wrote:
> Hi,
>
> I got a problem when I try the MPLS-Linux example after I install the mpls-linux software. The steps I did were:
>
> [root@ root]# mplsadm2 -A -O 0
> Key: 0x00000002
> Out Segment add: Success
> [root@ root]# mplsadm2 -O 0x2 -o push:gen:10000:set:eth1:ipv4:11.0.1.2
> Out Instr: Success
> [root@ root]# ip route add 11.0.1.2/32 via 11.0.1.2 lsp 0x2
> Error: either: "to" is duplicate or "lsp" is a garbage
You're using the old syntax. Where did you see this syntax?
It is supposed to be:
ip route add 11.0.1.2/32 via 11.0.1.2 spec_nh 0x8847 0x2
Where 0x8847 tells the spec_nh system that this is a MPLS nexthop, and
0x2 tells which NHLFE to use.
>
> Is there anything wrong?
>
>
> Thanks.
>
> Timothy
>
> 2004.10.21
--
James R. Leu
jl...@mi...
|