[mpls-linux-general] Re: mpls-linux-general digest, Vol 1 #303 - 8 msgs
Status: Beta
Brought to you by:
jleu
From: Morvan D. <mo...@so...> - 2002-05-13 19:40:39
|
Hi, I try with CFLAGS=-DMPLS_LINUX and without it. Ldp-portable don'nt work in the two cases! With -DMPLS_LINUX option /proc/net/mpls_in file show "POP PEEK" entries and the others /proc/net/mpls_* are blank. I could'nt establish and LSP like README.sample using ldp-portable. I'm using kernel 2.4.12. If Anyone make it work let me know. Cheers, Morvan. >Today's Topics: > > 1. Re: help on ldp(helllllllllllp) (Kiyoung Jung) > >Message: 1 >From: "Kiyoung Jung" <jj...@ic...> >To: "farahmand zahra" <z_c...@ya...> >Cc: <mpl...@li...> >Subject: Re: [mpls-linux-general] help on ldp(helllllllllllp) >Date: Mon, 13 May 2002 14:23:47 +0900 > >I think you should include -DMPLS_LINUX option in CFLAGS to >work with MPLS forwarding engine in Linux kernel. >As you can see, this option is commented out. >This should be : > >CFLAGS = -g -I. -wall -D__LDP_LINUX__ -Werror -DMPLS_LINUX > >Regards. > >---------------------------------------------------- >Kiyoung Jung (jj...@ic...) >Information and Communications University(ICU) >Broadband Network Laboratory (http://bnlab.icu.ac.kr) >58-4 Hwaam-dong, Yusong-gu, Taejon, 305-732, KOREA >Tel)+82-42-866-6172, 016-370-1751 Fax)+82-42-866-6110 > > >----- Original Message ----- >From: farahmand zahra >To: sourceforge >Sent: Thursday, May 09, 2002 7:14 PM >Subject: [mpls-linux-general] help on ldp(helllllllllllp) > > >Hi jim n all, >I really need your help , my ldp-portable doesn't work properly and I don't >know what is wrong?! >I have redhat 7.2 with kernel 2.4.13 (MPLS patched).I got the latest >ldp-portable via CVS ,first, I have a simple question:I compiled >ldp-portable in directory ldp-portable by typing "make ldp_linux" and it was >compiled successfully,is it compiled with MPLS_LINUX ?How can I make >sure?(The first line in the Makefile in directory ldp-portable:CFLAGS >= -g -I. -wall -D__LDP_LINUX__ -Werror >#-DMPLS_LINUX). >I have configured 2 machines as follows : > > lo 10.0.0.1 lo 10.0.0.2 > ---------- ----------- > | A |------------------------------| B | > ---------- ----------- > .206 | 192.168.2.0/24 .207| >------------------------------------------------------------ >PC B: >bash# ip addr add 10.0.0.2/32 dev lo >bash#ip route add 10.0.0.1/32 via 192.168.2.206 >routing table in PC B: >Des Gateway Genmask Flags >Metric Ref Use Interface >10.0.0.1 sunrise 255.255.255.255 UGH >0 0 0 eth0 >192.168.2.0 * 255.255.255.0 U >0 0 0 eth0 >127.0.0.0 * 255.0.0.0 U >0 0 0 lo >default itrcprox3.itrc 0.0.0.0 UG >0 0 0 eth0 >./mplsadm -L eth0:0 >prompt> add global 10.0.0.2 >ENTER : ##args## >EXIT : ##args## >ENTER : ##args## >EXIT : ##args## >ENTER : ##args## >ENTER : ##args## >Adding interface lo >Adding interface eth0 >Adding route 0a000001/32 via 2 >Adding route c0a80200/24 via 2 >Adding route 7f000000/8 via 1 >Adding route 00000000/0 via 2 >Adding route 0a000002/32 via 1 >EXIT : ##args## >EXIT : ##args## >ENTER : ##args## >EXIT : ##args## >Adding global object with LSRID 0a000002 >prompt>set trace 0xffffffff >Set tracing flag to ffffffff >prompt>add interface eth0 >Adding interface eth0 >prompt>show session >2 c0a802ce 45 5 >prompt>show database >1 0a000001/32 2 via2 >2 0a000002/32 3 via2 >3 7f000000/8 3 via2 >4 c0a80200/24 3 via2 >5 7f000000/8 2 via2 >6 c0a80200/24 2 via2 >prompt>show route >0a000001/32 via c0a802ce:2 >0a000002/32 via 00000000:1 >7f000000/8 via 00000000:1 >c0a80200/24 via 00000000:2 >00000000/0 via c0a80201:2 > >prompt>show interface >2 eth0 >I can see HELLO,INIT,KEEP ALIVE,ADDRESS,LABEL MAPPING messages,but all files >in /proc/net/mpls_* >are empty. >Any help from you are greately appriciated.I'm waiting to hear from you and >thank you inadvance. >Best Regards, >Zahra Farahmand. > > > > > >Do You Yahoo!? >Yahoo! Shopping - Mother's Day is May 12th! > > > |