Thread: [mpls-linux-general] LDP session failure
Status: Beta
Brought to you by:
jleu
|
From: Rudy S W. <rs...@an...> - 2004-02-09 20:47:31
|
Hello,
I've downloaded the new ldp-portable and zebra-ldp from James' p4 server,
then recompiled with the zebra/ldp with both new versions (installed
mpls-linux-1.1, iptables, iproute2, ppp, glibc, with rpm from mpls
homepage). I'm trying to test the ldp label distribution of ldp-portable.
My topology is just two 2.4.18 red hat machines directly connected. I can
run zebra and ospfd daemons and see ospf neigbors.
Currently:
on comp A:
uml-1-ospf# sho ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
RXmtL RqstL DBsmL
192.168.0.2 1 Full/DR 00:00:34 10.3.3.6 eth1:10.3.3.5
0 0 0
on comp B:
uml-1-ospf# sho ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
RXmtL RqstL DBsmL
192.168.0.2 1 Full/Backup 00:00:33 10.3.3.5 eth1:10.3.3.6
0 0 0
My goal is to start an ldp session and see the LDP peers exchange labels.
After I start mplsd I can see both comp A and comp B see ldp neighbors
with "show ldp neighbor".
However, on comp A machine the debug messages come up with:
on Comp A
connect: Network is unreachable
OUT: ldp_session_attempt_setp: MPLS_FAILURE
On comp A
uml-1#show ldp session
2 192.168.0.2 0 NON-EXIST
but for comp B
there's no MPLS_FAILURE
uml-2#show ldp session
no established sessions
When I run mplsd with "mpls ldp" in the mplsd.conf, it gives me a
segmentation fault, and i ran it in gdb looks like vty is looking for an
interface.
I start mplsd in gdb and run it without the "mpls ldp in the mplsd.conf,
then i manually enable mpls ldp by telnet to mplsd. After that I can see
that both machines can see each other with "show ldp neighbor". However,
when i try to show ldp discovery, sometimes it seg faults with this
message:
in ldp_cfg_entity_get.... at ldp_cfg.c:341
341 e->adj_index = a ? a->index : 0;
I'm sorry there's so much in this email, I've been struggling to get mpls
up and running. Thanks for any help you can give me.
~rsw
|
|
From: Rudy S W. <rs...@an...> - 2004-03-29 22:45:52
|
Hello, I've been working with ldp-portable for the past few months in order to adopt it to a thesis project that I'm completing. I'm wondering if there is support to negotiate a label binding for an FEC that uses both a source and destination IP address? From what I've seen in ldp_nortel.h, and fec can only be associated with either a source or destination IP addr but not both. If i were to modify the ldp-portable to support this type of FEC, are there any major difficulties that may occur? I know I've got to modify ldp_fec.c, ldp_state_func.c, mpls_global.h, and ldp_nortel.c to accomodate this change, would this be all that is necessary? Thanks for any help! ~rsw |
|
From: James R. L. <jl...@mi...> - 2004-03-30 02:30:31
|
What are you trying to accomplish, there might be a better way to do this. For example you could use the path tlv to know where a label request originated (source). On Mon, Mar 29, 2004 at 05:45:50PM -0500, Rudy S Wen wrote: > Hello, > > I've been working with ldp-portable for the past few months in order to > adopt it to a thesis project that I'm completing. I'm wondering if there > is support to negotiate a label binding for an FEC that uses both a source > and destination IP address? From what I've seen in ldp_nortel.h, and fec > can only be associated with either a source or destination IP addr but > not both. If i were to modify the ldp-portable to support this type of > FEC, are there any major difficulties that may occur? I know I've got to > modify ldp_fec.c, ldp_state_func.c, mpls_global.h, and ldp_nortel.c to > accomodate this change, would this be all that is necessary? > > Thanks for any help! > ~rsw > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: Rudy S W. <rs...@an...> - 2004-03-30 05:22:34
|
I'm trying to associate a label and some QoS parameters with a
specific FEC the uses both the source and destination IP address (IP
packet from the ingress LER). I want to give different QoS service levels
to IP hosts connected to an ingress LER that may be destined for the same
egress LER interface.
IP(10.2.2.2)
\
ingress LER -------- egress LER----IP(10.4.4.5)
/
IP(10.1.1.1)
If traffic from 10.1.1.1 and 10.2.2.2 want to reach 10.4.4.5, they can
have two different labels. In the label mapping procedure, I want to be
able to send two different IP address in the FEC tlv with one associated
with the source IP address and another with the destination IP address. Is
there any mechanism in ldp-portable to accomplish this?
~rsw
On Mon, 29 Mar 2004, James R. Leu wrote:
> What are you trying to accomplish, there might be a better way to
> do this. For example you could use the path tlv to know where a
> label request originated (source).
>
> On Mon, Mar 29, 2004 at 05:45:50PM -0500, Rudy S Wen wrote:
> > Hello,
> >
> > I've been working with ldp-portable for the past few months in order to
> > adopt it to a thesis project that I'm completing. I'm wondering if there
> > is support to negotiate a label binding for an FEC that uses both a source
> > and destination IP address? From what I've seen in ldp_nortel.h, and fec
> > can only be associated with either a source or destination IP addr but
> > not both. If i were to modify the ldp-portable to support this type of
> > FEC, are there any major difficulties that may occur? I know I've got to
> > modify ldp_fec.c, ldp_state_func.c, mpls_global.h, and ldp_nortel.c to
> > accomodate this change, would this be all that is necessary?
> >
> > Thanks for any help!
> > ~rsw
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > GenToo technologies. Learn everything from fundamentals to system
> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > mpls-linux-general mailing list
> > mpl...@li...
> > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
>
> --
> James R. Leu
> jl...@mi...
>
>
|