mpls-linux-general Mailing List for MPLS for Linux (Page 95)
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...> - 2004-08-23 14:21:31
|
On Sun, Aug 22, 2004 at 11:18:10PM +0700, bla...@in... wrote:
> i'v already done with simple example
> now i want do this:
I've redrawn your ascii art to try and clarify your configuration. Did
I capture your setup correctly?
10.120.0.0/24 10.120.1.0/24
.2 .3 .2 .3
|A|-----------------------|B|-----------------------|C|
eth1 eth0 eth1 eth0
----------64----------> ------------66-------->
<---------65----------- <-----------67---------
If so:
LER A
-----
ifconfig eth1 10.120.0.2 netmask 255.255.255.0
mplsadm2 -A -O 0
Key: 0x2
mplsadm2 -O 0x2 -o push:gen:64:set:eth1:ipv4:10.120.0.3
ip route add 10.120.1.3/32 dev eth1 spec_nh 0x8847 0x2
mplsadm2 -A -I gen:65:0
mplsadm2 -L eth1:0
LSR B
-----
ifconfig eth0 10.120.0.3 netmask 255.255.255.0
ifconfig eth1 10.120.1.2 netmask 255.255.255.0
mplsadm2 -A -O 0
Key: 0x2
mplsadm2 -O 0x2 -o push:gen:66:set:eth1:ipv4:10.120.1.3
mplsadm2 -A -I gen:64:0
mplsadm2 -L eth0:0
mplsadm2 -B -I gen:64:0 -O 0x2
mplsadm2 -A -O 0
Key: 0x3
mplsadm2 -O 0x3 -o push:gen:65:set:eth0:ipv4:10.120.0.2
mplsadm2 -A -I gen:67:0
mplsadm2 -L eth1:0
mplsadm2 -B -I gen:67:0 -O 0x3
LER C
-----
ifconfig eth0 10.120.1.3 netmask 255.255.255.0
mplsadm2 -A -O 0
Key: 0x2
mplsadm2 -O 0x2 -o push:gen:67:set:eth0:ipv4:10.120.1.2
ip route add 10.120.0.2/32 dev eth0 spec_nh 0x8847 0x2
mplsadm2 -A -I gen:66:0
mplsadm2 -L eth0:0
> is that correct for A & B??
> and what about C&D??
> It would be much appreciated if you could help me out with these...
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--
James R. Leu
jl...@mi...
|
|
From: <bla...@in...> - 2004-08-22 16:04:32
|
i'v already done with simple example now i want do this: 10.120.0.2 10.120.0.3 10.120.1.2 10.120.1.3 A:eth1 |--| eth0:A:eth1 |--| eth0:C Out 64 65 66 67 A: ifconfig eth1 10.120.0.2 netmask 255.255.255.0 mplsadm2 -AO 0 mplsadm2 -O 0x2 -o push:gen:64:set:eth1:ipv4:10.120.0.3 ip route add 10.120.0.3/32 dev eth1 spec_nh 0x8847 0x2 mplsadm2 -AI gen:65:0 mplsadm2 -L eth1:0 B: ifconfig eth0 10.120.1.3 netmask 255.255.255.0 mplsadm2 -AO 0 mplsadm2 -O 0x2 -o push:gen:67:set:eth0:ipv4:10.120.1.2 ip route add 10.120.1.2/32 dev eth0 spec_nh 0x8847 0x2 mplsadm2 -AI gen:66:0 mplsadm2 -L eth0:0 is that correct for A & B?? and what about C&D?? It would be much appreciated if you could help me out with these... |
|
From: James R. L. <jl...@mi...> - 2004-08-17 13:13:37
|
On Tue, Aug 17, 2004 at 01:49:06PM +1000, Jon...@cs... wrote: > Dear James, > > > I think you can convert the EXP bits to tcindex(or nfmark) in > > the ILM and then in the NHFLE convert from tcindex(or nfmark) > > back to EXP _before_ each push. > > > > Something like this: > > > > mplsadm2 -A -I gen:16:0 > > mplsadm2 -I gen:16:0 -i > > exp2tc:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:pop:fwd:0x2 > > > > where 0x2 is the key for this NHLFE: > > > > mplsadm2 -A -O 0 > > Key: 0x2 > > mplsadm2 -O 0x2 -o > > tc2exp:0x3f:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:push:gen:17:tc2exp > > :0xf:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:push:gen:18:set:eth1:ipv4:1.1.1.1 > > Silly question... Is there any reason why the mask of first tc2exp is > 0x3f while the second one is 0xf ? Nope. It's a typo. Technically the mask only needs to be 0x7, but 0xf works just fine. > > I think your feature request is a valid one. AS you can see this > > EXP->tcindex, tcindex->EXP is a pain. A simple flag on the > > NHLFE would make this process much easier. > > I agree... Perhaps it is nice to have this option in a newer version, > regardless whether it is the best practice or not. > > Cheers, > Jonathan > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: <Jon...@cs...> - 2004-08-17 03:51:38
|
Dear James, > I think you can convert the EXP bits to tcindex(or nfmark) in=20 > the ILM and then in the NHFLE convert from tcindex(or nfmark)=20 > back to EXP _before_ each push. >=20 > Something like this: >=20 > mplsadm2 -A -I gen:16:0 > mplsadm2 -I gen:16:0 -i=20 > exp2tc:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:pop:fwd:0x2 >=20 > where 0x2 is the key for this NHLFE: >=20 > mplsadm2 -A -O 0 > Key: 0x2 > mplsadm2 -O 0x2 -o=20 > tc2exp:0x3f:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:push:gen:17:tc2exp > :0xf:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:push:gen:18:set:eth1:ipv4:1.1.1.1 Silly question... Is there any reason why the mask of first tc2exp is 0x3f while the second one is 0xf ? > I think your feature request is a valid one. AS you can see this > EXP->tcindex, tcindex->EXP is a pain. A simple flag on the=20 > NHLFE would make this process much easier. I agree... Perhaps it is nice to have this option in a newer version, regardless whether it is the best practice or not.=20 Cheers, Jonathan |
|
From: James R. L. <jl...@mi...> - 2004-08-16 16:03:17
|
On Mon, Aug 16, 2004 at 10:02:40AM +1000, Jon...@cs... wrote: > Dear James > > > Currently the EXP bits are new for each level of the > > hierarchy, this is considered the 'best common practice' by > > those in the MPLS WG at the IETF. At one time we discussed the > > scenario you are talking about, the general concessus was > > that it was a bad idea. > > I can appreciate/imagine the reasoning of this general concessus, but > just wondering if this scenario can be done from existing mpls-linux > implementation. I think you can convert the EXP bits to tcindex(or nfmark) in the ILM and then in the NHFLE convert from tcindex(or nfmark) back to EXP _before_ each push. Something like this: mplsadm2 -A -I gen:16:0 mplsadm2 -I gen:16:0 -i exp2tc:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:pop:fwd:0x2 where 0x2 is the key for this NHLFE: mplsadm2 -A -O 0 Key: 0x2 mplsadm2 -O 0x2 -o tc2exp:0x3f:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:push:gen:17:tc2exp:0xf:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:push:gen:18:set:eth1:ipv4:1.1.1.1 The result is that in the ILM we store the EXP bits in the tcindex. Then before we push we set the "current EXP bits" based on the tcindex. After every push the "current EXP bits" are cleared. > > But there is no reason why I cannot > > create a flag that allows this sort of operation to occur. > > Would you like this to be a flag on the ILM, on the NHLFE, or > > a global flag? > > Personally I would like to have it done in any way convenient for you. > But the big issue is that we are still using the old version 1.172 > because there is some other linux functionality required not available > in 2.6 kernel. Please ignore my request if you have found it > inappropriate... I think your feature request is a valid one. AS you can see this EXP->tcindex, tcindex->EXP it a pain. A simple flag on the NHLFE would make this process much easier. > Many thanks for your comments... > > Cheers, > Jonathan > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: <Jon...@cs...> - 2004-08-16 00:04:28
|
Dear James > Currently the EXP bits are new for each level of the=20 > hierarchy, this is considered the 'best common practice' by=20 > those in the MPLS WG at the IETF. At one time we discussed the=20 > scenario you are talking about, the general concessus was=20 > that it was a bad idea. I can appreciate/imagine the reasoning of this general concessus, but just wondering if this scenario can be done from existing mpls-linux implementation. > But there is no reason why I cannot=20 > create a flag that allows this sort of operation to occur. =20 > Would you like this to be a flag on the ILM, on the NHLFE, or=20 > a global flag? Personally I would like to have it done in any way convenient for you. But the big issue is that we are still using the old version 1.172 because there is some other linux functionality required not available in 2.6 kernel. Please ignore my request if you have found it inappropriate... Many thanks for your comments... Cheers, Jonathan |
|
From: James R. L. <jl...@mi...> - 2004-08-15 17:58:52
|
Currently the EXP bits are new for each level of the hierarchy, this is considered the 'best common practice' by those in the MPLS WG at the IETF. At one time we discused the senerio you are talking about, the the general concesus was that it was a bad idea. But there is no reason why I cannot create a flag that allows this sort of operation to occur. Would you like this to be a flag on the ILM, on the NHLFE, or a global flag? On Fri, Aug 13, 2004 at 09:12:38AM +1000, Jon...@cs... wrote: > Dear all, > > I would like to dynamically set up the EXP bit of an outgoing label (say > 100), and push it into an existing shared MPLS tunnel (say mpls200). > That is: > > For high priority traffic: > mplsadm2 -O $opcode -o > set_exp:0x5:push:gen:100:set:mpls200:ipv4:192.168.50.1 > For best effort traffic: > mplsadm2 -O $opcode -o push:gen:100:set:mpls200:ipv4:192.168.50.1 > > Is there any way to make the outer label (i.e. label representing > mpls200) inherit the EXP bit from an inner label? Since we are not doing > label swapping, I am not sure if the "expfwd" instruction is the way. > > Any suggestions/comments are greatly appreciated... > > Cheers, > Jonathan > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2004-08-15 17:56:32
|
Make sure not to build MPLS as a module. On Tue, Aug 10, 2004 at 02:27:53PM +0000, ?? ?? wrote: > hello,the kernel of my computer is 7.3. I have download linux-2.6.6 and > compiled it.It did not have error. Then I patch the mpls-linux-1.935 .But > it dosen't work.When I login the new kernel,the messege is : > printing eip: > c02824dd > *pde = 0000000 > Oops:0000[#1] > CPU: 0 > EIP: 0060:[<c02824dd>] Not tarnted > EFLAGS: 00010282 (2.6.6-mpls) > EIP is at mpls_add_reserved_labels+0xcd/0xe0 > eax:00000000 ebx:c03afde0 ecx:00000001 edx:c031cd60 > esi:00000000 edi:c0328220 ebp:00000000 esp:c1217fd0 > ds:007b es:007b ss:0068 > Process swapper (pid:1, threadinfo=c1216000 task=cffad670) > Stack:c0386e80 00000000 c036cde9 c036ce48 c0352765 c0100290 00000000 > c01002ad > c0103d9d 00000000 00000000 00000000 > call Trace: > [<c036cde9>] mpls_ilm_init+0x79/0x90 > [<c036ce48>] mpls_init_module+0x48/0xd0 > [<c0352765>] do_initcalls+0x65/0xd0 > [<c0100290>] init+0x0/0xd0 > [<c01002ad>] init+0x1d/0xd0 > [<c0103d9d>] kernel_thread_helper+0x5/0x18 > Code: 8b 40 1c 89 3d 60 fe 3a c0 a3 54 fe 3a c0 31 c0 5b 5f c3 a1 > <0>kernel panic: Attempt to kill init! > > moreover when I run make modules_install ,it has an error.the massege is : > make *** [modinst_post] error 1 > > why ? > > _________________________________________________________________ > ???????? MSN Explorer: http://explorer.msn.com/lccn > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2004-08-15 17:54:47
|
If you installed the new RPMs from my site, then you use the 'spec_nh 0x8847 0x2' syntax, not 'lsp 0x2' On Wed, Aug 11, 2004 at 04:09:28AM +0000, sandeep goyal wrote: > hello friends > please any one can tell me what is the solution to this "ip route " > problem. this is when i use ip route .... > i am not able to rectify it . even i am having iproute mpls rpm installed. > [root@localhost root]# mplsadm2 -A -O 0 > MPLSADM mplsadm.c:692:main: Out segment input: 0 > Key: 0x00000002 > Out Segment add: Success > [root@localhost root]# mplsadm2 -O 0x2 -o > push:gen:13:set:eth1:ipv4:192.168.40.3 > MPLSADM mplsadm.c:692:main: Out segment input: 0x2 > MPLSADM mplsadm.c:688:main: Out instr input: > push:gen:13:set:eth1:ipv4:192.168.40.3 > MPLSADM mplsadm.c:292:fill_instructions: Instruction: push > MPLSADM mplsadm.c:229:fill_label: Label type: gen > MPLSADM mplsadm.c:292:fill_instructions: Instruction: set > MPLSADM mplsadm.c:181:parse_nh_info: eth1 > MPLSADM mplsadm.c:182:parse_nh_info: 192.168.40.3 > MPLSADM mplsadm.c:204:parse_nh_info: Nexthop protocol: ipv4 > MPLSADM mplsadm.c:596:fill_instructions: Length: 2 > Out Instr: Success > [root@localhost root]# ip route add 192.168.40.3/32 via 192.168.40.3 lsp 0x2 > Error: either "to" is duplicate, or "lsp" is a garbage. > [root@localhost root]# ip route add 192.168.40.3/32 lsp 0x2 > Error: either "to" is duplicate, or "lsp" is a garbage. > [root@localhost root]# iproute add 192.168.40.3/32 via 192.168.40.3 lsp 0x2 > bash: iproute: command not found > [root@localhost root]# man ip route > [root@localhost root]# > [root@localhost root]# ip route add 192.168.40.3/32 via 192.168.40.3 lsp 0x2 > Error: either "to" is duplicate, or "lsp" is a garbage. > [root@localhost root]# ip route show > 134.74.228.0/24 dev eth2 scope link > 192.168.30.0/24 dev eth0 scope link > 192.168.40.0/24 dev eth1 scope link > 169.254.0.0/16 dev eth2 scope link > 127.0.0.0/8 dev lo scope link > default via 134.74.228.1 dev eth2 > [root@localhost root]# cat /proc/net/mpls_version > 01010702 > [root@localhost root]# cat /proc/net/mpls_out > 0x00000002 0/0/0 1 > [root@localhost root]# ip route add 192.168.40.3/32 via 192.168.40.3 lsp 0x2 > Error: either "to" is duplicate, or "lsp" is a garbage. > thank you very much in advance > sandeep goyal > ccny,cuny > > _________________________________________________________________ > Get head-hunted by 10,000 recruiters. http://go.msnserver.com/IN/46246.asp > Post your CV on naukri.com today. > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2004-08-15 17:52:47
|
What Linux distrubution are you using? The RPMs I've created are specifically meant for a Fedora 2 install. If you want to build a RPM from the SRC RPM you should do a google for 'howto build binary RPM from source RPM' BTW when you install a source RPM it puts the source for the RPM in the redhat/SOURCE directory of your current redhat build tree (if you don't know what I'm talking about, check /usr/src/redhat/SOURCE/) On Mon, Aug 09, 2004 at 05:00:02PM -0700, sandeep goyal wrote: > > hello jleu > hey i am working on the implementation of the quagga on the linux for my project. > > .i tried to run th e rpm quagga-0.96.4-1.1mpls_1_935.i386.rpm .but it has failed dependencies ie. > libc.so.6(GLIBC_2.3.4) is needed by quagga-0.96.4-1.1mpls_1_935.also i tried to use the > glibc-kernheaders-2.4-8.44mpls_1_935.i386.rpm file but it also didnt turn up anything .it jjust give up message glibc-kernelheader-2.4-8.44mpls ,what it means it have created the folder having this name , and if yes than what is the path for that.and is not what is the modification it did.and even after making glib-ker........i386.rpm rpm run.the failed dependancies are not gone.and still quagga-0.96.4-1.1mpls_1_935.i386.rpm give up the failed dependancies message. > > > and when i tried to run > quagga-0.96.4-1.1mpls_1_935.src.rpm it didnt turn up any folder . and it ask for jleu user existance.Is it necessary to have jleu user.but if i didnt it say it is making it for root.so what i have to do next.i mean like i worked on previously on quagga from quagga.net and created zebra.conf,ospfd.conf files and runed them.but here i didnt found any folder created as a result of running the > quagga-0.96.4-1.1mpls_1_935.src.rpm. > finally what is the basic difference between the .rpm files and .src.rpm files available on the website. > > thanks for the answers > > sandeep goyal > > next generation internet lab > > ccny,cuny > > new york ,US > > 201-724-4570 > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2004-08-15 17:48:07
|
I do you mean that you have installed the RPM for Fedora 2? If so then you can try the simple example I show on http://mpls-linux.sf.net/ Or you can try and run the 'zerbra' daemon and use the zebra CLI. If your not familiar with howto run zebra/quagga head over to quagga.net for more info. On Mon, Aug 09, 2004 at 05:09:13PM +0530, nar...@tc... wrote: > Dear all, > > I have sucessfully installed mpls on linux. I dont know hwo to start > > Raaman Narayanaswamy > Tata Consultancy Services > Mailto: nar...@tc... > Website: http://www.tcs.com > DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery > of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the > addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services > on any subject matter. Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other > information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, > you should destroy this message and may please notify the sender by e-mail. Thank you. > -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2004-08-15 17:45:30
|
Probably not. I only support quagga. You can try and back port the patch I supply. On Fri, Aug 06, 2004 at 01:32:52PM +0000, ?? ?? wrote: > I have download the ldp-portable-0.800.But it is fit for quagga.My lab have > been using zebra.I want to use ldp-portable-0.800 for zebra. It's ok? > > _________________________________________________________________ > ???????????????????????????? MSN Messenger: http://messenger.msn.com/cn > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: <Jon...@cs...> - 2004-08-12 23:12:49
|
Dear all, I would like to dynamically set up the EXP bit of an outgoing label (say 100), and push it into an existing shared MPLS tunnel (say mpls200). That is: For high priority traffic: mplsadm2 -O $opcode -o set_exp:0x5:push:gen:100:set:mpls200:ipv4:192.168.50.1 For best effort traffic: mplsadm2 -O $opcode -o push:gen:100:set:mpls200:ipv4:192.168.50.1 Is there any way to make the outer label (i.e. label representing mpls200) inherit the EXP bit from an inner label? Since we are not doing label swapping, I am not sure if the "expfwd" instruction is the way.=20 Any suggestions/comments are greatly appreciated... Cheers, Jonathan |
|
From: sandeep g. <new...@ho...> - 2004-08-11 04:09:38
|
hello friends please any one can tell me what is the solution to this "ip route " problem. this is when i use ip route .... i am not able to rectify it . even i am having iproute mpls rpm installed. [root@localhost root]# mplsadm2 -A -O 0 MPLSADM mplsadm.c:692:main: Out segment input: 0 Key: 0x00000002 Out Segment add: Success [root@localhost root]# mplsadm2 -O 0x2 -o push:gen:13:set:eth1:ipv4:192.168.40.3 MPLSADM mplsadm.c:692:main: Out segment input: 0x2 MPLSADM mplsadm.c:688:main: Out instr input: push:gen:13:set:eth1:ipv4:192.168.40.3 MPLSADM mplsadm.c:292:fill_instructions: Instruction: push MPLSADM mplsadm.c:229:fill_label: Label type: gen MPLSADM mplsadm.c:292:fill_instructions: Instruction: set MPLSADM mplsadm.c:181:parse_nh_info: eth1 MPLSADM mplsadm.c:182:parse_nh_info: 192.168.40.3 MPLSADM mplsadm.c:204:parse_nh_info: Nexthop protocol: ipv4 MPLSADM mplsadm.c:596:fill_instructions: Length: 2 Out Instr: Success [root@localhost root]# ip route add 192.168.40.3/32 via 192.168.40.3 lsp 0x2 Error: either "to" is duplicate, or "lsp" is a garbage. [root@localhost root]# ip route add 192.168.40.3/32 lsp 0x2 Error: either "to" is duplicate, or "lsp" is a garbage. [root@localhost root]# iproute add 192.168.40.3/32 via 192.168.40.3 lsp 0x2 bash: iproute: command not found [root@localhost root]# man ip route [root@localhost root]# [root@localhost root]# ip route add 192.168.40.3/32 via 192.168.40.3 lsp 0x2 Error: either "to" is duplicate, or "lsp" is a garbage. [root@localhost root]# ip route show 134.74.228.0/24 dev eth2 scope link 192.168.30.0/24 dev eth0 scope link 192.168.40.0/24 dev eth1 scope link 169.254.0.0/16 dev eth2 scope link 127.0.0.0/8 dev lo scope link default via 134.74.228.1 dev eth2 [root@localhost root]# cat /proc/net/mpls_version 01010702 [root@localhost root]# cat /proc/net/mpls_out 0x00000002 0/0/0 1 [root@localhost root]# ip route add 192.168.40.3/32 via 192.168.40.3 lsp 0x2 Error: either "to" is duplicate, or "lsp" is a garbage. thank you very much in advance sandeep goyal ccny,cuny _________________________________________________________________ Get head-hunted by 10,000 recruiters. http://go.msnserver.com/IN/46246.asp Post your CV on naukri.com today. |
|
From: <che...@ho...> - 2004-08-10 14:28:45
|
hello,the kernel of my computer is 7.3. I have download linux-2.6.6 and compiled it.It did not have error. Then I patch the mpls-linux-1.935 .But it dosen't work.When I login the new kernel,the messege is : printing eip: c02824dd *pde = 0000000 Oops:0000[#1] CPU: 0 EIP: 0060:[<c02824dd>] Not tarnted EFLAGS: 00010282 (2.6.6-mpls) EIP is at mpls_add_reserved_labels+0xcd/0xe0 eax:00000000 ebx:c03afde0 ecx:00000001 edx:c031cd60 esi:00000000 edi:c0328220 ebp:00000000 esp:c1217fd0 ds:007b es:007b ss:0068 Process swapper (pid:1, threadinfo=c1216000 task=cffad670) Stack:c0386e80 00000000 c036cde9 c036ce48 c0352765 c0100290 00000000 c01002ad c0103d9d 00000000 00000000 00000000 call Trace: [<c036cde9>] mpls_ilm_init+0x79/0x90 [<c036ce48>] mpls_init_module+0x48/0xd0 [<c0352765>] do_initcalls+0x65/0xd0 [<c0100290>] init+0x0/0xd0 [<c01002ad>] init+0x1d/0xd0 [<c0103d9d>] kernel_thread_helper+0x5/0x18 Code: 8b 40 1c 89 3d 60 fe 3a c0 a3 54 fe 3a c0 31 c0 5b 5f c3 a1 <0>kernel panic: Attempt to kill init! moreover when I run make modules_install ,it has an error.the massege is : make *** [modinst_post] error 1 why ? _________________________________________________________________ 免费下载 MSN Explorer: http://explorer.msn.com/lccn |
|
From: sandeep g. <hel...@ya...> - 2004-08-10 00:00:53
|
hello jleu
hey i am working on the implementation of the quagga on the linux for my project.
.i tried to run th e rpm quagga-0.96.4-1.1mpls_1_935.i386.rpm .but it has failed dependencies ie.
libc.so.6(GLIBC_2.3.4) is needed by quagga-0.96.4-1.1mpls_1_935.also i tried to use the
glibc-kernheaders-2.4-8.44mpls_1_935.i386.rpm file but it also didnt turn up anything .it jjust give up message glibc-kernelheader-2.4-8.44mpls ,what it means it have created the folder having this name , and if yes than what is the path for that.and is not what is the modification it did.and even after making glib-ker........i386.rpm rpm run.the failed dependancies are not gone.and still quagga-0.96.4-1.1mpls_1_935.i386.rpm give up the failed dependancies message.
and when i tried to run
quagga-0.96.4-1.1mpls_1_935.src.rpm it didnt turn up any folder . and it ask for jleu user existance.Is it necessary to have jleu user.but if i didnt it say it is making it for root.so what i have to do next.i mean like i worked on previously on quagga from quagga.net and created zebra.conf,ospfd.conf files and runed them.but here i didnt found any folder created as a result of running the
quagga-0.96.4-1.1mpls_1_935.src.rpm.
finally what is the basic difference between the .rpm files and .src.rpm files available on the website.
thanks for the answers
sandeep goyal
next generation internet lab
ccny,cuny
new york ,US
201-724-4570
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com |
|
From: sandeep g. <hel...@ya...> - 2004-08-10 00:00:09
|
hello jleu
hey i am working on the implementation of the quagga on the linux for my project.
.i tried to run th e rpm quagga-0.96.4-1.1mpls_1_935.i386.rpm .but it has failed dependencies ie.
libc.so.6(GLIBC_2.3.4) is needed by quagga-0.96.4-1.1mpls_1_935.also i tried to use the
glibc-kernheaders-2.4-8.44mpls_1_935.i386.rpm file but it also didnt turn up anything .it jjust give up message glibc-kernelheader-2.4-8.44mpls ,what it means it have created the folder having this name , and if yes than what is the path for that.and is not what is the modification it did.and even after making glib-ker........i386.rpm rpm run.the failed dependancies are not gone.and still quagga-0.96.4-1.1mpls_1_935.i386.rpm give up the failed dependancies message.
and when i tried to run
quagga-0.96.4-1.1mpls_1_935.src.rpm it didnt turn up any folder . and it ask for jleu user existance.Is it necessary to have jleu user.but if i didnt it say it is making it for root.so what i have to do next.i mean like i worked on previously on quagga from quagga.net and created zebra.conf,ospfd.conf files and runed them.but here i didnt found any folder created as a result of running the
quagga-0.96.4-1.1mpls_1_935.src.rpm.
finally what is the basic difference between the .rpm files and .src.rpm files available on the website.
thanks for the answers
sandeep goyal
next generation internet lab
ccny,cuny
new york ,US
201-724-4570
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com |
|
From: <nar...@tc...> - 2004-08-09 11:39:32
|
DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter. Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you. |
|
From: <che...@ho...> - 2004-08-06 13:32:59
|
I have download the ldp-portable-0.800.But it is fit for quagga.My lab have been using zebra.I want to use ldp-portable-0.800 for zebra. It's ok? _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn |
|
From: Muhammad R. S. <sa...@cc...> - 2004-07-25 13:17:13
|
I am trying to QUEUE packets to the userspace using libipq at my MPLS egress router. But I always get the error message stating "Received error message". Is this because the libipq program requires IP packet but I have QUEUED packet on all the chains and got the same error. Can anyone help me as to why I am getting this error message and how to get rid of it? I am doing the same at the ingress and that works fine. Regards, Muhammad R. Sami Research Assistant, Computer Engineering Department P.O.Box 354 King Fahd University of Petroleum & Minerals Dhahran 31261 Saudi Arabia. Tel: +96638601423 Cell: +96657982951 www.ccse.kfupm.edu.sa/sami |
|
From: baim <j0...@te...> - 2004-07-22 17:34:52
|
Hello Pim and all, i need suggestion here. I want to make a test between MPLS and Intserv RSVP-TE (with FF style) this is what i used : is_config at all node : ..... #$TC class add dev $i parent 1:1 classid 1:3 cbq rate 8Mbit \ #bandwidth 10Mbit weight 800Kbit prio 5 allot 1514 cell 8 \ #maxburst 20 avpkt 1000 $TC class add dev $i parent 1:1 classid 1:7ffe cbq \ bandwidth 10Mbit \ rate 10Mbit weight 1Mbit prio 5 allot 1514 cell 8 \ maxburst 20 avpkt 1000 isolated bounded done ..... The configuration : host1--||--Ingress--|--4 router--|--Egress--||--host2 I am using rapirecv_auto dan rtest2 -f file. I want to use Intserv with FF style : At Ingress : #cat file 13.13.13.2 11.11.11.1 200 1 0 11.11.11.2:12.12.12.2:0 0 Can i make rsvp-te intserv with FF style by that configuration.... ? In my plan, i want to make FTP and HTTP connection between host1 and host2 (downloading file), while TG will be generate traffic at network between Ingress and Egress as the disturber. Like u see at the is_config file i just creating one parent, is this sufficient to my plan.. ? And when i run ./tunnel -L -c after mapping a traffik to the LSPID, i found that a parameter is BE, is this okay.. ? Sorry i have many question. I really puzzled since there is no comperhensive guide to set up intserv rsvp network. =========================================================================================== Netkuis Instan untuk wilayah Bandung (kode area 022) - SD,SMP,SMA berhadiah total puluhan juta rupiah... periode I dimulai 1 April 2004 =========================================================================================== |
|
From: Muhammad R. S. <sa...@cc...> - 2004-07-21 15:06:22
|
I used the following command on the ingress ip route add 192.168.11.2/32 nexthop via 192.168.12.2 spec_nh 0x8847 0x2 \ nexthop via 192.168.15.2 spec_nh 0x8847 0x3 and got the response as RTNETLINK answers: invalid argument However a similar command executes without any trouble on the egress. When I run the following command on the ingress ip route add 192.168.11.2/32 via 192.168.12.2 spec_nh 0x8847 0x2 it executes without trouble showing that "ip route" command is working. Can you kindly tell me the possible reason for this. |
|
From: James R. L. <jl...@mi...> - 2004-07-21 13:28:15
|
On Wed, Jul 21, 2004 at 03:59:47PM +0300, Muhammad R. Sami wrote: > I used the following command on the ingress > > ip route add 192.168.11.2/32 nexthop via 192.168.12.2 spec_nh 0x8847 0x2 \ > nexthop via 192.168.15.2 spec_nh 0x8847 0x3 > > and got the response as > > RTNETLINK answers: invalid argument We've already went over this, but to re-iterate: spec_nh is just a tag on a nexthop. Therefore it will not make a nexthop unique. If you remove the spc_nh tag from the command you'll see why 'ip' is complaining, your telling it to add the exact same nexthop twice. You cannot do that. You must have, at the very minimum, a different nexthop IP address. This is completly orthoganl to your problem though. You do not need to add the multiple nexthops on 'A'. In my sample config I only had one nexthop specified for the route to 2.2.2.2. The process of assigning packets to the different LSPs is done by the MPLS layer NOT the IPv4 layer. > However a similar command executes without any trouble on the egress. When I > run the following command on the ingress > > ip route add 192.168.11.2/32 via 192.168.12.2 spec_nh 0x8847 0x2 > > it executes without trouble showing that "ip route" command is working. Can > you kindly tell me the possible reason for this. > -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2004-07-20 03:10:03
|
On Tue, Jul 20, 2004 at 03:28:15AM +0300, sa...@cc... wrote:
> I got your point regarding the iptables marking and then using the nffwd.
> Thank yopu very much for elaborating on that with an example. But what if in
> the diagram below B is the ingress and one LSP is C->D->G and the other is E-
> >F->G, i.e, 2 different LSPs on 2 different physical paths headed to the same
> destination which is H. then I am facing the RTNETLINK problem.
> Regards,
No your not. I guess I need to continue the example .... note my changes
to the drawing, and B's configuration below
> Quoting "James R. Leu" <jl...@mi...>:
>
> > I would use iptables to set the nfmark, then use nffwd to forward down
> > the
> > different LSPs based on nfmark.
> >
> > C-------------D
> > .2 / \
> > /2.0/24 \
> > 192.168.1.0/24 / \ 2.2.2.2
> > A--------------B G----------H
> > .1 .2 \ /
> > \3.0/24 /
> > .2 \ /
> > E-------------F
> >
> > Configuration on A
> > ------------------
> > mplsadm2 -A -O 0
> > Key: 0x2
> > mplsadm2 -A -O 0
> > Key: 0x3
> > mplsadm2 -A -O 0
> > Key: 0x4
> > mplsadm2 -O 0x2 -o nffwd:0xF:0x1:0x3:0x2:0x4
> > mplsadm2 -O 0x3 -o push:gen:16:set:eth1:ipv4:192.168.1.2
> > mplsadm2 -O 0x4 -o push:gen:17:set:eth1:ipv4:192.168.1.2
> >
> > ip route add 2.2.2.2/32 via 192.168.1.1 spec_nh 0x8847 0x2
> > iptables -d 2.2.2.2/32 -p tcp -j MARK --set-mark 0x1
> > iptables -d 2.2.2.2/32 -p udp -j MARK --set-mark 0x2
> >
> > iptables sets the nfmark to 0x1 for TCP packets heading to 2.2.2.2 and
> > and 0x2 for UDP packets heading to 2.2.2.2.
> >
> > All packets heading to 2.2.2.2 use the 0x2 NHLFE. The 0x2 NHLFE looks
> > at the nffmark. If the nfmark is 0x1 it continues to process the packet
> > via NHLFE 0x3, if the nfmark is 0x2 it continues to process the packet
> > via NHLFE 0x4. All other nfmarks result in the packet being dropped.
Configuration on B
------------------
mplsadm2 -L eth1:0
eth1 is connected to A
mplsadm2 -A -I gen:16:0
mplsadm2 -A -O 0
Key: 0x2
mplsadm2 -O 0x2 -o push:gen:16:set:eth2:ipv4:192.168.2.2
mplsadm2 -B -I gen:16:0 -O 0x2
LSP #1 comes in eth1 with label 16 and goes out eth2 with label 16
eth2 is connected to C
mplsadm2 -A -O 0
Key: 0x3
mplsadm2 -O 0x3 -o push:gen:17:set:eth3:ipv4:192.168.3.2
mplsadm2 -A -I gen:17:0
mplsadm2 -B -I gen:17:0 -O 0x3
LSP #2 comes in eth1 with label 17 and goes out eth3 with label 17
eth3 is connected to E
Notice I did not add any routes via 'ip route' nor do I add and filters
via 'iptables'. On B (and C,D,E,F,G) we only label switch no IPv4 route
configuration is required.
If B was going to act as ingress LER (as opposed to LSR) here is how you
would configure the the 2.2.2.2/32 route:
ip route add 2.2.2.2/32 nexthop via 192.168.2.2 spec_nh 0x8847 0x2 \
nexthop via 192.168.3.2 spec_nh 0x8847 0x3
NOTE: that is one big long command that specifies multiple nexthops
--
James R. Leu
jl...@mi...
|
|
From: <sa...@cc...> - 2004-07-20 00:11:47
|
I got your point regarding the iptables marking and then using the nffwd. Thank yopu very much for elaborating on that with an example. But what if in the diagram below B is the ingress and one LSP is C->D->G and the other is E- >F->G, i.e, 2 different LSPs on 2 different physical paths headed to the same destination which is H. then I am facing the RTNETLINK problem. Regards, Quoting "James R. Leu" <jl...@mi...>: > I would use iptables to set the nfmark, then use nffwd to forward down > the > different LSPs based on nfmark. > > C-------------D > / \ > / \ > 192.168.1.0/24 / \ 2.2.2.2 > A--------------B G----------H > .1 .2 \ / > \ / > \ / > E-------------F > > Configuration on A > ------------------ > mplsadm2 -A -O 0 > Key: 0x2 > mplsadm2 -A -O 0 > Key: 0x3 > mplsadm2 -A -O 0 > Key: 0x4 > mplsadm2 -O 0x2 -o nffwd:0xF:0x1:0x3:0x2:0x4 > mplsadm2 -O 0x3 -o push:gen:16:set:eth1:ipv4:192.168.1.2 > mplsadm2 -O 0x4 -o push:gen:17:set:eth1:ipv4:192.168.1.2 > > ip route add 2.2.2.2/32 via 192.168.1.1 spec_nh 0x8847 0x2 > iptables -d 2.2.2.2/32 -p tcp -j MARK --set-mark 0x1 > iptables -d 2.2.2.2/32 -p udp -j MARK --set-mark 0x2 > > iptables sets the nfmark to 0x1 for TCP packets heading to 2.2.2.2 and > and 0x2 for UDP packets heading to 2.2.2.2. > > All packets heading to 2.2.2.2 use the 0x2 NHLFE. The 0x2 NHLFE looks > at the nffmark. If the nfmark is 0x1 it continues to process the packet > via NHLFE 0x3, if the nfmark is 0x2 it continues to process the packet > via NHLFE 0x4. All other nfmarks result in the packet being dropped. |