Re: [mpls-linux-devel] VPLS implementation - introductory works
Status: Beta
Brought to you by:
jleu
From: <win...@fr...> - 2009-11-05 18:37:36
|
Quoting Pali <pal...@gm...>: > Hi, please could You be so kind and write me particular steps how You > recompile mpls enabled kernel on debian from git sources? Thank You > really. Here it is. -wind #install minimum latest debian/lenny #http://cdimage.debian.org/debian-cd/5.0.3/i386/iso-cd/debian-503-i386-netinst.iso aptitude install ssh aptitude install less aptitude install openssl aptitude install build-essential aptitude install git-core cd /usr/src git clone git://repo.or.cz/mpls-kernel.git git clone git://repo.or.cz/mpls-ebtables.git git clone git://repo.or.cz/mpls-iptables.git git clone git://repo.or.cz/mpls-iproute2.git git clone git://repo.or.cz/mpls-quagga.git git clone git://repo.or.cz/mpls-ldp-portable.git aptitude install kernel-package aptitude install libncurses-dev aptitude install fakeroot aptitude install liz-dev ln -s mpls-kernel linux cd linux make clean make mrproper cp /boot/config-`uname -r` ./.config make menuconfig # Load an Alternate Configuration File # Networking support ## Networking options--> ### Multiprotocol Label Switching #### MPLS: Virtual tunnel interface ### 802.1d Ethernet Bridging #### Bridge: MPLS support ### Network packet filtering framework #### Core Netfilter configuration ##### MPLS target support ##### DSCP and TOS target support #### IP: Netfilter configuration ##### Packet Filtering ##### Packet Mangling #### Bridge: Netfilter configuration ##### Ethernet Bridge tables (ebtables) support ###### ebt: broute table support ###### ebt: filter table support ###### ebt: nat table support ###### ebt: 802.3 filter support ###### ebt: MPLS target support ### QoS and fair queueing # select all make-kpkg clean fakeroot make-kpkg --initrd --append-to-version=-mpls091104 kernel_image kernel_headers cd /usr/src dpkg -i linux-image-2.6.27.24-mpls091104_2.6.27.24-mpls091104-10.00.Custom_i386.deb dpkg -i linux-headers-2.6.27.24-mpls091104_2.6.27.24-mpls091104-10.00.Custom_i386.deb reboot uname -a dmesg | grep MPLS aptitude install pciutils aptitude install tcpdump aptitude install ethtool aptitude install autoconf aptitude install automake aptitude install bison aptitude install flex aptitude install gawk aptitude install libreadline-dev aptitude install locate cd /usr/src/mpls-iptables/ ./update-from-kernel.sh /usr/src/linux ./configure make make install iptables --version #iptables v1.4.1.1 mpls-linux 1.963 cd /usr/src/mpls-ebtables/ ./update-from-kernel.sh /usr/src/linux vi Makefile #INITDIR:=/etc/rc.d/init.d INITDIR:=/etc/init.d #SYSCONFIGDIR:=/etc/sysconfig make make install ebtables --version #ebtables v2.0.8-2 (May 2007) cd /usr/src/mpls-iproute2/ aptitude remove iproute ./update-from-kernel.sh /usr/src/linux aptitude install libdb-dev make DESTDIR= make DESTDIR= SBINDIR=/sbin MANDIR=/usr/share/man install make install ip -V #ip utility, iproute2-ss080725 mpls -V #mpls utility, iproute2-ss080725 mpls-linux 1.963 tc -V #tc utility, iproute2-ss080725 > > 2009/11/2, win...@fr... <win...@fr...>: >> two happy hours to install all the git sources of mpls-linux onto >> recent lenny(debian)-2.6.29 without any problem:-). >> I'd like to know, is there anything cool sitting in the git source >> besides those are already on the home page of wiki? >> >> Thanks, >> -Wind >> >> >> Quoting James Leu <jl...@mi...>: >> >>> On Sat, Oct 31, 2009 at 11:21:34PM +0100, Pali wrote: >>>> Hi, >>>> need a little help where to begin with VPLS implementation, because I >>>> don't >>>> have experience with this kind of projects. >>>> >>>> I read and trying to be familiar with following RFC documents: >>>> >>>> 4447 Pseudowire Setup and Maintenance Using the Label Distribution >>>> Protocol >>>> (LDP) >>> >>> AKA Martini signaling. It shouldn't be hard to implement the LDP related >>> for this. The more complicated for this and VPLS will be the >>> infrastructure >>> needed to build hierarchical LSPs. >>> >>>> 4448 Encapsulation Methods for Transport of Ethernet over MPLS Networks >>> >>> You do not need to worry about that since is is already implemented in >>> the kernel. Although it is broken on recent kernels, I plan to fix that >>> soon. >>> >>>> 4762 Virtual Private LAN Service (VPLS) Using Label Distribution >>>> Protocol >>>> (LDP) Signaling >>> >>> I myself have not read that RFC, but if you would like some guidance, >>> I could look it over and give you my recommendation for how you should >>> go about implementing it. >>> >>>> Any more I should read? >>> >>> I'm surprised no one has chimed in with VPLS via BGP (AKA Kompella >>> signaling) >>> >>>> I'm trying to collect subproblems in order to write a roadmap of project. >>>> Just some big topics... >>>> >>>> Learn howto recompile custom kernel : ) >>> >>> I suggest trimming down the 'config-generic' in the mpls-kernel >>> tree and use the make-jleu-rpm script. >>> >>>> Try some simple quagga topologies on virtual machines >>>> Try some linux based MPLS topologies - experience MPLS and LDP work >>>> Understand MPLS-Linux and Quagga code >>> >>> I'd be more then happy to discuss any of the above with you. >>> >>>> Learn howto create Live CD for presentation purposes >>>> Group peoples, that would like to contribute : ) >>>> Do you know some more? >>> >>> Let me know if you would like a branch of any of the git trees and >>> I can add users so that you can have a central depot to work from. >>> >>>> I'm planning to use VirtualBox as a virtualization platform, as it is >>>> really >>>> handy and simple. >>>> >>>> That's everything for today, tomorrow I will add some more specific >>>> roadmap >>>> subtopics. Nice rest of day for everybody. >>>> -- >>>> << 0903 48 47 40 >> mobil >>>> << 309458351 >> icq >>>> << ortseamo >> skype >>> >>>> ------------------------------------------------------------------------------ >>>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>>> is the only developer event you need to attend this year. Jumpstart your >>>> developing skills, take BlackBerry mobile applications to market and stay >>>> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >>>> http://p.sf.net/sfu/devconference >>>> _______________________________________________ >>>> mpls-linux-devel mailing list >>>> mpl...@li... >>>> https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel >>> >>> >>> -- >>> James R. Leu >>> jl...@mi... >>> >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> mpls-linux-devel mailing list >> mpl...@li... >> https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel >> > > -- > Odoslané z môjho mobilného zariadenia > > Ak si prajes aby som cital tvoj mail do 5 min, tak napis do predmetu X5. > Na skype som dostupny stale, len mi daj vediet aby som sa prihlasil. > > << 0903 48 47 40 >> mobil > << 309458351 >> icq > << ortseamo >> skype > |