Re: [mpls-linux-general] another problem in ldp_linux
Status: Beta
Brought to you by:
jleu
From: Vincent J. <ja...@en...> - 2001-06-28 15:12:14
|
I could get quite the same problem, but there is a slight difference. I need to configure 10.0.0.6 first. When it does not work, I get the error: PRT: ldp_state_recv_init: cannot find adj on the router 10.0.0.6 when 10.0.0.5 is configured first. Otherwise, the mpls_in is filled properly when I configure 10.0.0.6 first. In the case it works (10.0.0.6 is the first router that I configure): 10.0.0.5 : $ cat /proc/net/mpls_in 40004000 gen 16 0 POP DLV 40004400 gen 17 0 POP DLV 40004800 gen 18 0 POP DLV but mpls_out, and mpls_fec remain empty. Why ? 10.0.0.6: $ cat /proc/net/mpls_in 40004000 gen 16 0 POP DLV 40004400 gen 17 0 POP DLV 40004800 gen 18 0 POP DLV but mpls_out, and mpls_fec remain empty. Why ? Vincent Le Mercredi 27 Juin 2001 05:19, Venisa Cabrilla a écrit : > Jim, > > Sorry, another problem ... :-) > > I know that my problem here will seem somewhat ridiculous but I have spent > two and half hours just to find my mistakes ... > > Please refer to the same configuration I gave you before, but now with > mplsadm of course : > > > lo 10.0.0.6 lo 10.0.0.5 > --------- --------- > > | Router2 |----------------| Router1 | > > --------- --------- > > |eth2 192.168.12.0/24 |eth1 > > --------------------------------------- > > In router1: > bash# ifconfig lo 10.0.0.5 netmask 255.255.255.255 > bash# route add 10.0.0.6 gw 192.168.12.2 > bash# mplsadm -L eth1:0 > > >From inside ldp_linux: > > prompt> add global 10.0.0.5 > prompt> add interface eth1 > > In router2: > bash# ifconfig lo 10.0.0.6 netmask 255.255.255.255 > bash# route add 10.0.0.5 gw 192.168.12.1 > bash# mplsadm -L eth2:0 > > >From inside ldp_linux: > > prompt> add global 10.0.0.6 > prompt> add interface eth2 > > I do not know if the order of which we run and configure ldp_linux will > certainly determine the result, but in my case, yes ! > > There are two possible cases, we run and configure ldp_linux first in > router1 and then in router2, the other, we run and configure ldp_linux in > router2 and then router1. What I mean by running and configuring ldp_linux > here is that we type add global ... and add interface ... > > First, we run and configure ldp_linux first in router1(10.0.0.5) and then > in router2 (10.0.0.6), ldp_linux works well, I can see that mpls_* are not > empty and I can ping the machines. I can see the label mapping process both > within ldp_linux or by using ethereal. Everything seems right on its path. > > Second, we run and configure ldp_linux first in router2(10.0.0.6) and then > in router1(10.0.0.1), well here comes the problem, mpls_* rest empty and I > can only see hello messages using ethereal, nothing else. > There is no label mapping process and ldp_linux seems too quiet ... > Here is the last captured messages inside ldp_linux in both routers : > > .... > EXIT: ldp_buf_message > EXIT: ldp_event > > After that, nothing. > > I have tried to figure out the reason but still cannot get it. I am sure > that I use the same linux kernel and the same mpls patch in both routers if > it might be the problem. > > Is it possible that the problem might come from ldp_linux's init messages, > since for determining the host that will be active or passive for starting > the init message you should compare the host addresses (I might be wrong) ? > Or simply, the host (interface) that start sending hello messages will > eventually become the active host for init message ? > > Please give me some clues. In my part, I will start looking your codes. > > > regards, > ~Venisa Cabrilla > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > http://lists.sourceforge.net/lists/listinfo/mpls-linux-general |