Thread: [mpls-linux-devel] MPLS Linux Null Driver on Quagga
Status: Beta
Brought to you by:
jleu
From: Rodrigo D. <ro...@tr...> - 2010-03-30 22:07:22
|
Hi James and all! I've been messing with mpls on archlinux, like compiling the kernel from git and so on. I already made all MPLS Labs and even integrated, using static routes, using Cisco/GNS3. Now it's time to try something harder, like LDP ;D I followed the instructions from last month posts' and I successfully compiled quagga from git too. But I stopped in the fact that I can only compile using null driver. Question 1: Using null driver LDP does nothing, right? Even with null driver some simple tasks in zebra, like doing a 'no shutdown' in a interface hangs zebra, and I can only kill with 'pkill -9 zebra'. I tried to search and figure what is happening, but the code is very messy and I can't even see where to start. Later I tried to compile without null driver, and I compiled successfully. The 'no shutdown' does not hang zebra anymore, but it hangs randomly. (I can hang changing settings using ifconfig from another vty too). Question 2: So.... Do you have any hints or advices to where can I look first? I debugged a lot and backtraces don't give me nothing useful (only suspicions on something related to netlink), and running zebra without deamon (-b) doesn't helped too. Question 2.1: Do you have some hint where I can put some breakpoints to try? Any help is apreciated. ;) |
From: Rodrigo D. <ro...@tr...> - 2010-04-07 18:32:02
|
I don't have right here, but basically I used mixed scenarios, Cisco as P's and PE's with Linux as P's and PE's too. I adapted the Linux Labs, but in some hosts I used a Cisco (3640 or 7200), with STATIC routes. I had some difficulties with PHP (Poping label on penultimate) with Cisco as egress. But everything is fine, remembering you can only use static routes. I used some config examples of MPLS static on Appendix B of Cisco's MPLS Fundamentals Book as start point to learn how to do in Cisco. On Tue, Apr 6, 2010 at 6:13 AM, Pali <pal...@gm...> wrote: > Hi Rodrigo, I don't have answer for You now, maybe after some time I will > find out some solution, but now I'm interesting in your MPLS labs with > emulated Cisco/GNS3 devices. I wanted to make some test with Cisco devices > as You did. Could You share some network topologies, cisco configuration > files? > If possible, great thank You, I'm working on integration of VPLS services > on Linux, but I have to work on another difficult projects about CPU > designing, so everything what speeds up my progress is MPLS stuff is > invited. > > Thank You, Pali from Slovakia > > 2010/3/31 Rodrigo Dlugokenski <ro...@tr...> > >> Hi James and all! >> >> I've been messing with mpls on archlinux, like compiling the kernel from >> git and so on. I already made all MPLS Labs and even integrated, using >> static routes, using Cisco/GNS3. >> >> Now it's time to try something harder, like LDP ;D >> >> I followed the instructions from last month posts' and I successfully >> compiled quagga from git too. But I stopped in the fact that I can only >> compile using null driver. >> >> Question 1: Using null driver LDP does nothing, right? >> >> Even with null driver some simple tasks in zebra, like doing a 'no >> shutdown' in a interface hangs zebra, and I can only kill with 'pkill -9 >> zebra'. >> >> I tried to search and figure what is happening, but the code is very messy >> and I can't even see where to start. >> >> Later I tried to compile without null driver, and I compiled successfully. >> The 'no shutdown' does not hang zebra anymore, but it hangs randomly. >> (I can hang changing settings using ifconfig from another vty too). >> >> Question 2: So.... Do you have any hints or advices to where can I look >> first? >> >> I debugged a lot and backtraces don't give me nothing useful (only >> suspicions on something related to netlink), and running zebra without >> deamon (-b) doesn't helped too. >> >> Question 2.1: Do you have some hint where I can put some breakpoints to >> try? >> >> Any help is apreciated. >> ;) >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> mpls-linux-devel mailing list >> mpl...@li... >> https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel >> >> > > > -- > 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 > |
From: <jl...@mi...> - 2010-04-21 04:47:32
|
Renato has been doing some work on quagga which has spurred me to do some work as well. I will try to get a working version of static labels soon. On Wed, Apr 07, 2010 at 03:31:53PM -0300, Rodrigo Dlugokenski wrote: > I don't have right here, but basically I used mixed scenarios, Cisco as P's > and PE's with Linux as P's and PE's too. > > I adapted the Linux Labs, but in some hosts I used a Cisco (3640 or 7200), > with STATIC routes. > > I had some difficulties with PHP (Poping label on penultimate) with Cisco as > egress. But everything is fine, remembering you can only use static routes. > > I used some config examples of MPLS static on Appendix B of Cisco's MPLS > Fundamentals Book as start point to learn how to do in Cisco. > > > > > On Tue, Apr 6, 2010 at 6:13 AM, Pali <pal...@gm...> wrote: > > > Hi Rodrigo, I don't have answer for You now, maybe after some time I will > > find out some solution, but now I'm interesting in your MPLS labs with > > emulated Cisco/GNS3 devices. I wanted to make some test with Cisco devices > > as You did. Could You share some network topologies, cisco configuration > > files? > > If possible, great thank You, I'm working on integration of VPLS services > > on Linux, but I have to work on another difficult projects about CPU > > designing, so everything what speeds up my progress is MPLS stuff is > > invited. > > > > Thank You, Pali from Slovakia > > > > 2010/3/31 Rodrigo Dlugokenski <ro...@tr...> > > > >> Hi James and all! > >> > >> I've been messing with mpls on archlinux, like compiling the kernel from > >> git and so on. I already made all MPLS Labs and even integrated, using > >> static routes, using Cisco/GNS3. > >> > >> Now it's time to try something harder, like LDP ;D > >> > >> I followed the instructions from last month posts' and I successfully > >> compiled quagga from git too. But I stopped in the fact that I can only > >> compile using null driver. > >> > >> Question 1: Using null driver LDP does nothing, right? > >> > >> Even with null driver some simple tasks in zebra, like doing a 'no > >> shutdown' in a interface hangs zebra, and I can only kill with 'pkill -9 > >> zebra'. > >> > >> I tried to search and figure what is happening, but the code is very messy > >> and I can't even see where to start. > >> > >> Later I tried to compile without null driver, and I compiled successfully. > >> The 'no shutdown' does not hang zebra anymore, but it hangs randomly. > >> (I can hang changing settings using ifconfig from another vty too). > >> > >> Question 2: So.... Do you have any hints or advices to where can I look > >> first? > >> > >> I debugged a lot and backtraces don't give me nothing useful (only > >> suspicions on something related to netlink), and running zebra without > >> deamon (-b) doesn't helped too. > >> > >> Question 2.1: Do you have some hint where I can put some breakpoints to > >> try? > >> > >> Any help is apreciated. > >> ;) > >> > >> > >> ------------------------------------------------------------------------------ > >> Download Intel® Parallel Studio Eval > >> Try the new software tools for yourself. Speed compiling, find bugs > >> proactively, and fine-tune applications for parallel performance. > >> See why Intel Parallel Studio got high marks during beta. > >> http://p.sf.net/sfu/intel-sw-dev > >> _______________________________________________ > >> mpls-linux-devel mailing list > >> mpl...@li... > >> https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel > >> > >> > > > > > > -- > > 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 > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel -- James R. Leu jl...@mi... |
From: Rodrigo D. <ro...@tr...> - 2010-04-22 12:57:48
|
Already saw the patches and tested the netlink branch and nexthop branch. Works beautifully with those regressions, but i will test more. I tested the kernel patch too. Using right now on my VMs. No chance yet too see the possibility of getting LDP to work. On Wed, Apr 21, 2010 at 1:47 AM, <jl...@mi...> wrote: > Renato has been doing some work on quagga which has spurred me > to do some work as well. > > I will try to get a working version of static labels soon. > > On Wed, Apr 07, 2010 at 03:31:53PM -0300, Rodrigo Dlugokenski wrote: > > I don't have right here, but basically I used mixed scenarios, Cisco as > P's > > and PE's with Linux as P's and PE's too. > > > > I adapted the Linux Labs, but in some hosts I used a Cisco (3640 or > 7200), > > with STATIC routes. > > > > I had some difficulties with PHP (Poping label on penultimate) with Cisco > as > > egress. But everything is fine, remembering you can only use static > routes. > > > > I used some config examples of MPLS static on Appendix B of Cisco's MPLS > > Fundamentals Book as start point to learn how to do in Cisco. > > > > > > > > > > On Tue, Apr 6, 2010 at 6:13 AM, Pali <pal...@gm...> wrote: > > > > > Hi Rodrigo, I don't have answer for You now, maybe after some time I > will > > > find out some solution, but now I'm interesting in your MPLS labs with > > > emulated Cisco/GNS3 devices. I wanted to make some test with Cisco > devices > > > as You did. Could You share some network topologies, cisco > configuration > > > files? > > > If possible, great thank You, I'm working on integration of VPLS > services > > > on Linux, but I have to work on another difficult projects about CPU > > > designing, so everything what speeds up my progress is MPLS stuff is > > > invited. > > > > > > Thank You, Pali from Slovakia > > > > > > 2010/3/31 Rodrigo Dlugokenski <ro...@tr...> > > > > > >> Hi James and all! > > >> > > >> I've been messing with mpls on archlinux, like compiling the kernel > from > > >> git and so on. I already made all MPLS Labs and even integrated, using > > >> static routes, using Cisco/GNS3. > > >> > > >> Now it's time to try something harder, like LDP ;D > > >> > > >> I followed the instructions from last month posts' and I successfully > > >> compiled quagga from git too. But I stopped in the fact that I can > only > > >> compile using null driver. > > >> > > >> Question 1: Using null driver LDP does nothing, right? > > >> > > >> Even with null driver some simple tasks in zebra, like doing a 'no > > >> shutdown' in a interface hangs zebra, and I can only kill with 'pkill > -9 > > >> zebra'. > > >> > > >> I tried to search and figure what is happening, but the code is very > messy > > >> and I can't even see where to start. > > >> > > >> Later I tried to compile without null driver, and I compiled > successfully. > > >> The 'no shutdown' does not hang zebra anymore, but it hangs randomly. > > >> (I can hang changing settings using ifconfig from another vty too). > > >> > > >> Question 2: So.... Do you have any hints or advices to where can I > look > > >> first? > > >> > > >> I debugged a lot and backtraces don't give me nothing useful (only > > >> suspicions on something related to netlink), and running zebra without > > >> deamon (-b) doesn't helped too. > > >> > > >> Question 2.1: Do you have some hint where I can put some breakpoints > to > > >> try? > > >> > > >> Any help is apreciated. > > >> ;) > > >> > > >> > > >> > ------------------------------------------------------------------------------ > > >> Download Intel® Parallel Studio Eval > > >> Try the new software tools for yourself. Speed compiling, find bugs > > >> proactively, and fine-tune applications for parallel performance. > > >> See why Intel Parallel Studio got high marks during beta. > > >> http://p.sf.net/sfu/intel-sw-dev > > >> _______________________________________________ > > >> mpls-linux-devel mailing list > > >> mpl...@li... > > >> https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel > > >> > > >> > > > > > > > > > -- > > > 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 > > > > > > > ------------------------------------------------------------------------------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > > _______________________________________________ > > mpls-linux-devel mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel > > > -- > James R. Leu > jl...@mi... > |