Re: [mpls-linux-devel] New MPLS-Linux code
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2007-03-02 14:50:03
|
I usually see this behavior if I've forgotten to load the mpls4 module. Did you do a 'modprobe mpls4' before starting ldpd? On Fri, Mar 02, 2007 at 11:03:38AM +0100, Sienes Rodr?guez Gonzalo wrote: > Hi James: >=20 > As you could see the enviroment is the same as yours: >=20 > [root@PE3 mpls-linux-1.955-FC4]# md5sum quagga-0.99.6-01.fc4.mpls.1.955.i= 386.rpm2187b703d908784b2c03d836086fc607 quagga-0.99.6-01.fc4.mpls.1.955.i3= 86.rpm > [root@PE3 mpls-linux-1.955-FC4]# rpm -qa | grep quagga > quagga-0.99.6-01.fc4.mpls.1.955 > [root@PE3 mpls-linux-1.955-FC4]# more /etc/fedora-release > Fedora Core release 4 (Stentz) > [root@PE3 mpls-linux-1.955-FC4]# zebra -d > [root@PE3 mpls-linux-1.955-FC4]# ospfd -d > [root@PE3 mpls-linux-1.955-FC4]# ldpd -d > [root@PE3 mpls-linux-1.955-FC4]# vtysh >=20 > Hello, this is Quagga (version 0.99.6). > Copyright 1996-2005 Kunihiro Ishiguro, et al. >=20 > PE3# con t > PE3(config)# mpls ldp > PE3(config-ldp)# exit > PE3(config)# int eth1 > PE3(config-if)# mpls ip > PE3(config-if-ldp)# end >=20 > PE3# sh ldp disc >=20 > Local LSR Identifier: 10.0.0.2 >=20 > Interface Discovery Sources: > eth1: xmit >=20 > Targeted Discovery Sources: > No configured peers >=20 > PE3# con t > PE3(config)# int eth1 > PE3(config-if)# mpls labelsp 0 > Labelspace: 0 > PE3(config-if)# end >=20 > The problem is that I'm not able to create an LDP session between to LSRs= , while I'm trying to configure the second of them I always get an I/O erro= r, then the ldpd daemon is closed. >=20 > I'm going to try it in FC5, with last RPMs from Source Forge. >=20 > Thanks for your time, > Gonzalo. >=20 > -----Mensaje original----- > De: James R. Leu [mailto:jl...@mi...] > Enviado el: jue 01/03/2007 4:24 > Para: Sienes Rodr?guez Gonzalo > CC: mpl...@li... > Asunto: Re: [mpls-linux-devel] New MPLS-Linux code > =20 > On Wed, Feb 28, 2007 at 10:56:10AM +0100, Sienes Rodr?guez Gonzalo wrote: > > Hi again: > >=20 > > I have configured a simple scenario. And the result, is that I'm able t= o create mpls segments from vtysh. In the sender I type: ip route 12.0.0.1 = gen 222 nexthop eth1 10.0.0.1, and in the receiver: mpls static 0 -> label-= map gen 222 pop. With ping from sender to 12.1 I can see that the ICMP pack= ets are labelled. Also I can see the new mpls segment created by mpls nhlfe= show and mpls ilm show. > > So the problem must be at configuring LDP, as I told you in the "runnin= g config" doesn't appear mpls ip (at the required interface) or the general= command mpls ldp. >=20 > I built a FC4 chroot environment and installed the quagga-mpls FC4 rpms > inside of it and launched zebra/ldpd/ospfd. Using vtysh I can able to > configure: >=20 > -bash-3.00# md5sum quagga-0.99.6-01.fc4.mpls.1.955.i386.rpm=20 > 2187b703d908784b2c03d836086fc607 quagga-0.99.6-01.fc4.mpls.1.955.i386.rpm > -bash-3.00# rpm -qa | grep quagga > quagga-0.99.6-01.fc4.mpls.1.955 > -bash-3.00# more /etc/fedora-release=20 > Fedora Core release 4 (Stentz) > -bash-3.00# vtysh >=20 > Hello, this is Quagga (version 0.99.6). > Copyright 1996-2005 Kunihiro Ishiguro, et al. >=20 > koko# conf t > koko(config)# mpls ldp=20 > koko(config-ldp)# exit > koko(config-ldp)# exit > koko(config-if)# mpls ip > koko(config-if-ldp)# end > koko# sho ldp discovery=20 >=20 > Local LSR Identifier: 192.168.1.16 >=20 > Interface Discovery Sources: > eth0: xmit >=20 > Targeted Discovery Sources: > No configured peers >=20 > koko#=20 >=20 > Please verify which version of the RPM you have installed, which=20 > vtysh your running and include the commands your using for starting > the processes. >=20 > Here is what I did to get it up and running after installing the RPM: >=20 > echo "hostname "`hostname -s` > /etc/quagga/zebra.conf > echo "hostname "`hostname -s` > /etc/quagga/ospfd.conf > echo "hostname "`hostname -s` > /etc/quagga/ldpd.conf > chown quagga.quagga /etc/quagga/zebra.conf /etc/quagga/ospfd.conf /etc/qu= agga/ldpd.conf > service zebra start > service ospfd start > service ldpd start > vtysh >=20 > > Thanks, > > Gonzalo > >=20 > >=20 > > -----Mensaje original----- > > De: James R. Leu [mailto:jl...@mi...] > > Enviado el: lun 26/02/2007 15:08 > > Para: Sienes Rodr?guez Gonzalo > > CC: mpl...@li... > > Asunto: Re: [mpls-linux-devel] New MPLS-Linux code > > =20 > > On Mon, Feb 26, 2007 at 11:32:15AM +0100, Sienes Rodr?guez Gonzalo wrot= e: > > > Hi James! > > >=20 > > > I've installed the revised RPMs for FC4. I got kernel panic after reb= ooting the system that I solved by typing "enforcing=3D0" at grub.conf. I h= ave some problems with the wheel of the mouse or the USB ports but in gener= al it works right. I'm able to create MPLS static configurations. In this v= ersion the "mpls" module has disappeared so I only load "mpls4". I launch z= ebra, ospfd and ldpd but I make the whole configuration by vtysh. OSPF work= s well but I can't put most of the ldpd commands, in fact, the only one tha= t appears with "show running-config" is "mpls labelspace 0" in the correspo= nding interface, Neither "mpls ldp" nor "mpls ip". Are these problems solve= d in FC5? If that's it I would like to work with FC5. > >=20 > > Can you manually create MPLS segments with the 'mpls' command? > > I'll look into the issue with no ldp command in vtysh. > >=20 > > > Thanks, > > >=20 > > > Gonzalo. > > >=20 > > > I updated the FC4 kernel RPMs. Can you please try them? > > >=20 > > > On Mon, Feb 19, 2007 at 11:47:24AM +0100, Sienes Rodr?guez Gonzalo wr= ote: > > > > Hi James: > > > >=20 > > > > I'm trying to install your new software for FC4 but I have some pro= blems. > > > > When I try to install the kernel-2.6.18 from Source Forge for FC4 i= t makes me install lots of RPMs, most of them can be installed by "yum upda= te" but I can't find the libraries libc.so.6(GLIBC_2.4) and libpcap.so.0.9.= 3 anywhere for FC4. I search for them and people talks about 64 architectur= e and I'm working with Intel(R) Pentium(R) D CPU 3.00GHz. Could you provide= them to me? Witch OS are you using? Should I install FC5? =20 > > > >=20 > > > > Thanks in advance. > > > >=20 > > > > P.D.: These are the outputs I get. > > > >=20 > > > > [root@PE3 mpls-linux-1.955]# rpm -ivh kernel-2.6.18-1.2257.fc4.mpls= .1.955.i686.rpm > > > > error: Failed dependencies: > > > > mkinitrd >=3D 4.2.21-1 is needed by kernel-2.6.18-1.2257.fc= 4.mpls.1.955.i686 > > > > isdn4k-utils < 3.2-32 conflicts with kernel-2.6.18-1.2257.f= c4.mpls.1.955.i686 > > > > kudzu < 1.2.5 conflicts with kernel-2.6.18-1.2257.fc4.mpls.= 1.955.i686 > > > >=20 > > > > [root@PE3 Requeridos]# rpm -ivh mkinitrd-4.2.21-1.i386.rpm > > > > error: Failed dependencies: > > > > libc.so.6(GLIBC_2.4) is needed by mkinitrd-4.2.21-1.i386 > > > >=20 > > > > [root@PE3 Requeridos]# rpm -ivh isdn4k-utils-3.2-32.i386.rpm > > > > error: Failed dependencies: > > > > libc.so.6(GLIBC_2.4) is needed by isdn4k-utils-3.2-32.i386 > > > > libpcap.so.0.9.3 is needed by isdn4k-utils-3.2-32.i386 > > > >=20 > > >=20 > > >=20 > > >=20 > > > --=20 > > > James R. Leu > > > jl...@mi... > > >=20 > > >=20 > > >=20 > >=20 > >=20 > >=20 > > --=20 > > James R. Leu > > jl...@mi... > >=20 > >=20 > > -----------------------------------------------------------------------= -- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share= your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEVDEV > > _______________________________________________ > > mpls-linux-devel mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel >=20 > --=20 > James R. Leu > jl...@mi... >=20 >=20 > ------------------------------------------------------------------------- > 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 --=20 James R. Leu jl...@mi... |