[mpls-linux-general] ldp crash on "add route"
Status: Beta
Brought to you by:
jleu
From: Yvan P. <yv...@vi...> - 2001-07-20 20:46:35
|
Hi, I am trying to add routes manually within ldp_linux but the program aborts. I still use the same configuration (chain of 5 machines). Routing information: LER A Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.2.2 * 255.255.255.255 UH 0 0 0 eth2 10.0.1.1 * 255.255.255.255 UH 0 0 0 eth1 10.0.1.0 * 255.255.255.0 U 0 0 0 eth1 10.0.2.0 * 255.255.255.0 U 0 0 0 eth2 subnet * 255.255.255.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default gw 0.0.0.0 UG 0 0 0 eth0 LSR Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.2.1 * 255.255.255.255 UH 0 0 0 eth2 10.0.3.1 * 255.255.255.255 UH 0 0 0 eth3 10.0.3.2 * 255.255.255.255 UH 0 0 0 eth3 10.0.2.0 * 255.255.255.0 U 0 0 0 eth2 10.0.3.0 * 255.255.255.0 U 0 0 0 eth3 subnet * 255.255.255.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default gw 0.0.0.0 UG 0 0 0 eth0 LER B Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.4.2 * 255.255.255.255 UH 0 0 0 eth4 10.0.4.0 * 255.255.255.0 U 0 0 0 eth4 10.0.3.0 * 255.255.255.0 U 0 0 0 eth3 subnet * 255.255.255.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default gateway 0.0.0.0 UG 0 0 0 eth0 I run ldp_linux on the 3 routers, then on LER B I try to add the route 10.0.1.1/32 via 10.0.3.1 and ldp_linux crashes (see below output with gdb). My goal is to add 10.0.1.1/32 on LERB, 10.0.4.2/32 on LERA, and both 10.0.1.1/32 and 10.0.4.2/32 on LSR. If I do so, ldp should establish the LSPs between 10.0.4.2 and 10.0.1.1, correct ? =====================output of gdb on LERB=========================== Adding route 0a000101/32 via 0 prompt>TCP_DATA TCP_DATA 32 Before header decode: size = 32 Entered notif state ldp_linux: ldp_fec.c:374: fec_tlv2ldp_fec: Assertion `0' failed. Program received signal SIGABRT, Aborted. 0x40037d41 in __kill () from /lib/libc.so.6 (gdb) where #0 0x40037d41 in __kill () from /lib/libc.so.6 #1 0x400379b6 in raise (sig=6) at ../sysdeps/posix/raise.c:27 #2 0x400390d8 in abort () at ../sysdeps/generic/abort.c:88 #3 0x40031bae in __assert_fail () at assert.c:59 #4 0x80601ca in fec_tlv2ldp_fec (tlv=0x8098d78, i=0, lf=0xbfffb804) at ldp_fec.c:374 #5 0x806518a in ldp_notif_no_route (g=0x8079df0, s=0x8089a98, e=0x0, s_attr=0x8098d20) at ldp_notif.c:236 #6 0x806505b in ldp_notif_process (g=0x8079df0, s=0x8089a98, a=0x0, e=0x0, r_attr=0x8098d20) at ldp_notif.c:156 #7 0x805f192 in ldp_state_notif (g=0x8079df0, s=0x8089a98, adj=0x0, entity=0x0, event=6, msg=0xbfffb95c, from=0xbffff94c) at ldp_state_funcs.c:465 #8 0x805e5a1 in ldp_state_machine (g=0x8079df0, session=0x8089a98, adj=0x0, entity=0x0, event=6, msg=0xbfffb95c, from=0xbffff94c) at ldp_state_machine.c:397 #9 0x805e3f0 in ldp_event (g=0x8079df0, socket=10, user_from=0x0, if_handle=0, buf=0x80759c0, extra=0x8089a98, event=LDP_EVENT_NOTIF) at ldp_state_machine.c:317 #10 0x804acea in main (argc=1, argv=0xbffffb04) at ldp_linux.c:890 Do you have any idea of what is going on ? Thanks, Yvan ________________________________________________________________________ yv...@po... University of Virginia http://www.pointurier.org Department of Computer Science |