[mpls-linux-general] Re: Some questions about mpls setup
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2004-09-09 21:49:52
|
On Fri, Sep 10, 2004 at 03:11:12AM +0530, Jikku wrote:
> Hi i have installed the basic packages which were recommended for
> mpls.
> And
> i tried to set up an lsp between
> comp A(10.129.76.41) and comp B(10.129.46.71)
> Configuration on A
> mplsadm2 -A -B -O gen:2612:eth0:ipv4:10.129.46.71 10.129.46.71/24
> mplsadm2 -A -I gen:1232:0
> mplsadm2 -L eth0:0
>
> Configuration on B
> mplsadm2 -A -B -O gen:1232:eth0:ipv4:10.129.76.41 10.129.76.41/24
> mplsadm2 -A -I gen:2612:0
> mplsadm2 -L eth0:0
>
> Then i pinged comp B from A
> but while capturing the traffic between A and B using ETHEREAL
> it only showed packets being pinged using ICMP as protocol(No mention
> of mpls protocol being used)
You need to bind a FEC (a route) to the LSPs.
On A:
ip route add 10.129.46.71/32 via 10.129.46.71 spec_nh 0x8847 <key>
On B:
ip route add 10.129.76.41/32 via 10.129.76.41 spec_nh 0x8847 <key>
*** NOTE you must install the MPLS modified version of iproute2 to use
these commands
> And one more confusion i had was-->
> is how to remove all the lsps set up.Cuz when i " re run" the exact set
> of commands on A it gives error "In Label add: No such process" after
> typing mplsadm2 -A -I gen:1232:0
>
> Is it possible to do delete the lsps using
> mplsadm2 command?
mplsadm2 -D -I gen:1232:0
mplsadm2 -D -O 0x2
> --
> A child when asked to name the seven wonder of the world said:
> "To touch, to taste, to see, to hear, to run, to laugh and to love."
--
James R. Leu
jl...@mi...
|