[mpls-linux-general] Fw: Label
Status: Beta
Brought to you by:
jleu
|
From: Alexandre C. <ale...@re...> - 2002-09-28 00:50:34
|
----- Original Message ----- From: "Alexandre Carlos" <ale...@re...> To: <jl...@mi...> Sent: Friday, September 27, 2002 9:48 PM Subject: Label > A have the following network: > > A----B---C > | > | > D > > I already have as LSP from a to C. And i wnat do create another to D, I > tryied to use the same label from ABC, to ABD, but i think the packets that > r arriving on D dont belong to the original LSP... I hope u can undesta= nd. > > Alex > ----- Original Message ----- > From: "James R. Leu" <jl...@mi...> > To: "Alexandre Carlos" <ale...@re...> > Sent: Tuesday, September 24, 2002 11:51 PM > Subject: Re: MPLS label table > > > > That shoul be fine as long as you only plan to use 'ip' while running= an > > MPLS enabled kernel. > > > > Jim > > > > On Tue, Sep 24, 2002 at 10:46:09PM -0300, Alexandre Carlos wrote: > > > Jim, > > > I=B4ve done the following modification on > > > > > > /sbin/ mv ip ip.old > > > and copyed /usr/src/iproute2/ip/ip to sbin. > > > > > > With this modification the ip route worked, can i do that? > > > > > > Alex > > > ----- Original Message ----- > > > From: "James R. Leu" <jl...@mi...> > > > To: "Alexandre Carlos" <ale...@re...> > > > Sent: Tuesday, September 24, 2002 1:12 PM > > > Subject: Re: MPLS label table > > > > > > > > > > Nope. That is why I sent my configs to the mailing list. (are y= ou > > > > on the mailing list?) > > > > > > > > Jim > > > > > > > > On Tue, Sep 24, 2002 at 12:06:31PM -0300, Alexandre Carlos wrote: > > > > > I=B4m planning to creat the LSPs using LDP, thats why i=B4m usi= ng > ospf... > > > > > > > > > > In your documentation is there a tutorial of using LDP to creat= e > LSP? > > > > > > > > > > Alex > > > > > ----- Original Message ----- > > > > > From: "James R. Leu" <jl...@mi...> > > > > > To: "Alexandre Carlos" <ale...@re...> > > > > > Sent: Tuesday, September 24, 2002 1:04 PM > > > > > Subject: Re: MPLS label table > > > > > > > > > > > > > > > > If you are planning on creating LSP by hand, you will also wa= nt to > > > create > > > > > > your routing table by hand. > > > > > > > > > > > > If you plan to create LSPs dynamically (via LDP) then you wil= l > need a > > > > > routing > > > > > > protocol. > > > > > > > > > > > > Jim > > > > > > > > > > > > On Tue, Sep 24, 2002 at 11:56:10AM -0300, Alexandre Carlos wrote: > > > > > > > Jim, > > > > > > > > > > > > > > Don=B4t i have to start running any routing protocol? or th= e > routing > > > table > > > > > > > i=B4ll have to creat manualy? > > > > > > > > > > > > > > Alex > > > > > > > ----- Original Message ----- > > > > > > > From: "James R. Leu" <jl...@mi...> > > > > > > > To: "Alexandre Carlos" <ale...@re...> > > > > > > > Sent: Tuesday, September 24, 2002 12:56 AM > > > > > > > Subject: Re: MPLS label table > > > > > > > > > > > > > > > > > > > > > > Correct. You cannot add the same route as OSPF has added. > > > > > > > > > > > > > > > > On Mon, Sep 23, 2002 at 11:45:25PM -0300, Alexandre Carlo= s > wrote: > > > > > > > > > Jim the ospfd is running, and i already have that route= , so > i > > > think > > > > > > > thats > > > > > > > > > why i=B4m not adding a new route. > > > > > > > > > > > > > > > > > > I=B4m i right? > > > > > > > > > > > > > > > > > > Alex > > > > > > > > > ----- Original Message ----- > > > > > > > > > From: "James R. Leu" <jl...@mi...> > > > > > > > > > To: "Alexandre Carlos" <ale...@re...> > > > > > > > > > Sent: Tuesday, September 24, 2002 12:27 AM > > > > > > > > > Subject: Re: MPLS label table > > > > > > > > > > > > > > > > > > > > > > > > > > > > Are you sure you are running an MPLS enabled kernel? > > > > > > > > > > > > > > > > > > > > Here is what I do (note I have installed my MPLS enab= led > > > binaries > > > > > in > > > > > > > the > > > > > > > > > > directory /mpls) > > > > > > > > > > > > > > > > > > > > [root uml-1 8:27pm]~-> ifconfig eth1 11.0.1.1 netmask > > > > > 255.255.255.0 > > > > > > > > > > [root uml-1 8:28pm]~-> /mpls/mplsadm2 -A -O 0 > > > > > > > > > > Key: 0x00000002 > > > > > > > > > > Out Segment add: Success > > > > > > > > > > [root uml-1 8:29pm]~-> /mpls/mplsadm2 -O 0x2 -o > > > > > > > > > push:gen:16:set:eth1:ipv4:11.0.1.2 > > > > > > > > > > Out Instr: Success > > > > > > > > > > [root uml-1 8:30pm]~-> /mpls/ip route add 11.0.2.0/24 via > > > 11.0.1.2 > > > > > lsp > > > > > > > 0x2 > > > > > > > > > > [root uml-1 8:30pm]~-> more /proc/net/mpls_out > > > > > > > > > > 0x00000002 0/0/0 1 PUSH(gen 16) SET(eth1,11.0.1.2) > > > > > > > > > > [root uml-1 8:32pm]~-> /mpls/ip route show > > > > > > > > > > 11.0.2.0/24 via 11.0.1.2 dev eth1 lsp 0x2 > > > > > > > > > > 192.168.2.0/24 dev eth0 proto kernel scope link sr= c > > > > > 192.168.2.101 > > > > > > > > > > 11.0.1.0/24 dev eth1 proto kernel scope link src > 11.0.1.1 > > > > > > > > > > 127.0.0.0/8 dev lo scope link > > > > > > > > > > > > > > > > > > > > On Mon, Sep 23, 2002 at 11:12:53PM -0300, Alexandre Carlos > > > wrote: > > > > > > > > > > > Jim, I=B4m just start learning linux... > > > > > > > > > > > > > > > > > > > > > > I typed the following line ./ip/ip route add ... > > > > > > > > > > > > > > > > > > > > > > rtnetlink answer; invalid argument, what i did wron= g? > I=B4ve > > > done > > > > > > > > > everytinhg > > > > > > > > > > > as u told to > > > > > > > > > > > > > > > > > > > > > > Alex > > > > > > > > > > > ----- Original Message ----- > > > > > > > > > > > From: "James R. Leu" <jl...@mi...> > > > > > > > > > > > To: "Alexandre Carlos" <ale...@re...> > > > > > > > > > > > Sent: Tuesday, September 24, 2002 12:08 AM > > > > > > > > > > > Subject: Re: MPLS label table > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > If you are in the iproute2 directory, type ./ip/i= p > > > > > > > > > > > > > > > > > > > > > > > > Are you familar with how a unix/linux shell searc= hes > for > > > > > > > executable > > > > > > > > > files? > > > > > > > > > > > > > > > > > > > > > > > > Jim > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Sep 23, 2002 at 10:52:58PM -0300, Alexand= re > Carlos > > > > > wrote: > > > > > > > > > > > > > When i type ./ip route add ... on the iproute2 > directory > > > i > > > > > > > receive > > > > > > > > > the > > > > > > > > > > > > > message ./ip is a directory... > > > > > > > > > > > > > > > > > > > > > > > > > > Alex > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > > > > > > > From: "James R. Leu" <jl...@mi...> > > > > > > > > > > > > > To: "Alexandre Carlos" <ale...@re...> > > > > > > > > > > > > > Sent: Monday, September 23, 2002 11:49 PM > > > > > > > > > > > > > Subject: Re: MPLS label table > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Do you type just 'ip' or do you type './ip' o= r do > you > > > type > > > > > > > > > something > > > > > > > > > > > > > > like '/home/jleu/iproute2/ip/ip'? > > > > > > > > > > > > > > > > > > > > > > > > > > > > Jim > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Sep 23, 2002 at 10:44:46PM -0300, > Alexandre > > > Carlos > > > > > > > wrote: > > > > > > > > > > > > > > > Jim i=B4ve just re-installed the iproute2 = and > patched > > > > > > > iproute2, > > > > > > > > > but > > > > > > > > > > > still > > > > > > > > > > > > > > > have the same error > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Alex > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > > > > > > > > > From: "James R. Leu" <jl...@mi...> > > > > > > > > > > > > > > > To: "Alexandre Carlos" <ale...@re...> > > > > > > > > > > > > > > > Sent: Monday, September 23, 2002 11:18 PM > > > > > > > > > > > > > > > Subject: Re: MPLS label table > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Did you download the source to iproute2 a= nd > patch > > > it > > > > > with > > > > > > > > > iproute2 > > > > > > > > > > > > > diff > > > > > > > > > > > > > > > > from mpls-linux? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Are you specifing the path to 'ip'? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Jim > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Sep 23, 2002 at 10:09:27PM -0300, > > > Alexandre > > > > > Carlos > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > error: either "to" is duplicate, or "ls= p" is > a > > > > > garbage > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Alex > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > > > > > > > > > > > From: "James R. Leu" <jleu@mindspring.c= om> > > > > > > > > > > > > > > > > > To: "Alexandre Carlos" > <ale...@re...> > > > > > > > > > > > > > > > > > Sent: Monday, September 23, 2002 11:04 = PM > > > > > > > > > > > > > > > > > Subject: Re: MPLS label table > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > What is the error mesg? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Jim > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Sep 23, 2002 at 10:00:37PM -0300, > > > > > Alexandre > > > > > > > Carlos > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > Jim, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > When i type the following command i= p > route > > > add > > > > > > > > > > > 182.168.1.1/24 > > > > > > > > > > > > > lsp > > > > > > > > > > > > > > > > > 0x00000008 > > > > > > > > > > > > > > > > > > > i receive an error message, do u kn= ow > why? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Alex > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > > > > > > > > > > > > > From: "James R. Leu" > <jl...@mi...> > > > > > > > > > > > > > > > > > > > To: "Alexandre Carlos" > > > <ale...@re...> > > > > > > > > > > > > > > > > > > > Sent: Monday, September 23, 2002 11= :00 > PM > > > > > > > > > > > > > > > > > > > Subject: Re: MPLS label table > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /proc/net/mpls_* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Sep 23, 2002 at > 07:02:08PM -0300, > > > > > > > Alexandre > > > > > > > > > Carlos > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > Jim, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Where can i see my lable? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Alex > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > James R. Leu > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > James R. Leu > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > James R. Leu > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > James R. Leu > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > James R. Leu > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > James R. Leu > > > > > > > > > > > > > > > > -- > > > > > > > > James R. Leu > > > > > > > > > > > > -- > > > > > > James R. Leu > > > > > > > > -- > > > > James R. Leu > > > > -- > > James R. Leu > |