[mpls-linux-general] LDP-Portable with ATM switch - Query abt code.
Status: Beta
Brought to you by:
jleu
From: <nc...@si...> - 2001-12-19 10:03:30
|
Hi Mr Leu, I have tried out the latest ldp-portable with an MPLS enabled ATM switch. I performed the following steps: 1) add global "src address". 2) add peer "switch's IP address". When I sniffed on the wire using Ethereal, I noticed that the ATM switch upon receiving the Linux router's "Hello" message, initiated a TCP connection and sent a "Initialization" message to it with ATM session parameters. However, ldp-portable failed to respond. I delved into the code and found out that in the function ldp_stat_recv_init (from ldp_state_funcs), the function ldp_global_find_adj_ldpid returned a NULL value. Looking further I found that ldp_global_find_adj_ldpid called LDP_LIST_HEAD macro which produces a NULL value. I do not really understand why passing &g->adj into LDP_LIST_HEAD, where I think g turns out to be a global variable "cfg_handle", will produce a NULL value... I will appreciate it if u can advise me on this issue.. Anyway I can get around it? Thanks a lot! Regards, Paul >>Date: Tue, 18 Dec 2001 08:54:28 -0600 >>From: James R. Leu <jl...@mi...> >>To: ncc49a <nc...@si...> >>CC: mpl...@li...; eng...@nu... >>Subject: Re: [mpls-linux-general] LDP (linux-port) >> Sorry for not getting back to you earlier. Did someone help you out with this? Mostly likely you don't have MPLS_LINUX defined in the makefile. Jim On Tue, Dec 11, 2001 at 05:52:05PM +0800, ncc49a wrote: > Hi everybody, > > I have downloaded the latest ldp implementation from the > CVS. I have followed the instructions exactly as specified > in the README in /linux-port for a direct connection > between 2 PCs. > > When done, a ldp session seems to have been established > between the 2 linux LSRs. Showing "database", "session" > and "route" all yield some results. > > However, when I tried to > ead /proc/mpls_in, /proc/mpls_out, /proc/mpls_fec files, > they were all blank, contrary to the README. > > That means no label bindings have been established > between the 2 LSRs right? > > From the mailing list, I have noticed Mr Kauder Thorsten > is doing something similiar at the moment. I wonder if you > faced such an issue. > > I guess I must have missed out something. I will > appreciate all help/advice provided. > > Thanks a lot! > > Regards, > > Paul > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... _________________________________________________ The simple way to read all your emails at ThatWeb http://www.thatweb.com |