mpls-linux-general Mailing List for MPLS for Linux (Page 105)
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: Jung J. <jj...@hs...> - 2004-01-23 14:19:42
|
Hi! I have just read the manual and insalled mplsadm2, and iproute. I have a simple network, like "2. Simle example": ----------------------------------------------------- Host A: eth1: 10.120.0.5 --------------- Host B eth1: 10.120.0.6 ----------------------------------------------------- I would like to set up a manual LSP between them. (as shown in example 2) A: mplsadm2 -AO 0 (out: key1) mplsadm2 -O key1 -o push:gen:16:set:eth1:ipv4:10.120.0.6 ip route add 10.120.0.6/32 lsp key1 #out:RTNETLINK answers: no such device what does it mean? what is RTNETLINK? i think this host can not send IP packets over mpls :) mplsadm2 -AI gen:17:0 but can it receive packets? mplsadm2 -L eth1:0 ----------------------------------------------------- And when I try to set up a tunnel: (4. MPLS tunnel interfaces) A: mplsadm2 -AO 0 -o push:gen:1024:set:eth1:ipv4:10.120.0.6 (out:key2) mplsadm2 -AT tunnel1 ifconfig tunnel1 10.120.0.5 netmask 255.255.255.255 mplsadm2 -BO key2 -T tunnel1 route add -host 10.120.0.6 tunnel1 and now Host A can send packets to host B (with ethereal i can see it!!!) and host B can send packets to Host A BUT THEY CAN NOT RECEIVE PACKETS, JUST SEND! (ping between A and B did not work) what should i do? regards! jj |
|
From: James R. L. <jl...@da...> - 2004-01-23 13:56:43
|
You should look into using user-mode-linux. With it I'm able to run a 6 node network on my laptop. http://user-mode-linux.sf.net/ On Fri, Jan 23, 2004 at 01:08:00AM -0800, Natz V wrote: > Hi Guys > > > Through the UI, can I check whether its possible to loopback and have two sessions in the same machine communicating with each other... > > Thank you in Advance > > LDP kid > > > > --------------------------------- > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! -- James R. Leu jl...@mi... |
|
From: Natz V <ld...@ya...> - 2004-01-23 09:08:01
|
Hi Guys Through the UI, can I check whether its possible to loopback and have two sessions in the same machine communicating with each other... Thank you in Advance LDP kid --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! |
|
From: pramod b. G <pr...@la...> - 2004-01-23 04:14:17
|
Hai ,
In mplsadm2 the -f option is not working.
And for a particular FEC i want to add a in label and a out label. How
should i do that. My set up is some thing like this
A --- B --- C
192.168.1.2/32 In Tag 20 outTag - 20
Tag - 10 Out Tag 10
Can any one please give me the commands at each Machine.....
|
|
From: Eric L. <ele...@in...> - 2004-01-06 13:26:54
|
Le mar 06/01/2004 =E0 12:51, Ramon Casellas a =E9crit : > On Tue, 6 Jan 2004, Eric Leblond wrote: >=20 > > > > I've another question : > > Is the 2.4 version usable in production environment (basically backbone > > router) ? > I will let James answer this question in detail. ok ! In my patch quest, I try to patch zebra 0.94 but it failed. I try to manually have thing working but things like ospf were particulary badly patched. I've got almost the same problem with iproute2. Could someone point me to a documentation where I can find how to compile this two elements ? Thanks in advance, --=20 Eric Leblond <ele...@in...> Alphalink |
|
From: Ramon C. <cas...@in...> - 2004-01-06 11:51:45
|
On Tue, 6 Jan 2004, Eric Leblond wrote: > > I've another question : > Is the 2.4 version usable in production environment (basically backbone > router) ? I will let James answer this question in detail. I don't relly know if it is production ready or not. I have been using it for some time and it looks quite solid, but there are some issues: a) when using RSVPD it is much less stable. I have ot investigated if it is a kernel issue or a daemon issues and b) during our work to port to 2.6 we have identified some leaks in error paths that have not been backported to 2.4 (references that are not released after a mem alloc fails etc). Maybe someone with more experience may give you a better answer. Regards, R. |
|
From: Eric L. <ele...@in...> - 2004-01-06 08:57:19
|
Le lun 05/01/2004 =E0 20:46, Ramon Casellas a =E9crit : > it should not be difficult to maually apply the mpls patch to the latest > kernel. The changes to the files outside net/mpls are not very large. I've already done this but I had some maybe non related problem elsewhere with the kernel. >=20 > Bear in mind though that most work is being done for the 2.6 series, and > we should have some first version for this kernel in the folloing weeks. ok, fine, a good news for future. I've another question : Is the 2.4 version usable in production environment (basically backbone router) ? Br, --=20 Eric Leblond <ele...@in...> Alphalink |
|
From: Ramon C. <cas...@in...> - 2004-01-05 19:47:35
|
On Mon, 5 Jan 2004, Eric Leblond wrote: > Hi, > > Ive got to test MPLS on a recent kernel is there a patch available for > the lastest kernel ? > Hi, it should not be difficult to maually apply the mpls patch to the latest kernel. The changes to the files outside net/mpls are not very large. Bear in mind though that most work is being done for the 2.6 series, and we should have some first version for this kernel in the folloing weeks. Best regqrds, R; |
|
From: Eric L. <ele...@in...> - 2004-01-05 16:15:10
|
Hi, Ive got to test MPLS on a recent kernel is there a patch available for the lastest kernel ? Thanks in advance, -- Eric Leblond <ele...@in...> Alphalink |
|
From: Scott M. <sco...@ho...> - 2004-01-05 15:40:34
|
Has anyone run mpls on Redhat 9? Were there any particular problems on that platform? _________________________________________________________________ Working moms: Find helpful tips here on managing kids, home, work and yourself. http://special.msn.com/msnbc/workingmom.armx |
|
From: James R. L. <jl...@mi...> - 2003-12-31 00:29:04
|
You should get the lastest version of ldp-portable from the P4 repository. Check out http://mpls-linux.sf.net/ for more info on how to get the latest code from the P4 repository. On Tue, Dec 30, 2003 at 10:29:18PM +0530, pramod babu G wrote: > hai all, > i just installed mpls+zebra rpm. my mplsd was working properly until i > started zebra. When i started zebra it is crashing. So I first started > zebra and started debugging mplsd . I did back trace in gdb and got > > #0 0x08068b16 in ldp_get_session_by_next_hop (g=0x80fde30, a=0xbffff74c, > next_hop=0xbffff788) at ldp_label_mapping.c:99 > #1 0x08068cde in ldp_get_next_hop_session_for_fec (g=0x80fde30, > fec=0xbffff850, next_hop=0xbffff7d0, > next_hop_session=0xbffff7e0) at ldp_label_mapping.c:146 > #2 0x08060adc in Recognize_New_Fec (g=0x80fde30, f=0xbffff850) at > ldp_fec.c:47 > #3 0x08061630 in _ldp_global_fib_callback (handle=0x80fde30, > type=MPLS_UPDATE_ADD, dest=0xbffff850) at ldp_global.c:64 > #4 0x0804a493 in ldp_ipv4_add (mpls=0x80fdd70, p=0xbffff8d0, > nexthop=0xbffff8e0) at impl_fib.c:231 > #5 0x0804cbd0 in mpls_zebra_read_ipv4 (command=7, client=0x80fb740, > length=21) at mpls_zebra.c:286 > #6 0x0809841b in zclient_read (thread=0xbffffa00) at zclient.c:867 > #7 0x08092508 in thread_call (thread=0xbffffa00) at thread.c:647 > #8 0x0804d0e3 in main (argc=3, argv=0xbffffae4) at mpls_main.c:223 > #9 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6 > > What is this Bug ????? > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: pramod b. G <pr...@la...> - 2003-12-30 17:04:14
|
hai all,
i just installed mpls+zebra rpm. my mplsd was working properly until i
started zebra. When i started zebra it is crashing. So I first started
zebra and started debugging mplsd . I did back trace in gdb and got
#0 0x08068b16 in ldp_get_session_by_next_hop (g=0x80fde30, a=0xbffff74c,
next_hop=0xbffff788) at ldp_label_mapping.c:99
#1 0x08068cde in ldp_get_next_hop_session_for_fec (g=0x80fde30,
fec=0xbffff850, next_hop=0xbffff7d0,
next_hop_session=0xbffff7e0) at ldp_label_mapping.c:146
#2 0x08060adc in Recognize_New_Fec (g=0x80fde30, f=0xbffff850) at
ldp_fec.c:47
#3 0x08061630 in _ldp_global_fib_callback (handle=0x80fde30,
type=MPLS_UPDATE_ADD, dest=0xbffff850) at ldp_global.c:64
#4 0x0804a493 in ldp_ipv4_add (mpls=0x80fdd70, p=0xbffff8d0,
nexthop=0xbffff8e0) at impl_fib.c:231
#5 0x0804cbd0 in mpls_zebra_read_ipv4 (command=7, client=0x80fb740,
length=21) at mpls_zebra.c:286
#6 0x0809841b in zclient_read (thread=0xbffffa00) at zclient.c:867
#7 0x08092508 in thread_call (thread=0xbffffa00) at thread.c:647
#8 0x0804d0e3 in main (argc=3, argv=0xbffffae4) at mpls_main.c:223
#9 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
What is this Bug ?????
|
|
From: pramod b. G <pr...@la...> - 2003-12-30 14:57:40
|
Does the current mpls+linux has bgp supporting mpls. I want mpls to be supported in bgp. How should i approach this |
|
From: Ramon C. <cas...@in...> - 2003-12-04 16:52:35
|
On Thu, 4 Dec 2003, pramod babu G wrote: > hai, > I downloaded the sources rpm and i am trying to build that with snmp > support. But i am not able to get snmp support with this. Can u tell me > what the problem is ??? Hi, AFAIK, there is no support for SNMP/MIB objects in the current implementation, unless there exists some external patch that I'm not aware of. I was planning to implement basic support, but there is some work on netdev@ for 2.6 going on, so I'm waiting to see the extent of the work REgards, R. |
|
From: pramod b. G <pr...@la...> - 2003-12-04 13:59:20
|
hai, I downloaded the sources rpm and i am trying to build that with snmp support. But i am not able to get snmp support with this. Can u tell me what the problem is ??? |
|
From: pramod b. G <pr...@la...> - 2003-12-02 14:30:49
|
hai , i am applying a patch against Zebra 0.94 which was released recently and i got following errors there Hunk #3 FAILED at 80. 1 out of 3 hunks FAILED -- saving rejects to file ospfd/ospfd.c.rej patching file ospfd/ospf_lsdb.c Hunk #1 FAILED at 284. Hunk #2 FAILED at 293. 2 out of 2 hunks FAILED -- saving rejects to file ospfd/ospf_lsdb.c.rej patching file ospfd/ospf_lsdb.h Hunk #1 FAILED at 79. 1 out of 1 hunk FAILED -- saving rejects to file ospfd/ospf_lsdb.h.rej patching file ospfd/ospf_vty.c Hunk #1 FAILED at 3046. Hunk #2 succeeded at 3080 (offset 21 lines). Hunk #3 succeeded at 3565 with fuzz 2 (offset -28 lines). Hunk #4 FAILED at 3593. Hunk #5 FAILED at 3621. 3 out of 5 hunks FAILED -- saving rejects to file ospfd/ospf_vty.c.rej patching file ospfd/ospf_zebra.c Hunk #2 succeeded at 167 (offset 3 lines). As u see there are many FAILED cases.. Can u tell me any remedy thanks in advance pramod |
|
From: Tadashi K. <ka...@nm...> - 2003-12-01 05:56:30
|
Hi all, On Tue, 18 Nov 2003 01:09:31 +0100 (MET) Ramon Casellas <cas...@in...> wrote: (snip) > Some docs have been done: > http://perso.enst.fr/~casellas/mpls-linux/index.html More to come :) (snip) Can I translate this documents in Japanese and publish it on the web? and, How can I subscribe the mailing-list 'mpls-linux-devel' ? Will you tell me teh URL for subscription ? regards. -- Tadashi Kaneda <ka...@nm...> TEL: +81-422-36-5044 FAX: +81-422-37-8100 Network Management Dept. NTT Advanced Technology, Corp. |
|
From: Adinarayan K. <ad...@ei...> - 2003-12-01 04:49:06
|
Hi, I'm presently working on mpls. I have down loaded mpls-linux patch. I have redhat 7.2 running in my system. I have tried to compile mpls patch on 2.4.13 linux kernel, but I got some errors. Can you figure out what might be the problem. regards AdiNarayana K |
|
From: James R. L. <jl...@mi...> - 2003-12-01 01:21:27
|
Sorry for lack of activity over the last week. I'm helping build/run the network for a tradeshow in chicago IL USA. I'll be done with my part of this gig on tuesday. My first order of business is to catch up with this list and the e-mail surrounding it. Laters. On Sun, Nov 30, 2003 at 12:49:29PM -0500, jamal wrote: > Hi Ramon, > I guess this is the first email on that list? I am not even sure if i am > on it or not. I sent a design description to James last week and was > hoping to receive some feedback. Are you guys discussing in the > background? I havent seen anything back. > > cheers, > jamal > > On Sun, 2003-11-30 at 10:36, Ramon Casellas wrote: > > Hi James/Jamal/Harald/all, > > > > Well, yet another experimental release. > > > > BIG FAT WARNING: > > ===================== > > > > The kernel compiles and boots. proc entries are created and show the mpls > > subsystem status, tunnels can be created, and netlink "link layer" is set > > up ,but the user plane (forwarding) implementation does not work (most > > notably, it is impossible to add MOIs, given the latest changes in > > dst/neigh/etc.). Although ioctls are enabled for debug purposes, > > work is in progress to port to netlink (we need to define the MPLS > > kernel-userspace protocol, but a first step would be to re-use the > > existing ioctl data structures). > > > > I have (non-officially!) #define'd MPLS_NETLINK 9. Maybe the big guys from > > netdev@ can allocate a number for us :) > > > > > > Regards, > > Ramon > > > > // ------------------------------------------------------------------- > > // Ramon Casellas - GET/ENST/INFRES/RHD/A508 - cas...@in... > > > > > > PS: > > * Further discussion on mpls-linux-devel only. Sorry if you received > > several copies of this email. > > > > > > Releases: > > ===================== > > I am not proj. admin, and I cannot perform file release operations, so in > > order not to fill up your inboxes, releases can be found in: > > > > * Latest diff (2.6.0-test11 -> 2.6.0-test11-mpls) > > > > http://perso.enst.fr/~casellas/mpls-linux/linux-2.6.0-test11-mpls-1.179-rcas1.diff > > > > > > * I have started porting mplsadm -> mplsnl to use netlink. > > > > http://perso.enst.fr/~casellas/mpls-linux/mplsnl-0.1.tar.gz > > > > > > > > Overview: > > ===================== > > - I ***'up yesterday's diff (again, I know!, I know, bear with > > me, I'm a little braind..) missing define > > > > - Fixed a bug that I introduced in mpls labelspace handling. > > > > - Added basic infrastructure for MPLS netlink. Userspace apps can > > communicate with MPLS subsystem. The "link layer" is set up. We need > > to define a Userspace <-> Kernel Protocol (we can start porting the > > ioctl mechanism to netlink). cf the userspace mplsnl app. for > > details. Tested > > > > > > Changes w.r.t yesterday's release: (cf. yesterday's mail for details) > > ==================================================================== > > > > * linux-2.6.0-test11-mpls/net/mpls/mpls_netlink.c > > - Added file > > - Modified net/mpls/mpls.h (add prototypes). > > > > > > * linux-2.6.0-test11-mpls/include/linux/mpls.h > > - Added #define mir_set_tc mir_data.set_tc which was missing in > > previous diff > > > > * linux-2.6.0-test11/include/linux/netlink.h > > - Allocated a new Netlink for MPLS (non official!) > > #ifdef CONFIG_MPLS > > #define NETLINK_MPLS 9 > > #endif > > > > * linux-2.6.0-test11/net/netlink/netlink_dev.c 2003-11-27 > > + { > > .name = "mpls", > > .minor = NETLINK_MPLS, > > }, > > > > ... > > > > Some tests: > > ===================== > > ------------------------------------------ > > gandalf mplsadm# dmesg | grep MPLS > > MPLS Support v1.0 James R. Leu <jl...@mi...> -- Ramon Casellas <cas...@in...> > > MPLS Initializing Input Radix Tree > > MPLS Initializing Output Radix Tree > > MPLS Initializing MPLS ProcFS Interface > > MPLS MultiProtocol Label Switching Tunnel Module > > MPLS (c) 1999-2003 JLeu -- (c) 2003 RCas > > MPLS version 1.179 2003/11/20 > > MPLS DEBUG net/mpls/mpls_ioctls.c:38:mpls_ioctl: IOCTL 35844 > > MPLS DEBUG net/mpls/mpls_ioctls.c:93:mpls_ioctl: IOCTL Add Tunnel > > MPLS DEBUG net/mpls/mpls_tunnel.c:366:mpls_tunnel_create: Allocated MPLS tunnel mpls0 > > MPLS DEBUG net/mpls/mpls_ioctls.c:38:mpls_ioctl: IOCTL 35842 > > MPLS DEBUG net/mpls/mpls_ioctls.c:55:mpls_ioctl: IOCTL Set LabelSpace > > > > ------------------------------------------ > > gandalf mplsadm# cat /proc/net/mpls/* > > Debug: 1 > > Label spaces > > --------------- > > ath0 5 3 > > mpls0 -1 2 > > > > mpls0 0x00000000 > > 01010709 > > > > > > ------------------------------------------ > > gandalf mplsadm# cat /sys/class/net/mpls0/* > > 4 > > 00:00:00:00 > > 00:00:00:00 > > 0x0 > > 0x90 > > 6 > > 6 > > 1500 > > cat: /sys/class/net/mpls0/statistics: Is a directory > > 0 > > 899 > > > > > > ------------------------------------------ > > netlink > > gandalf mplsnl# ./mplsnl > > MPLSNETLINK mplsnl.h:284:open: Socket descriptor 3 > > MPLSNETLINK mplsnl.h:285:open: Local Addr 11857 (len 12) > > MPLSNETLINK mplsnl.h:286:open: Peer Addr 0 (len 12) > > MPLSNETLINK mplsnl.h:315:send_msg: SizeOf nlmsg_len 24 (24) > > MPLSNETLINK answers: Invalid argument > > > > > > dmesg > > MPLS DEBUG net/mpls/mpls_netlink.c:204:mpls_netlink_rcv: Enter > > MPLS DEBUG net/mpls/mpls_netlink.c:137:mpls_netlink_rcv_msg: Received netlink request 1 of len 24 from pid 11854 > > MPLS DEBUG net/mpls/mpls_netlink.c:226:mpls_netlink_rcv: Exit > > > > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel -- James R. Leu jl...@mi... |
|
From: jamal <ha...@cy...> - 2003-11-30 17:50:38
|
Hi Ramon, I guess this is the first email on that list? I am not even sure if i am on it or not. I sent a design description to James last week and was hoping to receive some feedback. Are you guys discussing in the background? I havent seen anything back. cheers, jamal On Sun, 2003-11-30 at 10:36, Ramon Casellas wrote: > Hi James/Jamal/Harald/all, > > Well, yet another experimental release. > > BIG FAT WARNING: > ===================== > > The kernel compiles and boots. proc entries are created and show the mpls > subsystem status, tunnels can be created, and netlink "link layer" is set > up ,but the user plane (forwarding) implementation does not work (most > notably, it is impossible to add MOIs, given the latest changes in > dst/neigh/etc.). Although ioctls are enabled for debug purposes, > work is in progress to port to netlink (we need to define the MPLS > kernel-userspace protocol, but a first step would be to re-use the > existing ioctl data structures). > > I have (non-officially!) #define'd MPLS_NETLINK 9. Maybe the big guys from > netdev@ can allocate a number for us :) > > > Regards, > Ramon > > // ------------------------------------------------------------------- > // Ramon Casellas - GET/ENST/INFRES/RHD/A508 - cas...@in... > > > PS: > * Further discussion on mpls-linux-devel only. Sorry if you received > several copies of this email. > > > Releases: > ===================== > I am not proj. admin, and I cannot perform file release operations, so in > order not to fill up your inboxes, releases can be found in: > > * Latest diff (2.6.0-test11 -> 2.6.0-test11-mpls) > > http://perso.enst.fr/~casellas/mpls-linux/linux-2.6.0-test11-mpls-1.179-rcas1.diff > > > * I have started porting mplsadm -> mplsnl to use netlink. > > http://perso.enst.fr/~casellas/mpls-linux/mplsnl-0.1.tar.gz > > > > Overview: > ===================== > - I ***'up yesterday's diff (again, I know!, I know, bear with > me, I'm a little braind..) missing define > > - Fixed a bug that I introduced in mpls labelspace handling. > > - Added basic infrastructure for MPLS netlink. Userspace apps can > communicate with MPLS subsystem. The "link layer" is set up. We need > to define a Userspace <-> Kernel Protocol (we can start porting the > ioctl mechanism to netlink). cf the userspace mplsnl app. for > details. Tested > > > Changes w.r.t yesterday's release: (cf. yesterday's mail for details) > ==================================================================== > > * linux-2.6.0-test11-mpls/net/mpls/mpls_netlink.c > - Added file > - Modified net/mpls/mpls.h (add prototypes). > > > * linux-2.6.0-test11-mpls/include/linux/mpls.h > - Added #define mir_set_tc mir_data.set_tc which was missing in > previous diff > > * linux-2.6.0-test11/include/linux/netlink.h > - Allocated a new Netlink for MPLS (non official!) > #ifdef CONFIG_MPLS > #define NETLINK_MPLS 9 > #endif > > * linux-2.6.0-test11/net/netlink/netlink_dev.c 2003-11-27 > + { > .name = "mpls", > .minor = NETLINK_MPLS, > }, > > ... > > Some tests: > ===================== > ------------------------------------------ > gandalf mplsadm# dmesg | grep MPLS > MPLS Support v1.0 James R. Leu <jl...@mi...> -- Ramon Casellas <cas...@in...> > MPLS Initializing Input Radix Tree > MPLS Initializing Output Radix Tree > MPLS Initializing MPLS ProcFS Interface > MPLS MultiProtocol Label Switching Tunnel Module > MPLS (c) 1999-2003 JLeu -- (c) 2003 RCas > MPLS version 1.179 2003/11/20 > MPLS DEBUG net/mpls/mpls_ioctls.c:38:mpls_ioctl: IOCTL 35844 > MPLS DEBUG net/mpls/mpls_ioctls.c:93:mpls_ioctl: IOCTL Add Tunnel > MPLS DEBUG net/mpls/mpls_tunnel.c:366:mpls_tunnel_create: Allocated MPLS tunnel mpls0 > MPLS DEBUG net/mpls/mpls_ioctls.c:38:mpls_ioctl: IOCTL 35842 > MPLS DEBUG net/mpls/mpls_ioctls.c:55:mpls_ioctl: IOCTL Set LabelSpace > > ------------------------------------------ > gandalf mplsadm# cat /proc/net/mpls/* > Debug: 1 > Label spaces > --------------- > ath0 5 3 > mpls0 -1 2 > > mpls0 0x00000000 > 01010709 > > > ------------------------------------------ > gandalf mplsadm# cat /sys/class/net/mpls0/* > 4 > 00:00:00:00 > 00:00:00:00 > 0x0 > 0x90 > 6 > 6 > 1500 > cat: /sys/class/net/mpls0/statistics: Is a directory > 0 > 899 > > > ------------------------------------------ > netlink > gandalf mplsnl# ./mplsnl > MPLSNETLINK mplsnl.h:284:open: Socket descriptor 3 > MPLSNETLINK mplsnl.h:285:open: Local Addr 11857 (len 12) > MPLSNETLINK mplsnl.h:286:open: Peer Addr 0 (len 12) > MPLSNETLINK mplsnl.h:315:send_msg: SizeOf nlmsg_len 24 (24) > MPLSNETLINK answers: Invalid argument > > > dmesg > MPLS DEBUG net/mpls/mpls_netlink.c:204:mpls_netlink_rcv: Enter > MPLS DEBUG net/mpls/mpls_netlink.c:137:mpls_netlink_rcv_msg: Received netlink request 1 of len 24 from pid 11854 > MPLS DEBUG net/mpls/mpls_netlink.c:226:mpls_netlink_rcv: Exit > > > > > |
|
From: Ramon C. <cas...@in...> - 2003-11-30 15:36:09
|
Hi James/Jamal/Harald/all, Well, yet another experimental release. BIG FAT WARNING: ===================== The kernel compiles and boots. proc entries are created and show the mpls subsystem status, tunnels can be created, and netlink "link layer" is set up ,but the user plane (forwarding) implementation does not work (most notably, it is impossible to add MOIs, given the latest changes in dst/neigh/etc.). Although ioctls are enabled for debug purposes, work is in progress to port to netlink (we need to define the MPLS kernel-userspace protocol, but a first step would be to re-use the existing ioctl data structures). I have (non-officially!) #define'd MPLS_NETLINK 9. Maybe the big guys from netdev@ can allocate a number for us :) Regards, Ramon // ------------------------------------------------------------------- // Ramon Casellas - GET/ENST/INFRES/RHD/A508 - cas...@in... PS: * Further discussion on mpls-linux-devel only. Sorry if you received several copies of this email. Releases: ===================== I am not proj. admin, and I cannot perform file release operations, so in order not to fill up your inboxes, releases can be found in: * Latest diff (2.6.0-test11 -> 2.6.0-test11-mpls) http://perso.enst.fr/~casellas/mpls-linux/linux-2.6.0-test11-mpls-1.179-rcas1.diff * I have started porting mplsadm -> mplsnl to use netlink. http://perso.enst.fr/~casellas/mpls-linux/mplsnl-0.1.tar.gz Overview: ===================== - I ***'up yesterday's diff (again, I know!, I know, bear with me, I'm a little braind..) missing define - Fixed a bug that I introduced in mpls labelspace handling. - Added basic infrastructure for MPLS netlink. Userspace apps can communicate with MPLS subsystem. The "link layer" is set up. We need to define a Userspace <-> Kernel Protocol (we can start porting the ioctl mechanism to netlink). cf the userspace mplsnl app. for details. Tested Changes w.r.t yesterday's release: (cf. yesterday's mail for details) ==================================================================== * linux-2.6.0-test11-mpls/net/mpls/mpls_netlink.c - Added file - Modified net/mpls/mpls.h (add prototypes). * linux-2.6.0-test11-mpls/include/linux/mpls.h - Added #define mir_set_tc mir_data.set_tc which was missing in previous diff * linux-2.6.0-test11/include/linux/netlink.h - Allocated a new Netlink for MPLS (non official!) #ifdef CONFIG_MPLS #define NETLINK_MPLS 9 #endif * linux-2.6.0-test11/net/netlink/netlink_dev.c 2003-11-27 + { .name = "mpls", .minor = NETLINK_MPLS, }, ... Some tests: ===================== ------------------------------------------ gandalf mplsadm# dmesg | grep MPLS MPLS Support v1.0 James R. Leu <jl...@mi...> -- Ramon Casellas <cas...@in...> MPLS Initializing Input Radix Tree MPLS Initializing Output Radix Tree MPLS Initializing MPLS ProcFS Interface MPLS MultiProtocol Label Switching Tunnel Module MPLS (c) 1999-2003 JLeu -- (c) 2003 RCas MPLS version 1.179 2003/11/20 MPLS DEBUG net/mpls/mpls_ioctls.c:38:mpls_ioctl: IOCTL 35844 MPLS DEBUG net/mpls/mpls_ioctls.c:93:mpls_ioctl: IOCTL Add Tunnel MPLS DEBUG net/mpls/mpls_tunnel.c:366:mpls_tunnel_create: Allocated MPLS tunnel mpls0 MPLS DEBUG net/mpls/mpls_ioctls.c:38:mpls_ioctl: IOCTL 35842 MPLS DEBUG net/mpls/mpls_ioctls.c:55:mpls_ioctl: IOCTL Set LabelSpace ------------------------------------------ gandalf mplsadm# cat /proc/net/mpls/* Debug: 1 Label spaces --------------- ath0 5 3 mpls0 -1 2 mpls0 0x00000000 01010709 ------------------------------------------ gandalf mplsadm# cat /sys/class/net/mpls0/* 4 00:00:00:00 00:00:00:00 0x0 0x90 6 6 1500 cat: /sys/class/net/mpls0/statistics: Is a directory 0 899 ------------------------------------------ netlink gandalf mplsnl# ./mplsnl MPLSNETLINK mplsnl.h:284:open: Socket descriptor 3 MPLSNETLINK mplsnl.h:285:open: Local Addr 11857 (len 12) MPLSNETLINK mplsnl.h:286:open: Peer Addr 0 (len 12) MPLSNETLINK mplsnl.h:315:send_msg: SizeOf nlmsg_len 24 (24) MPLSNETLINK answers: Invalid argument dmesg MPLS DEBUG net/mpls/mpls_netlink.c:204:mpls_netlink_rcv: Enter MPLS DEBUG net/mpls/mpls_netlink.c:137:mpls_netlink_rcv_msg: Received netlink request 1 of len 24 from pid 11854 MPLS DEBUG net/mpls/mpls_netlink.c:226:mpls_netlink_rcv: Exit |
|
From: Rc Y <t_t...@ho...> - 2003-11-27 03:15:32
|
Hi. I can do "make" by replacing /usr/src/linux/include/linux/in.h with /usr/include/linux/in.h, and I can do "ip route add 192.168.1.20/32 via 192.168.1.20 lsp 0x2" by replacing /sbin/ip with /usr/src/mpls-linux-1.1/patches/iproute2/ip/ip. I can see "192.168.1.20 via 192.168.1.20 dev eth0 lsp 0x2. by "ip route show". Thank you for advising me! May I ask you some questions ? -Should I check the "Network packet filtering" and "IP tables support" when I do "make menuconfig", if I use "iproute2" with MPLS-linux? -What differences are there between "mpls-linux-general" ml and "mpls-linux-devel" ml ? I'm looking forward to any reply. Thank you. >From: "Rc Y" <t_t...@ho...> >To: t_t...@ho..., mpl...@li... >Subject: Re: [mpls-linux-general] Error of Simple Example >Date: Tue, 25 Nov 2003 12:02:39 +0900 > >Hi. > >I don't think that iproute2-2.4.7-now-ss010824 and kernel-2.4.22 go >together. > >Please tell me which versions of iproute2, linux-kernel and Redhat >do you use. > > > >Best Regards. > > >>From: "Rc Y" <t_t...@ho...> >>To: mpl...@li... >>Subject: [mpls-linux-general] Error of Simple Example >>Date: Mon, 24 Nov 2003 20:41:52 +0900 >> >>Hi. >> >>I downloaded iproute2-2.4.7-now-ss010824.tar.gz, and installed it >>as following; >> >># cd /usr/src/mpls-linux-1.1/patches >># tar xzvf iproute2-2.4.7-now-ss010824.tar.gz >># cd iproute2 >># patch -p1 < ../iproute2-mpls.diff >># make >> >>But, I have a error in ll_map.c:19. >>There is a problem about 'gr_group' type at >>/usr/src/linux/include/linux/in.h:140. >> >>The compile ended with the messages as following. >> >>make[1]: *** [ll_map.o] error 1 >>make[1]: out directory >>'/usr/src/mpls-linux-1.1/patches/iproute2/lib' >>make: *** [all] error2 >> >>Besides, I set "# export CFLAGS="-l /usr/src/linux/include"". >>But, I didn't any change. >> >>I need some solusions. >> >>Greetings. >> >>> > Would you explain how to use the patched version of "ip" tool >>>in >>addtion to >>> > the above work. >>> >>>This is explained in mpls-linux-1.1/patches/README.iproute2 : >>>download >>>the sources of the iproute2 package, and apply the >>>patch, which is in file mpls-linux-1.1/patches/iproute2-mpls.diff >>> >>>Hope this helps, _________________________________________________________________ あなたのPCを守るために定期的なセキュリティ対策を。マイクロソフト セキュリ ティ情報センター http://www.microsoft.com/japan/protect/hm.asp |
|
From: Rc Y <t_t...@ho...> - 2003-11-25 03:02:45
|
Hi. I don't think that iproute2-2.4.7-now-ss010824 and kernel-2.4.22 go together. Please tell me which versions of iproute2, linux-kernel and Redhat do you use. Best Regards. >From: "Rc Y" <t_t...@ho...> >To: mpl...@li... >Subject: [mpls-linux-general] Error of Simple Example >Date: Mon, 24 Nov 2003 20:41:52 +0900 > >Hi. > >I downloaded iproute2-2.4.7-now-ss010824.tar.gz, and installed it as >following; > ># cd /usr/src/mpls-linux-1.1/patches ># tar xzvf iproute2-2.4.7-now-ss010824.tar.gz ># cd iproute2 ># patch -p1 < ../iproute2-mpls.diff ># make > >But, I have a error in ll_map.c:19. >There is a problem about 'gr_group' type at >/usr/src/linux/include/linux/in.h:140. > >The compile ended with the messages as following. > >make[1]: *** [ll_map.o] error 1 >make[1]: out directory >'/usr/src/mpls-linux-1.1/patches/iproute2/lib' >make: *** [all] error2 > >Besides, I set "# export CFLAGS="-l /usr/src/linux/include"". >But, I didn't any change. > >I need some solusions. > >Greetings. > >> > Would you explain how to use the patched version of "ip" tool in >addtion to >> > the above work. >> >>This is explained in mpls-linux-1.1/patches/README.iproute2 : >>download >>the sources of the iproute2 package, and apply the >>patch, which is in file mpls-linux-1.1/patches/iproute2-mpls.diff >> >>Hope this helps, > >_________________________________________________________________ >あなたのPCを守るために定期的なセキュリティ対策を。マイクロソフト >セキュリ >ティ情報センター http://www.microsoft.com/japan/protect/hm.asp > > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >mpls-linux-general mailing list >mpl...@li... >https://lists.sourceforge.net/lists/listinfo/mpls-linux-general _________________________________________________________________ あなたのPCを守るために定期的なセキュリティ対策を。マイクロソフト セキュリ ティ情報センター http://www.microsoft.com/japan/protect/hm.asp |
|
From: Ramon C. <cas...@in...> - 2003-11-24 16:39:11
|
Hi all, James has created the mpl...@li.... I invite you to discuss further development of mpls-linux on that list. Best regards, R. // ------------------------------------------------------------------- // Ramon Casellas - GET/ENST/INFRES/RHD/A508 - cas...@in... // 37/39 rue Dareau 75014 Paris -- http://perso.enst.fr/~casellas |
|
From: Rc Y <t_t...@ho...> - 2003-11-24 11:41:58
|
Hi. I downloaded iproute2-2.4.7-now-ss010824.tar.gz, and installed it as following; # cd /usr/src/mpls-linux-1.1/patches # tar xzvf iproute2-2.4.7-now-ss010824.tar.gz # cd iproute2 # patch -p1 < ../iproute2-mpls.diff # make But, I have a error in ll_map.c:19. There is a problem about 'gr_group' type at /usr/src/linux/include/linux/in.h:140. The compile ended with the messages as following. make[1]: *** [ll_map.o] error 1 make[1]: out directory '/usr/src/mpls-linux-1.1/patches/iproute2/lib' make: *** [all] error2 Besides, I set "# export CFLAGS="-l /usr/src/linux/include"". But, I didn't any change. I need some solusions. Greetings. > > Would you explain how to use the patched version of "ip" tool in addtion to > > the above work. > >This is explained in mpls-linux-1.1/patches/README.iproute2 : download >the sources of the iproute2 package, and apply the >patch, which is in file mpls-linux-1.1/patches/iproute2-mpls.diff > >Hope this helps, _________________________________________________________________ あなたのPCを守るために定期的なセキュリティ対策を。マイクロソフト セキュリ ティ情報センター http://www.microsoft.com/japan/protect/hm.asp |