[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
|