Re: [mpls-linux-devel] LDP problems
Status: Beta
Brought to you by:
jleu
From: Marco S. <mar...@s2...> - 2007-03-22 13:05:52
|
Direct connected links are not labeled. LDPd does a local binding (for 10.0.0.0/24 in yout case), but this isn't distributed. From=20PE1 there should only be a label to the 13.0.0.0/xx net. Would be unnecessary for direct neighbours to send labeled packets... Strange that you are able to send packets to those dummy interfaces. They neither show up via ifconfig nor via ip route show. The routes are not distributed on my systems. You did not use dummy interfaces before, did you? All I know is that they have to be there ;-) Regards, Marco > Hi: > For you, Marco this is the config I made for the following simple scenari= o: > eth0 eth1 eth1 eth0 > 12.0.0.1-------PE1---------------------PE2-------13.0.0.1 > .1 10.0.0.0/24 .2 > I keep the config files for zebra, ospfd and ldpd empty (only log > file and hostname) and I configure everything via vtysh: > PE1 > -------------------------------------------------------------------------- > router ospf > network 10.0.0.0/24 area 0 > network 12.0.0.0/24 area 0 > mpls ldp > int eth1 > mpls labelspace 0 > mpls ip > PE2 > -------------------------------------------------------------------------- > router ospf > network 10.0.0.0/24 area 0 > network 13.0.0.0/24 area 0 > mpls ldp > int eth1 > mpls labelspace 0 > mpls ip=20 > At first I only type in the ospf commands and wait until new routes > are learned to configure LDP. The label 10000 is distributed > properly, the NHLFE and ILM entries are created but the problem is > that it's not possible to associate the label with the route learned via = ospf. > I tried your configuration files in my scenario, adding a dummy interface= in each PE. > eth0 eth1 eth1 eth0 > 12.0.0.1-------PE1---------------------PE2-------13.0.0.1 > | .1 10.0.0.0/24 .2 | > | | > |dummy0 |dummy0 > 192.168.0.1/32 192.168.0.2/32 > Now I include at zebra.conf the directions of each interface and at > ospf.conf, the whole config with eth0 and dummy0 as > passive-interfaces and the dummy0 as the ID of the OSPF router. > After this I configure via vtysh the LDP commands for eth1. > The labels are distributed and I'm even able to send labeled > packets from each PE to the dummy interface of the other. > But for the eth0 interfaces, the problem is the same as before, the > label isn't bound to the corresponding route. > Regards, > Gonzalo. > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel |