Re: [mpls-linux-general] problem witth testing mpls and MTU=0
Status: Beta
Brought to you by:
jleu
From: lili l. <lit...@gm...> - 2010-09-13 13:29:04
|
Hi, Thanks for your response. I will follow your "how to" and give you a feedback on the results. 2010/9/11 Renato Westphal <ren...@gm...> > Hi, > > This problem occurs in the new MPLS 1.970 when you add a new NHLFE key > without setting the MPLS labelspace of the outgoing interface first. > > This have already been fixed. I'm providing you below some patches along > with a quick compilation how-to. > > The mpls-linux project is under maintance, in the next days or weeks we > expect to provide a new official release (with rpms) and more info on the > project wiki. One of our main goals for now is to get LDP working, being > that a lot of progress have already been made. > > Regards, > Renato. > > > __________________________________________________________ > > HOWTO > > Kernel: > > 1 - Get kernel 2.6.32.16: > http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.16.tar.bz2 > > 2 - Apply attached patch: patch -p1 < ../linux-kernel.patch > > 3 - build and install the kernel (no mpls requisites on make menuconfig) > > 4 - boot with the patched kernel > > 5 - cd ~/ > git clone git://repo.or.cz/mpls-linux.git > cd mpls-linux/src > patch -p1 < ~/mpls-src.patch > make > nano /etc/modules > //add the following lines: mpls, mpls4, mpls_tunnel, xt_mpls > cd /lib/modules/2.6.32.16/ > ln -sf ~/mpls-linux/src/mpls.ko mpls.ko > ln -sf ~/mpls-linux/src/mpls4.ko mpls4.ko > ln -sf ~/mpls-linux/src/mpls_tunnel.ko mpls_tunnel.ko > ln -sf ~/mpls-linux/src/xt_mpls.ko xt_mpls.ko > depmod -a > reboot > check if the modules are running: > lsmod | grep -i mpls or > dmesg | grep MPLS > > > Patch for iproute2: > > 1 - Get iproute2-2.6.33: > http://devresources.linuxfoundation.org/dev/iproute2/download/iproute2-2.6.33.tar.bz2 > > 2 - Apply attached patch: patch -p1 < ../iproute2-2.6.33-mpls.patch > > 3 - $ make > # make install (*) > > 4 - 'mpls' command will be available > > * build dependencies (debian5): libdb-dev, bison, flex > uninstall your existing version of iproute to avoid conflicts > > > Patch for iptables: > > 1 - Get iptables-1.4.7: > http://www.netfilter.org/projects/iptables/files/iptables-1.4.7.tar.bz2 > > 2 - Apply attached patch: patch -p1 < ../iptables-1.4.7-mpls.patch > > 3 - $ ./configure > $ make > # make install (*) > > * uninstall your existing version of iptables to avoid conflicts > > 2010/9/11 lili lili <lit...@gm...> > >> Hi, >> >> I need help for my linux-mpls tesbed. >> I success to configure my testbed like the one in "sourceforge - example" >> But if I test with a ping command, it does not work. >> In addition I have the following output after executing "*mpls nhlfe add >> key 0 instructions push gen 1000 nexthop eth2 ipv4 .... *" >> * >> NHLFE entry key 0x00000002 mtu 0 propagate_ttl >> (0 bytes, 0 pkts)* >> >> Is it normal to have MTU=0? >> >> Thanks for helping me. >> >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing >> http://p.sf.net/sfu/novell-sfdev2dev >> >> _______________________________________________ >> mpls-linux-general mailing list >> mpl...@li... >> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general >> >> > |