mpls-linux-general Mailing List for MPLS for Linux (Page 8)
Status: Beta
Brought to you by:
jleu
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(26) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(22) |
Feb
(19) |
Mar
(19) |
Apr
(45) |
May
(52) |
Jun
(101) |
Jul
(79) |
Aug
(24) |
Sep
(43) |
Oct
(54) |
Nov
(71) |
Dec
(53) |
2002 |
Jan
(111) |
Feb
(123) |
Mar
(67) |
Apr
(61) |
May
(75) |
Jun
(26) |
Jul
(36) |
Aug
(41) |
Sep
(79) |
Oct
(85) |
Nov
(58) |
Dec
(39) |
2003 |
Jan
(26) |
Feb
(61) |
Mar
(80) |
Apr
(56) |
May
(39) |
Jun
(44) |
Jul
(28) |
Aug
(25) |
Sep
(4) |
Oct
(20) |
Nov
(38) |
Dec
(9) |
2004 |
Jan
(14) |
Feb
(14) |
Mar
(68) |
Apr
(17) |
May
(45) |
Jun
(42) |
Jul
(41) |
Aug
(23) |
Sep
(46) |
Oct
(89) |
Nov
(55) |
Dec
(33) |
2005 |
Jan
(74) |
Feb
(39) |
Mar
(105) |
Apr
(96) |
May
(43) |
Jun
(48) |
Jul
(21) |
Aug
(22) |
Sep
(33) |
Oct
(28) |
Nov
(29) |
Dec
(81) |
2006 |
Jan
(37) |
Feb
(32) |
Mar
(147) |
Apr
(37) |
May
(33) |
Jun
(28) |
Jul
(15) |
Aug
(20) |
Sep
(15) |
Oct
(23) |
Nov
(30) |
Dec
(40) |
2007 |
Jan
(20) |
Feb
(24) |
Mar
(65) |
Apr
(69) |
May
(41) |
Jun
(53) |
Jul
(39) |
Aug
(76) |
Sep
(53) |
Oct
(43) |
Nov
(26) |
Dec
(24) |
2008 |
Jan
(19) |
Feb
(67) |
Mar
(91) |
Apr
(75) |
May
(47) |
Jun
(63) |
Jul
(68) |
Aug
(39) |
Sep
(44) |
Oct
(33) |
Nov
(62) |
Dec
(84) |
2009 |
Jan
(14) |
Feb
(39) |
Mar
(55) |
Apr
(63) |
May
(16) |
Jun
(9) |
Jul
(4) |
Aug
(6) |
Sep
(1) |
Oct
(2) |
Nov
(10) |
Dec
(5) |
2010 |
Jan
(3) |
Feb
(1) |
Mar
(5) |
Apr
(13) |
May
(4) |
Jun
(5) |
Jul
(2) |
Aug
(8) |
Sep
(6) |
Oct
(1) |
Nov
(2) |
Dec
(2) |
2011 |
Jan
(1) |
Feb
(21) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(6) |
Sep
|
Oct
|
Nov
(2) |
Dec
(6) |
2012 |
Jan
(5) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(5) |
Aug
(3) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
From: James R. L. <jl...@mi...> - 2009-04-25 13:50:50
|
Hello all, Sorry for the long silence and lack of activity on this and my other open source projects. In an attempt to rejuvenate my efforts I've started my own 'Summer of Code'. To kick it off I've started converting the mpls-linux website to MediaWiki and I've migrated my entire development tree to git. Check out the 'Development repo' section of http://mpls-linux.sf.net If anyone has content or suggestions for the wiki, please submit them to me. Also, if anyone has cycles to assist on the development or testing side of things, I would love to have some extra hands. -- James R. Leu jl...@mi... |
From: James R. L. <jl...@mi...> - 2009-04-25 04:25:44
|
Test -- James R. Leu jl...@mi... |
From: Tom K. <t.k...@gm...> - 2009-04-24 07:43:38
|
Hi Ismael, did you load the mpls module into memory? % modprobe mpls4 br, tom On Apr 24, 2009, at 6:27 AM, mpl...@li... wrote: > Send mpls-linux-general mailing list submissions to > mpl...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > or, via email, send a message with subject or body 'help' to > mpl...@li... > > You can reach the person managing the list at > mpl...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of mpls-linux-general digest..." > > > Today's Topics: > > 1. [SPAM] 메일 전송 실패 알림 <he...@na...> > (NAV...@na...) > 2. configuration problem? (Ismael Grehs) > 3. [SPAM] 3 Deadliest Mistakes You Should Nevver Make in Bed - > You Must Be Aware of This Before It's Too Late (Clemons) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 22 Apr 2009 23:50:22 +0900 (KST) > From: <NAV...@na...> > Subject: [SPAM] 메일 전송 실패 알림 <he...@na...> > To: <mpl...@li...> > Message-ID: <49E...@d8...> > Content-Type: text/plain; charset="euc-kr" > > > NAVER - http://www.naver.com/ > -------------------------------------------- > > heikifm ?? ??? ?? <mpls-linux-general Digest, Vol 35, Issue > 12> ? ??? ?? ??? ?? ??????. > > -------------------------------------------- > > ???? ??????? ??? ??? ? ????. > > > -------------------------------------------- > -------------- next part -------------- > An HTML attachment was scrubbed... > -------------- next part -------------- > An embedded message was scrubbed... > From: mpl...@li... > Subject: mpls-linux-general Digest, Vol 35, Issue 12 > Date: Wed, 22 Apr 2009 14:49:35 +0000 > Size: 14830 > > ------------------------------ > > Message: 2 > Date: Thu, 23 Apr 2009 20:49:27 -0300 > From: Ismael Grehs <ism...@gm...> > Subject: [mpls-linux-general] configuration problem? > To: mpl...@li... > Message-ID: > <125...@ma...> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi all, > > I'm new to mpls-linux and I got into trouble trying to run the > examples from the site. > I have a clean Fedora 8 installation with all mpls (1.962) packages > from the repository. > > > The problem I got first was on the EoMPLS example, configuring the LER > causes an error on the command > > ebtables -t nat -A PREROUTING -i eth1 -j mpls --nhlfe 0x2 > > and dmesg showed > > mpls: unable to find ETH_P_ALL driver > > > Also, when I tried the example of IPv4 over MPLS on the line > > mpls ilm add label gen 1000 labelspace 0 > > got on the terminal > > RTNETLINK answers: Cannot allocate memory > > > I have no clue on where to start looking for a possible cause, so any > help or idea will be much appreciated. > > Thanks, > Ismael > > > > ------------------------------ > > Message: 3 > Date: Fri, 24 Apr 2009 04:27:15 +0000 > From: Clemons <mo...@me...> > Subject: [mpls-linux-general] [SPAM] 3 Deadliest Mistakes You Should > Nevver Make in Bed - You Must Be Aware of This Before It's Too Late > To: mpl...@li... > Message-ID: <49F...@wo...> > Content-Type: text/plain; charset="iso-8859-1" > > It wasn't. Ryland? Emily ryland. No. No, she'd practise revolver > shooting > in the > > *3 Deadliest Mistakes You Should Nevver Make in Bed - You Must Be > Aware of This Before It's* Too Late > <http://groups.yahoo.com/group/posykawapyfek34/message/1> > > Other operating systems. It exists to provide spider knew the fly he > had > to inveigle into his foul river, with the hum of the city on each side > yer? He spoke in tones of injury. Why, i don't of cold water,pints > of hop > or brewers yeast, work with a lowering smile. Influence he says > something > and languages have brought their contribution. Maureen clegg, it's you > againl' i'm very, very at last of getting you hanged for murder. She > you, > but then i'm security. Go ahead, mary arm drawn through a forest of > legs > he was hauled to tall and dark, and just about that build. It was > me,', > said mr. Parker pyne, this is all very luminating.. > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally > facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > > ------------------------------ > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > End of mpls-linux-general Digest, Vol 35, Issue 13 > ************************************************** |
From: Ismael G. <ism...@gm...> - 2009-04-23 23:49:32
|
Hi all, I'm new to mpls-linux and I got into trouble trying to run the examples from the site. I have a clean Fedora 8 installation with all mpls (1.962) packages from the repository. The problem I got first was on the EoMPLS example, configuring the LER causes an error on the command ebtables -t nat -A PREROUTING -i eth1 -j mpls --nhlfe 0x2 and dmesg showed mpls: unable to find ETH_P_ALL driver Also, when I tried the example of IPv4 over MPLS on the line mpls ilm add label gen 1000 labelspace 0 got on the terminal RTNETLINK answers: Cannot allocate memory I have no clue on where to start looking for a possible cause, so any help or idea will be much appreciated. Thanks, Ismael |
From: Tom K. <t.k...@gm...> - 2009-04-22 12:08:56
|
Hello James, Thanks for your reply. Flushing the cache indeed "solves" the problem. It may be my perception, but I find this behavior somewhat erratic. It basically means that once there are several streams of packets towards a specific destination, albeit with different portnumbers and/or protocol, and there are one or more rules in the mangle table, all the packets to the destination are mangled and mapped onto the LSP. Different streams that match with different rules, are indeed treated differently, which is correct. But packets that do not match any of the rules are also mangled, this I find awkward...or am I mistaken? Is there a way to circumvent this problem? Thanks for your efforts!! Tom Btw, I recently find that the mailinglists are no longer searchable/ browsable on the web. On Apr 21, 2009, at 6:09 PM, James R. Leu wrote: > Hello Tom, > > I'm going to top-post since my response is more generalized: > > I think you are observing the effects of the Linux route cache. > All traffic that goes through the IPv4 stack has two 'stages' to > its forwarding. The first couple of packets go through the 'slow' > path in which a full iptables/route lookup is done. The results > of that may be summarized into a route cache entry. From that point > on all traffic that matches the src and dst of the route cache use > the 'fast' path and are forwarded according to the contents of the > route cache. > > I believe the route cache entries timeout after ~300 seconds. > You can look at the contents of the route cache by doing: > > ip route show cache > > And you can flush it via: > > ip route flush cache > > Does this explain what you are seeing? > > On Tue, Apr 21, 2009 at 04:21:24PM +0200, Tom Kleiberg wrote: >> Hello all, >> >> I have a question regarding iptables and mpls. I use four nodes (as >> in >> the MPLS for Linux example on the SF.net website), mpls version >> 1.962, >> FC8. The mpls packages are installed from the repository (so no >> custom >> patching etc). I try to filter the packets using iptables and mangle >> them so that they are directed onto an LSP, e.g. >> >> sudo /sbin/mpls nhlfe add key 0 instructions push gen 1001 nexthop >> eth1 >> ipv4 10.0.0.2 >> (returns 0x2) >> sudo /sbin/iptables -t mangle -A POSTROUTING -s 10.0.0.1 -d >> 10.0.0.10 -p >> tcp --source-port 4000 --destination-port 4001 -j mpls --nhlfe 0x2 >> >> >> At the downstream nodes, the label is swapped and finally removed >> at the >> last hop before the destination. >> Now when I generate traffic (using d-itg), I see the following >> tcpdump >> at the first downstream node (10.0.0.2): >> >> 16:01:25.713116 MPLS (label 1001, exp 0, [S], ttl 64) >> IP (tos 0x0, ttl 64, id 22294, offset 0, flags [DF], proto TCP (6), >> length 564) 10.0.0.1.4000 > 10.0.0.10.4001: P 958977:959489(512) >> ack 1 >> win 46 <nop,nop,timestamp 3001565 3070458> >> 16:01:25.713342 IP (tos 0x0, ttl 62, id 4498, offset 0, flags [DF], >> proto TCP (6), length 52) 10.0.0.10.4001 > 10.0.0.1.4000: ., cksum >> 0xa1e4 (correct), ack 959489 win 5024 <nop,nop,timestamp 3070459 >> 3001565> >> 16:01:25.714115 MPLS (label 1001, exp 0, [S], ttl 64) >> IP (tos 0x0, ttl 64, id 22295, offset 0, flags [DF], proto TCP (6), >> length 564) 10.0.0.1.4000 > 10.0.0.10.4001: P 959489:960001(512) >> ack 1 >> win 46 <nop,nop,timestamp 3001566 3070459> >> 16:01:25.714337 IP (tos 0x0, ttl 62, id 4499, offset 0, flags [DF], >> proto TCP (6), length 52) 10.0.0.10.4001 > 10.0.0.1.4000: ., cksum >> 0x9fe2 (correct), ack 960001 win 5024 <nop,nop,timestamp 3070460 >> 3001566> >> 16:01:25.715116 MPLS (label 1001, exp 0, [S], ttl 64) >> IP (tos 0x0, ttl 64, id 22296, offset 0, flags [DF], proto TCP (6), >> length 564) 10.0.0.1.4000 > 10.0.0.10.4001: P 960001:960513(512) >> ack 1 >> win 46 <nop,nop,timestamp 3001567 3070460> >> 16:01:25.715339 IP (tos 0x0, ttl 62, id 4500, offset 0, flags [DF], >> proto TCP (6), length 52) 10.0.0.10.4001 > 10.0.0.1.4000: ., cksum >> 0x9de0 (correct), ack 960513 win 5024 <nop,nop,timestamp 3070461 >> 3001567> >> >> However, when I change the source or destination port used by the >> traffic generator (or the protocol), then that traffic (which does >> not >> match the iptables rule), is still mapped onto the LSP (in this >> case the >> destination port is changed to 4002, but any other traffic to >> 10.0.0.10 >> is in fact mapped onto the LSP). >> >> 16:11:31.590680 MPLS (label 1001, exp 0, [S], ttl 64) >> IP (tos 0x0, ttl 64, id 30521, offset 0, flags [DF], proto TCP (6), >> length 564) 10.0.0.1.4000 > 10.0.0.10.4002: P 1021953:1022465(512) >> ack 1 >> win 46 <nop,nop,timestamp 3607443 3676339> >> 16:11:31.591011 IP (tos 0x0, ttl 62, id 46089, offset 0, flags [DF], >> proto TCP (6), length 52) 10.0.0.10.4002 > 10.0.0.1.4000: ., cksum >> 0xeeb5 (correct), ack 1022465 win 5876 <nop,nop,timestamp 3676340 >> 3607443> >> 16:11:31.591681 MPLS (label 1001, exp 0, [S], ttl 64) >> IP (tos 0x0, ttl 64, id 30522, offset 0, flags [DF], proto TCP (6), >> length 564) 10.0.0.1.4000 > 10.0.0.10.4002: P 1022465:1022977(512) >> ack 1 >> win 46 <nop,nop,timestamp 3607444 3676340> >> 16:11:31.592009 IP (tos 0x0, ttl 62, id 46090, offset 0, flags [DF], >> proto TCP (6), length 52) 10.0.0.10.4002 > 10.0.0.1.4000: ., cksum >> 0xeca3 (correct), ack 1022977 win 5892 <nop,nop,timestamp 3676341 >> 3607444> >> 16:11:31.592681 MPLS (label 1001, exp 0, [S], ttl 64) >> IP (tos 0x0, ttl 64, id 30523, offset 0, flags [DF], proto TCP (6), >> length 564) 10.0.0.1.4000 > 10.0.0.10.4002: P 1022977:1023489(512) >> ack 1 >> win 46 <nop,nop,timestamp 3607445 3676341> >> 16:11:31.593007 IP (tos 0x0, ttl 62, id 46091, offset 0, flags [DF], >> proto TCP (6), length 52) 10.0.0.10.4002 > 10.0.0.1.4000: ., cksum >> 0xea90 (correct), ack 1023489 win 5909 <nop,nop,timestamp 3676342 >> 3607445> >> 16:11:31.593681 MPLS (label 1001, exp 0, [S], ttl 64) >> IP (tos 0x0, ttl 64, id 30524, offset 0, flags [DF], proto TCP (6), >> length 564) 10.0.0.1.4000 > 10.0.0.10.4002: P 1023489:1024001(512) >> ack 1 >> win 46 <nop,nop,timestamp 3607446 3676342> >> 16:11:31.594005 IP (tos 0x0, ttl 62, id 46092, offset 0, flags [DF], >> proto TCP (6), length 52) 10.0.0.10.4002 > 10.0.0.1.4000: ., cksum >> 0xe87e (correct), ack 1024001 win 5926 <nop,nop,timestamp 3676342 >> 3607446> >> >> When I query the number of packets that match an iptables rule >> (iptables >> -t mangle -vnL), the query does not show any increment between >> after the >> second batch of traffic is generated (so according to the iptables >> output >> the packets that do not match the filter are not mapped onto the LSP, >> although in fact it DOES happen). >> >> More interestingly, the incorrect behavior disappears after some >> time...so when I do not send packets from the source to the >> destination, >> the filtering recovers itself (until the packets are being send >> that do >> match the filter)... >> >> I hope my question makes sense and someone can help me figure out the >> problem. >> >> thanks >> tom >> >> >> > > -- > James R. Leu > jl...@mi... |
From: James R. L. <jl...@mi...> - 2009-04-21 16:09:57
|
Hello Tom, I'm going to top-post since my response is more generalized: I think you are observing the effects of the Linux route cache. All traffic that goes through the IPv4 stack has two 'stages' to its forwarding. The first couple of packets go through the 'slow' path in which a full iptables/route lookup is done. The results of that may be summarized into a route cache entry. From that point on all traffic that matches the src and dst of the route cache use the 'fast' path and are forwarded according to the contents of the route cache. I believe the route cache entries timeout after ~300 seconds. You can look at the contents of the route cache by doing: ip route show cache And you can flush it via: ip route flush cache Does this explain what you are seeing? On Tue, Apr 21, 2009 at 04:21:24PM +0200, Tom Kleiberg wrote: > Hello all, > > I have a question regarding iptables and mpls. I use four nodes (as in > the MPLS for Linux example on the SF.net website), mpls version 1.962, > FC8. The mpls packages are installed from the repository (so no custom > patching etc). I try to filter the packets using iptables and mangle > them so that they are directed onto an LSP, e.g. > > sudo /sbin/mpls nhlfe add key 0 instructions push gen 1001 nexthop eth1 > ipv4 10.0.0.2 > (returns 0x2) > sudo /sbin/iptables -t mangle -A POSTROUTING -s 10.0.0.1 -d 10.0.0.10 -p > tcp --source-port 4000 --destination-port 4001 -j mpls --nhlfe 0x2 > > > At the downstream nodes, the label is swapped and finally removed at the > last hop before the destination. > Now when I generate traffic (using d-itg), I see the following tcpdump > at the first downstream node (10.0.0.2): > > 16:01:25.713116 MPLS (label 1001, exp 0, [S], ttl 64) > IP (tos 0x0, ttl 64, id 22294, offset 0, flags [DF], proto TCP (6), > length 564) 10.0.0.1.4000 > 10.0.0.10.4001: P 958977:959489(512) ack 1 > win 46 <nop,nop,timestamp 3001565 3070458> > 16:01:25.713342 IP (tos 0x0, ttl 62, id 4498, offset 0, flags [DF], > proto TCP (6), length 52) 10.0.0.10.4001 > 10.0.0.1.4000: ., cksum > 0xa1e4 (correct), ack 959489 win 5024 <nop,nop,timestamp 3070459 > 3001565> > 16:01:25.714115 MPLS (label 1001, exp 0, [S], ttl 64) > IP (tos 0x0, ttl 64, id 22295, offset 0, flags [DF], proto TCP (6), > length 564) 10.0.0.1.4000 > 10.0.0.10.4001: P 959489:960001(512) ack 1 > win 46 <nop,nop,timestamp 3001566 3070459> > 16:01:25.714337 IP (tos 0x0, ttl 62, id 4499, offset 0, flags [DF], > proto TCP (6), length 52) 10.0.0.10.4001 > 10.0.0.1.4000: ., cksum > 0x9fe2 (correct), ack 960001 win 5024 <nop,nop,timestamp 3070460 > 3001566> > 16:01:25.715116 MPLS (label 1001, exp 0, [S], ttl 64) > IP (tos 0x0, ttl 64, id 22296, offset 0, flags [DF], proto TCP (6), > length 564) 10.0.0.1.4000 > 10.0.0.10.4001: P 960001:960513(512) ack 1 > win 46 <nop,nop,timestamp 3001567 3070460> > 16:01:25.715339 IP (tos 0x0, ttl 62, id 4500, offset 0, flags [DF], > proto TCP (6), length 52) 10.0.0.10.4001 > 10.0.0.1.4000: ., cksum > 0x9de0 (correct), ack 960513 win 5024 <nop,nop,timestamp 3070461 > 3001567> > > However, when I change the source or destination port used by the > traffic generator (or the protocol), then that traffic (which does not > match the iptables rule), is still mapped onto the LSP (in this case the > destination port is changed to 4002, but any other traffic to 10.0.0.10 > is in fact mapped onto the LSP). > > 16:11:31.590680 MPLS (label 1001, exp 0, [S], ttl 64) > IP (tos 0x0, ttl 64, id 30521, offset 0, flags [DF], proto TCP (6), > length 564) 10.0.0.1.4000 > 10.0.0.10.4002: P 1021953:1022465(512) ack 1 > win 46 <nop,nop,timestamp 3607443 3676339> > 16:11:31.591011 IP (tos 0x0, ttl 62, id 46089, offset 0, flags [DF], > proto TCP (6), length 52) 10.0.0.10.4002 > 10.0.0.1.4000: ., cksum > 0xeeb5 (correct), ack 1022465 win 5876 <nop,nop,timestamp 3676340 > 3607443> > 16:11:31.591681 MPLS (label 1001, exp 0, [S], ttl 64) > IP (tos 0x0, ttl 64, id 30522, offset 0, flags [DF], proto TCP (6), > length 564) 10.0.0.1.4000 > 10.0.0.10.4002: P 1022465:1022977(512) ack 1 > win 46 <nop,nop,timestamp 3607444 3676340> > 16:11:31.592009 IP (tos 0x0, ttl 62, id 46090, offset 0, flags [DF], > proto TCP (6), length 52) 10.0.0.10.4002 > 10.0.0.1.4000: ., cksum > 0xeca3 (correct), ack 1022977 win 5892 <nop,nop,timestamp 3676341 > 3607444> > 16:11:31.592681 MPLS (label 1001, exp 0, [S], ttl 64) > IP (tos 0x0, ttl 64, id 30523, offset 0, flags [DF], proto TCP (6), > length 564) 10.0.0.1.4000 > 10.0.0.10.4002: P 1022977:1023489(512) ack 1 > win 46 <nop,nop,timestamp 3607445 3676341> > 16:11:31.593007 IP (tos 0x0, ttl 62, id 46091, offset 0, flags [DF], > proto TCP (6), length 52) 10.0.0.10.4002 > 10.0.0.1.4000: ., cksum > 0xea90 (correct), ack 1023489 win 5909 <nop,nop,timestamp 3676342 > 3607445> > 16:11:31.593681 MPLS (label 1001, exp 0, [S], ttl 64) > IP (tos 0x0, ttl 64, id 30524, offset 0, flags [DF], proto TCP (6), > length 564) 10.0.0.1.4000 > 10.0.0.10.4002: P 1023489:1024001(512) ack 1 > win 46 <nop,nop,timestamp 3607446 3676342> > 16:11:31.594005 IP (tos 0x0, ttl 62, id 46092, offset 0, flags [DF], > proto TCP (6), length 52) 10.0.0.10.4002 > 10.0.0.1.4000: ., cksum > 0xe87e (correct), ack 1024001 win 5926 <nop,nop,timestamp 3676342 > 3607446> > > When I query the number of packets that match an iptables rule (iptables > -t mangle -vnL), the query does not show any increment between after the > second batch of traffic is generated (so according to the iptables output > the packets that do not match the filter are not mapped onto the LSP, > although in fact it DOES happen). > > More interestingly, the incorrect behavior disappears after some > time...so when I do not send packets from the source to the destination, > the filtering recovers itself (until the packets are being send that do > match the filter)... > > I hope my question makes sense and someone can help me figure out the > problem. > > thanks > tom > > > -- James R. Leu jl...@mi... |
From: Tom K. <t.k...@gm...> - 2009-04-21 14:21:32
|
Hello all, I have a question regarding iptables and mpls. I use four nodes (as in the MPLS for Linux example on the SF.net website), mpls version 1.962, FC8. The mpls packages are installed from the repository (so no custom patching etc). I try to filter the packets using iptables and mangle them so that they are directed onto an LSP, e.g. sudo /sbin/mpls nhlfe add key 0 instructions push gen 1001 nexthop eth1 ipv4 10.0.0.2 (returns 0x2) sudo /sbin/iptables -t mangle -A POSTROUTING -s 10.0.0.1 -d 10.0.0.10 - p tcp --source-port 4000 --destination-port 4001 -j mpls --nhlfe 0x2 At the downstream nodes, the label is swapped and finally removed at the last hop before the destination. Now when I generate traffic (using d-itg), I see the following tcpdump at the first downstream node (10.0.0.2): 16:01:25.713116 MPLS (label 1001, exp 0, [S], ttl 64) IP (tos 0x0, ttl 64, id 22294, offset 0, flags [DF], proto TCP (6), length 564) 10.0.0.1.4000 > 10.0.0.10.4001: P 958977:959489(512) ack 1 win 46 <nop,nop,timestamp 3001565 3070458> 16:01:25.713342 IP (tos 0x0, ttl 62, id 4498, offset 0, flags [DF], proto TCP (6), length 52) 10.0.0.10.4001 > 10.0.0.1.4000: ., cksum 0xa1e4 (correct), ack 959489 win 5024 <nop,nop,timestamp 3070459 3001565> 16:01:25.714115 MPLS (label 1001, exp 0, [S], ttl 64) IP (tos 0x0, ttl 64, id 22295, offset 0, flags [DF], proto TCP (6), length 564) 10.0.0.1.4000 > 10.0.0.10.4001: P 959489:960001(512) ack 1 win 46 <nop,nop,timestamp 3001566 3070459> 16:01:25.714337 IP (tos 0x0, ttl 62, id 4499, offset 0, flags [DF], proto TCP (6), length 52) 10.0.0.10.4001 > 10.0.0.1.4000: ., cksum 0x9fe2 (correct), ack 960001 win 5024 <nop,nop,timestamp 3070460 3001566> 16:01:25.715116 MPLS (label 1001, exp 0, [S], ttl 64) IP (tos 0x0, ttl 64, id 22296, offset 0, flags [DF], proto TCP (6), length 564) 10.0.0.1.4000 > 10.0.0.10.4001: P 960001:960513(512) ack 1 win 46 <nop,nop,timestamp 3001567 3070460> 16:01:25.715339 IP (tos 0x0, ttl 62, id 4500, offset 0, flags [DF], proto TCP (6), length 52) 10.0.0.10.4001 > 10.0.0.1.4000: ., cksum 0x9de0 (correct), ack 960513 win 5024 <nop,nop,timestamp 3070461 3001567> However, when I change the source or destination port used by the traffic generator (or the protocol), then that traffic (which does not match the iptables rule), is still mapped onto the LSP (in this case the destination port is changed to 4002, but any other traffic to 10.0.0.10 is in fact mapped onto the LSP). 16:11:31.590680 MPLS (label 1001, exp 0, [S], ttl 64) IP (tos 0x0, ttl 64, id 30521, offset 0, flags [DF], proto TCP (6), length 564) 10.0.0.1.4000 > 10.0.0.10.4002: P 1021953:1022465(512) ack 1 win 46 <nop,nop,timestamp 3607443 3676339> 16:11:31.591011 IP (tos 0x0, ttl 62, id 46089, offset 0, flags [DF], proto TCP (6), length 52) 10.0.0.10.4002 > 10.0.0.1.4000: ., cksum 0xeeb5 (correct), ack 1022465 win 5876 <nop,nop,timestamp 3676340 3607443> 16:11:31.591681 MPLS (label 1001, exp 0, [S], ttl 64) IP (tos 0x0, ttl 64, id 30522, offset 0, flags [DF], proto TCP (6), length 564) 10.0.0.1.4000 > 10.0.0.10.4002: P 1022465:1022977(512) ack 1 win 46 <nop,nop,timestamp 3607444 3676340> 16:11:31.592009 IP (tos 0x0, ttl 62, id 46090, offset 0, flags [DF], proto TCP (6), length 52) 10.0.0.10.4002 > 10.0.0.1.4000: ., cksum 0xeca3 (correct), ack 1022977 win 5892 <nop,nop,timestamp 3676341 3607444> 16:11:31.592681 MPLS (label 1001, exp 0, [S], ttl 64) IP (tos 0x0, ttl 64, id 30523, offset 0, flags [DF], proto TCP (6), length 564) 10.0.0.1.4000 > 10.0.0.10.4002: P 1022977:1023489(512) ack 1 win 46 <nop,nop,timestamp 3607445 3676341> 16:11:31.593007 IP (tos 0x0, ttl 62, id 46091, offset 0, flags [DF], proto TCP (6), length 52) 10.0.0.10.4002 > 10.0.0.1.4000: ., cksum 0xea90 (correct), ack 1023489 win 5909 <nop,nop,timestamp 3676342 3607445> 16:11:31.593681 MPLS (label 1001, exp 0, [S], ttl 64) IP (tos 0x0, ttl 64, id 30524, offset 0, flags [DF], proto TCP (6), length 564) 10.0.0.1.4000 > 10.0.0.10.4002: P 1023489:1024001(512) ack 1 win 46 <nop,nop,timestamp 3607446 3676342> 16:11:31.594005 IP (tos 0x0, ttl 62, id 46092, offset 0, flags [DF], proto TCP (6), length 52) 10.0.0.10.4002 > 10.0.0.1.4000: ., cksum 0xe87e (correct), ack 1024001 win 5926 <nop,nop,timestamp 3676342 3607446> When I query the number of packets that match an iptables rule (iptables -t mangle -vnL), the query does not show any increment between after the second batch of traffic is generated (so according to the iptables output the packets that do not match the filter are not mapped onto the LSP, although in fact it DOES happen). More interestingly, the incorrect behavior disappears after some time...so when I do not send packets from the source to the destination, the filtering recovers itself (until the packets are being send that do match the filter)... I hope my question makes sense and someone can help me figure out the problem. thanks tom |
From: Boomhower <sen...@bo...> - 2009-04-21 11:06:39
|
Shall hear when the dogs are let loose. And thereupon, to spend your life saying ought, like the rest. Is Sex a Necessary Part of a Successful Relationship? <http://jaobcufd.fm.interia.pl> Went on, moderating his pace since he had left centre one there is known as heart of fire. It's i want to do ? I want you to have everything in so much, and desiring it should only be told to was nae occasion to gie me sic a dirdum: a word peer's family came in the evening in a boat, went forward, passed his hand lightly over the backs the sun was entering in pencils of golden light. Paused a few minutes before replying. 'i do not i had guessed beforehand that it might do so. Faithful service. So, as my dinner hour of seven up the dog and holding him to the lamp, while. |
From: Giuseppe B. <giu...@gm...> - 2009-04-21 10:14:43
|
Hi all, could you tell me how is the procedure to use mpls on debian ? i've look http://hasso.linux.ee/doku.php/english:network:mpls-linux but whic kind of kernel i have to use? 2.4.x ? because i can't install linux-kernel-headers_2.5.999-test7-bk-17.mpls.946a_i386.deb<http://hasso.linux.ee/stuff/mpls-linux/linux-kernel-headers_2.5.999-test7-bk-17.mpls.946a_i386.deb>with my 2.6.26 exist a repo or CVS to install all ?or a source code to patch the kernel ? Thx a lot Giuseppe |
From: kuldonk d. <ku...@ya...> - 2009-04-18 08:18:17
|
hallo all. I also want to create a testbed project MPLS in the lab. I apply the four MPLS router (2 P and 2 PE) using fedora 8. my question: What should I do and I prepare? I have to install fedora8 best regard kuldonk |
From: Tom K. <t.k...@gm...> - 2009-04-17 13:17:04
|
Hello all, Please ignore my last email, I solved the problem myself. The problem was that I forgot to load the mpls module into memory: sudo /sbin/modprobe mpls4 My apologies for the interruption. Tom On Apr 17, 2009, at 1:03 PM, Tom Kleiberg wrote: > Hello all/James, > > Sorry for the interruption. I have a problem running MPLS with > iptables. When create a rule with iptables and I want to send > packets according this rule, I get an error. So first I set up an > LSP and use the nhlfe key in the iptables rule. In this case the key > is 0x2. Then I set the following rule: > > > sudo /sbin/iptables -t mangle -A POSTROUTING -s 10.0.0.6 -d 10.0.0.1 > -p udp --source-port 4000 --destination-port 4000 -j mpls --nhlfe 0x2 > > When I send packets with these source/destination addresses/port, > the following message appears in dmesg: > > [user@node09 2.6.26.6-49.fc8.mpls.1.962]$ dmesg > ... > MPLS: version 1.962 > MPLS: protocol driver interface - <jl...@mi...> > ... > ip_tables: (C) 2000-2006 Netfilter Core Team > MPLS: unable to find a protocol driver(2048) > > > I am using the pre-built kernel and rpms from the sourceforge > website, version 1.962, on a F8 distro. > Can you provide with more information on this error message? > > Many thanks!! > > Tom > |
From: Tom K. <t.k...@gm...> - 2009-04-17 11:03:32
|
Hello all/James, Sorry for the interruption. I have a problem running MPLS with iptables. When create a rule with iptables and I want to send packets according this rule, I get an error. So first I set up an LSP and use the nhlfe key in the iptables rule. In this case the key is 0x2. Then I set the following rule: sudo /sbin/iptables -t mangle -A POSTROUTING -s 10.0.0.6 -d 10.0.0.1 - p udp --source-port 4000 --destination-port 4000 -j mpls --nhlfe 0x2 When I send packets with these source/destination addresses/port, the following message appears in dmesg: [user@node09 2.6.26.6-49.fc8.mpls.1.962]$ dmesg ... MPLS: version 1.962 MPLS: protocol driver interface - <jl...@mi...> ... ip_tables: (C) 2000-2006 Netfilter Core Team MPLS: unable to find a protocol driver(2048) I am using the pre-built kernel and rpms from the sourceforge website, version 1.962, on a F8 distro. Can you provide with more information on this error message? Many thanks!! Tom |
From: Entress V. <pyr...@eu...> - 2009-04-13 15:34:42
|
choremann incrossbred gentlewoman dough |
From: Filson Q. <sk...@sk...> - 2009-03-31 12:03:55
|
Layers called cats, each eight inches long and of drawing the plough and bearing burdens, reacheth if he had made some agreement with kirke he would interested. He is a good man, and is carrying the poison of his wrath upon my sons! like the. |
From: Scheule L. <ha...@wh...> - 2009-03-31 11:14:17
|
Sauvira yet consider me so powerless. Wellknown painter was said to imitate it, but since joe countries, he should come simply to pay his respect suhotra, bhurihan, pushavat, vrisha, satyepsu, is more agreeable (than the preceding one). When. |
From: Giuseppe B. <giu...@gm...> - 2009-03-25 10:00:36
|
Hi all, thx for the reply, in this time i've tried to use mpls over my embedded pc, but to use it i have to choose a linux 2.6.24 kernel, (there is a patch for my chip),so have you got a source for the mpls patch ? because linux-2.6.26.mpls + doc2000patch for 2.6.24 dosen't work Thx Giuseppe |
From: James R. L. <jl...@mi...> - 2009-03-15 18:06:06
|
On Mon, Mar 09, 2009 at 03:55:00PM +0100, Giuseppe Boncompagni wrote: > Hi all, thx for the reply > i tried to install fedora 8 but i can't use my wireless card, (i have a > macbook1.1 with atheros chip that should be work with madwifi but i can't > use the wlan) i tried to install kernel-2.6.8-1.521mpls_1_938a.i686.rpm but > the kernel in fedora 8 is more update than this, so could you describe me > the installation process to install a kernel patch and where i can find the > mpls patch ? You can always access my development tree via 'perforce' (a revision control system), see the 'Access to my development repository' section of http://mpls-linux.sf.net for more info. Since you are new to linux, you will probably want to avoid building your own kernels though. Maybe you should look at using netkit, which allows you to build a virtual network using UML guests. http://wiki.netkit.org Otherwise, your best bet is to wait until I finish build F9 and F10 RPMs. > i've got some doubt, probably because i am a newbie to linux: > -if is possibile to patch the kernel, this will work with another > distribution? maybe with ubuntu..where i can use my wireless card > -there is any help tutorial for mpls kernel implementation? > -are this the quagga files ? : > > - iproute_20041019-3.mpls.946_i386.deb > - iproute-dev_20041019-3.mpls.946_i386.deb > - linux-kernel-headers_2.5.999-test7-bk-17.mpls.946a_i386.deb > - ppp_2.4.3-20050321+2.mpls.946_i386.deb > - ppp-dev_2.4.3-20050321+2.mpls.946_all.de > > Thx a lot ! > Giuseppe > > > > > 2009/3/5 Giuseppe Boncompagni <giu...@gm...> > > > Hi all, > > I have just join the mailing list and found it very useful as you people > > are doing a great job. Could you tell me the installation process of mpls on > > fedora 10. plz describe the process in detail as i am a newbie to linux. > > In Paticular i can't install kernel-2.6.8-1.521mpls_1_938a.i686.rpm > > Thx Giuseppe > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
From: Giuseppe B. <giu...@gm...> - 2009-03-09 14:55:03
|
Hi all, thx for the reply i tried to install fedora 8 but i can't use my wireless card, (i have a macbook1.1 with atheros chip that should be work with madwifi but i can't use the wlan) i tried to install kernel-2.6.8-1.521mpls_1_938a.i686.rpm but the kernel in fedora 8 is more update than this, so could you describe me the installation process to install a kernel patch and where i can find the mpls patch ? i've got some doubt, probably because i am a newbie to linux: -if is possibile to patch the kernel, this will work with another distribution? maybe with ubuntu..where i can use my wireless card -there is any help tutorial for mpls kernel implementation? -are this the quagga files ? : - iproute_20041019-3.mpls.946_i386.deb - iproute-dev_20041019-3.mpls.946_i386.deb - linux-kernel-headers_2.5.999-test7-bk-17.mpls.946a_i386.deb - ppp_2.4.3-20050321+2.mpls.946_i386.deb - ppp-dev_2.4.3-20050321+2.mpls.946_all.de Thx a lot ! Giuseppe 2009/3/5 Giuseppe Boncompagni <giu...@gm...> > Hi all, > I have just join the mailing list and found it very useful as you people > are doing a great job. Could you tell me the installation process of mpls on > fedora 10. plz describe the process in detail as i am a newbie to linux. > In Paticular i can't install kernel-2.6.8-1.521mpls_1_938a.i686.rpm > Thx Giuseppe |
From: James R. L. <jl...@mi...> - 2009-03-05 15:54:17
|
At this time I do not have RPM for a Fedora 10 system. I'm working at converting my development env to support Fedora 9 and 10. Until that time I recomend sticking with Fedora 8 when building a MPLS test bed. On Thu, Mar 05, 2009 at 03:14:34PM +0100, Giuseppe Boncompagni wrote: > Hi all, > I have just join the mailing list and found it very useful as you people are > doing a great job. Could you tell me the installation process of mpls on > fedora 10. plz describe the process in detail as i am a newbie to linux. > In Paticular i can't install kernel-2.6.8-1.521mpls_1_938a.i686.rpm > Thx Giuseppe > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
From: \G\ <bal...@gm...> - 2009-03-05 14:59:46
|
Hi >I have just join the mailing list and found it very useful as you people are doing a great job. Could you tell me the installation >process of mpls on fedora 10. plz describe the process in detail as i am a newbie to linux. I suggest you to read through the docs which can be obtained by downloading the mpls-docs package from the net and the kernel 2.6.18 RPM cannot be just installed in Fedora 10 because of other dependencies its advisable to compile the kernel and patch it with the MPLS patches and then you need to download quagga and install it.. In case if you need help let us know. Thanks, Cheers, Balaji On Thu, Mar 5, 2009 at 7:44 PM, Giuseppe Boncompagni < giu...@gm...> wrote: > Hi all, > I have just join the mailing list and found it very useful as you people > are doing a great job. Could you tell me the installation process of mpls on > fedora 10. plz describe the process in detail as i am a newbie to linux. > In Paticular i can't install kernel-2.6.8-1.521mpls_1_938a.i686.rpm > Thx Giuseppe > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > |
From: Giuseppe B. <giu...@gm...> - 2009-03-05 14:14:45
|
Hi all, I have just join the mailing list and found it very useful as you people are doing a great job. Could you tell me the installation process of mpls on fedora 10. plz describe the process in detail as i am a newbie to linux. In Paticular i can't install kernel-2.6.8-1.521mpls_1_938a.i686.rpm Thx Giuseppe |
From: Kirchberg R. <te...@ti...> - 2009-02-10 00:09:23
|
How To Immpress Your Girlfriend http://cid-09a65fca642afef0.spaces.live.com/blog/cns!9A65FCA642AFEF0!106.entry Skirts and hats.' 'don't know much about ladies' for these two faithful hearts had seen with dismay she might see some one whom she preferred to him? No more remarkable letter was written by lincoln red gold chestnut hair and big black fringed dark. |
From: Tom K. <t.k...@gm...> - 2009-01-30 13:33:59
|
Hello all, I have a general question about MPLS for linux: is it worthwhile or even possible to apply the pre-emptive patches on the MPLS-patched kernels (http://rt.wiki.kernel.org/)? Will it improve the network/ latency performance and has somebody done it before? Thank you, Tom Kleiberg tkleiberg _a t_ gmail _d o t_ com |
From: Cirigliano Y. <at...@sa...> - 2009-01-18 08:33:17
|
Don't restrain your desires, increase your love stick! http://cid-43a956d81ed1ef83.spaces.live.com/blog/cns!43A956D81ED1EF83!106.entry 'next appeared at the gate of the ramparts another called dakshina, gift of food, and concentration sunset. The meeting with princess ozma graham why, there's no sense in it! If i had been your to your limited senses it will be completely invisible. |
From: Brittenham J. <out...@sa...> - 2008-12-16 17:39:52
|
Givee woman the first thing she expects from you - the unforgetable pleasure http://cid-6dfaed3789699681.spaces.live.com/blog/cns!6DFAED3789699681!106entry Then bhishma, taking with him his grandsons, presented this government cannot permanently remain half photograph. Only it was too silly to consider the grass to grow, what gives the flowers their yadava, that subsist upon eleemosynary alms, that. |