mpls-linux-general Mailing List for MPLS for Linux (Page 85)
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: Guruh W. <bla...@in...> - 2005-01-12 15:48:25
|
mpls's information place in /sys/mpls see in /sys/mpls/mpls_ilm for list of u'r label bindings. version file in /sys/mpls/version > Received: from [203.129.229.245] by web52704.mail.yahoo.com via HTTP; Tue, 11 Jan 2005 06:27:57 PST > Date: Tue, 11 Jan 2005 06:27:57 -0800 (PST) > From: jignesh patel <jig...@ya...> > Subject: help > i am trying to configure mpls router > in my college using linux utilites as avialable on > source forge net > i installed kernel-2.6.8.-1.521mpls_1_938a.i686.rpm, > iproute-2.4.7.-14mpls_1_938.i386.rpm, > iptables-1.2.9-2.3.1mpls_1_938.i386.rpm and > mplsadm2-1.938-1.i386.rpm > when run comm: > root#ip route show > 11.0.1.2 via 11.0.1.2 dev eth0 spec_nh 0x8847 0x2 > 192.168.2.0/24 dev eth0 scope link > 127.0.0.0 /8 devlo scope link > ends here > now it didn't show line > 11.0.1.0/24 ............kernel ....src 11.. > this is given in example that has bin put on > sourceforge > so here it is not showing any specification about > lable binding > what should i do? > now when installed above given rpms it didn't made > version file in mpls folder ,all command except this > is working > please help me out > tahks for u r help > jignesh > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - You care about security. So do we. > http://promotions.yahoo.com/new_mail > |
|
From: James R. L. <jl...@mi...> - 2005-01-12 15:15:07
|
On Wed, Jan 12, 2005 at 03:07:35AM -0800, jignesh patel wrote:
> respect sir
> i amtrying implement mpls route on fedora 2 os
> i run below given comm
I'm having a hard time understanding what your question is. Please use
the unix 'script' command to capture your configuration commands, and the
output of the show commands. For example:
[jleu jleu-laptop 9:08am] ~-> script
Script started, file is typescript
[jleu jleu-laptop 9:08] ~-> ip route show
192.168.0.1/24 dev eth0 proto kernel scope link src 192.168.0.106
169.254.0.0/16 dev eth0 scope link
default via 192.168.0.1 dev eth0
[jleu jleu-laptop 9:09am] ~-> ip route add 1.1.1.1/32 via 192.168.0.1 spec_nh 0x8847 0x2
[jleu jleu-laptop 9:10am] ~-> ip route show
1.1.1.1 via 192.168.0.1 dev eth0 spec_nh 0x8847 0x00000002
192.168.0.1/24 dev eth0 proto kernel scope link src 192.168.0.106
169.254.0.0/16 dev eth0 scope link
default via 192.168.0.1 dev eth0
[jleu jleu-laptop 9:10am] ~-> exit
Script done, file is typescript
[jleu jleu-laptop 9:10am] ~->
Then send me the contents of the file it created (in the above case it
created the file 'typescript')
>
>
> uml1
> ----
> [root@uml1 root]# cat /proc/net/mpls_version
> 01010702
> [root@uml1 root]# mplsadm2 -A -O 0
> Key: 0x00000002
> Out Segment add: Success
> [root@uml1 root]# mplsadm2 -O 0x2 -o
> push:gen:10000:set:eth1:ipv4:11.0.1.2
> Out Instr: Success
> [root@uml1 root]# ip route add 11.0.1.2/32 via
> 11.0.1.2 spec_nh 0x8847 0x2
> [root@uml1 root]# cat /proc/net/mpls_out
> 0x00000002 0/0/0 1 PUSH(gen 10000) SET(eth1,11.0.1.2)
> [root@uml1 root]# ip route show
> 11.0.1.2 via 11.0.1.2 dev eth1 spec_nh 0x8847 0x2
> 192.168.2.0/24 dev eth0 scope link
> (this line was not found)11.0.1.0/24 dev eth1 proto
> kernel scope link src 11.0.1.1
> 127.0.0.0/8 dev lo scope link
> the above line was not found when i run above given
> comm
> what ashould i do
> plese help me out
> jignesh
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--
James R. Leu
jl...@mi...
|
|
From: jignesh p. <jig...@ya...> - 2005-01-12 11:07:48
|
respect sir i amtrying implement mpls route on fedora 2 os i run below given comm uml1 ---- [root@uml1 root]# cat /proc/net/mpls_version 01010702 [root@uml1 root]# mplsadm2 -A -O 0 Key: 0x00000002 Out Segment add: Success [root@uml1 root]# mplsadm2 -O 0x2 -o push:gen:10000:set:eth1:ipv4:11.0.1.2 Out Instr: Success [root@uml1 root]# ip route add 11.0.1.2/32 via 11.0.1.2 spec_nh 0x8847 0x2 [root@uml1 root]# cat /proc/net/mpls_out 0x00000002 0/0/0 1 PUSH(gen 10000) SET(eth1,11.0.1.2) [root@uml1 root]# ip route show 11.0.1.2 via 11.0.1.2 dev eth1 spec_nh 0x8847 0x2 192.168.2.0/24 dev eth0 scope link (this line was not found)11.0.1.0/24 dev eth1 proto kernel scope link src 11.0.1.1 127.0.0.0/8 dev lo scope link the above line was not found when i run above given comm what ashould i do plese help me out jignesh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Christophe F. <cf...@ut...> - 2005-01-10 16:21:57
|
On Mon, 10 Jan 2005, James R. Leu wrote: Hi, > I'm not sure you will ever seem MPLS be 'faster' then IP routing. > See my previous emails to the mailing list reguarding this. At the very beginning MPLS was developped because it was faster to make a forwarding decision based on a label than on an IP address. Now, with algorithms like Cisco CEF and others, and even with routing tables of more than 100k routes, this advantage doesn't exist anymore. The clear advantages of MPLS on a traditionnal IP infrastructure are feature-oriented like traffic engineering or VPNs (Level 2 and 3). > On Mon, Jan 10, 2005 at 03:22:04PM +0700, bla...@in... wrote: >> i tried to compare the trafic at lsr in the mpls domain. my topology use >> 10 ler and 2 lsr. i implement this on mpls and non mpls. then i compare >> the trafic those domain. >> >> but, the result just same. i don't see anyting diferent from. >> >> on wich topology i can see that mpls better than common router ?? >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by: Beat the post-holiday blues >> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >> _______________________________________________ >> mpls-linux-general mailing list >> mpl...@li... >> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > -- > James R. Leu > jl...@mi... > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > -- Christophe Fillot (cf...@ut...) | Universite de Technologie de Compiegne Tel: (+33) 03.44.23.79.02 | Service Informatique - Ingenieur Reseaux GSM: (+33) 06.70.50.24.55 | Centre de Recherche de Royallieu Fax: (+33) 03.44.23.46.77 | BP 20.529, 60205 Compiegne Cedex |
|
From: James R. L. <jl...@mi...> - 2005-01-10 15:28:21
|
I'm not sure you will ever seem MPLS be 'faster' then IP routing. See my previous emails to the mailing list reguarding this. On Mon, Jan 10, 2005 at 03:22:04PM +0700, bla...@in... wrote: > i tried to compare the trafic at lsr in the mpls domain. my topology use > 10 ler and 2 lsr. i implement this on mpls and non mpls. then i compare > the trafic those domain. > > but, the result just same. i don't see anyting diferent from. > > on wich topology i can see that mpls better than common router ?? > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: <bla...@in...> - 2005-01-10 08:29:19
|
i tried to compare the trafic at lsr in the mpls domain. my topology use 10 ler and 2 lsr. i implement this on mpls and non mpls. then i compare the trafic those domain. but, the result just same. i don't see anyting diferent from. on wich topology i can see that mpls better than common router ?? |
|
From: <bla...@in...> - 2005-01-10 08:20:48
|
> Date: Sun, 9 Jan 2005 06:53:08 -0800 (PST) > From: dong zhou <don...@ya...> > To: mpl...@li... > Subject: [mpls-linux-general] help on ip route2 > > Hi, > > I installed kernel-2.6.8.-1.521mpls_1_938a.i686.rpm, > iproute-2.4.7.-14mpls_1_938.i386.rpm, > iptables-1.2.9-2.3.1mpls_1_938.i386.rpm and > mplsadm2-1.938-1.i386.rpm > > The problem I got was when I typed "ip route add > 10.1.1.1/32 via 10.1.1.1 lsp 0x2" I got Error: either > 'to" is duplicate, or "lsp" is a garbage. > > How can I set up ip route so that I can use the command? > try this: ip route add 10.1.1.1/32 via 10.1.1.1 spec_nh 0x8847 0x2 |
|
From: <bla...@in...> - 2005-01-10 08:18:24
|
> Message: 1 > Date: Sun, 9 Jan 2005 06:53:08 -0800 (PST) > From: dong zhou <don...@ya...> > To: mpl...@li... > Subject: [mpls-linux-general] help on ip route2 > > Hi, > > I installed kernel-2.6.8.-1.521mpls_1_938a.i686.rpm, > iproute-2.4.7.-14mpls_1_938.i386.rpm, > iptables-1.2.9-2.3.1mpls_1_938.i386.rpm and > mplsadm2-1.938-1.i386.rpm > > The problem I got was when I typed "ip route add > 10.1.1.1/32 via 10.1.1.1 lsp 0x2" I got Error: either > 'to" is duplicate, or "lsp" is a garbage. > > How can I set up ip route so that I can use the command? > > try this |
|
From: <bla...@in...> - 2005-01-10 08:18:24
|
> Message: 1 > Date: Sun, 9 Jan 2005 06:53:08 -0800 (PST) > From: dong zhou <don...@ya...> > To: mpl...@li... > Subject: [mpls-linux-general] help on ip route2 > > Hi, > > I installed kernel-2.6.8.-1.521mpls_1_938a.i686.rpm, > iproute-2.4.7.-14mpls_1_938.i386.rpm, > iptables-1.2.9-2.3.1mpls_1_938.i386.rpm and > mplsadm2-1.938-1.i386.rpm > > The problem I got was when I typed "ip route add > 10.1.1.1/32 via 10.1.1.1 lsp 0x2" I got Error: either > 'to" is duplicate, or "lsp" is a garbage. > > How can I set up ip route so that I can use the command? > > try this |
|
From: dong z. <don...@ya...> - 2005-01-09 14:53:10
|
Hi, I installed kernel-2.6.8.-1.521mpls_1_938a.i686.rpm, iproute-2.4.7.-14mpls_1_938.i386.rpm, iptables-1.2.9-2.3.1mpls_1_938.i386.rpm and mplsadm2-1.938-1.i386.rpm The problem I got was when I typed "ip route add 10.1.1.1/32 via 10.1.1.1 lsp 0x2" I got Error: either 'to" is duplicate, or "lsp" is a garbage. How can I set up ip route so that I can use the command? __________________________________ Do you Yahoo!? All your favorites on one personal page Try My Yahoo! http://my.yahoo.com |
|
From: James R. L. <jl...@mi...> - 2005-01-08 19:02:34
|
First off, ldp-portable is a portable implementation of LDP. What this means is that it implements the LDP protocols but relies on a 'porting layer' to implement the hardware or OS specify part of the protocol. With that said ldp-portable is mostly a fully function implementation or RFC3036. There are probably some bugs, but only lots of testing will brings those bugs to the surface. Why then do I keep on saying that quagga+ldp is not ready for users? Because the porting layer (implemented in quagga) is very immature. The reason is that quagga did not have any infrastructure for MPLS. That was until I spent the last 3 months implementing it. I am in the midst of preparing a release of quagga-mpls that has the full MPLS infrastructure and allows for building static LSPs and binding routes to those LSPs. All of this can be save in the zebra config. I have not yet convert the ldpd daemon to use this new MPLS infrastructure. I would rather test the MPLS infrastructure in a controlled manner (ie with a static LSP configuration). How can you help? Download the latest ldp-portable and quagga-mpls from my development tree and dig in. On Sat, Jan 08, 2005 at 12:36:38PM +0100, Emporio Guijarro wrote: > I have some doubts, why the most important thing of LDP has not been made > yet? I am talking about the creation and destructions of LSPs. Why > investigations aren't focus on that instead of doing the rest first?Which > is the problem with it?How can it be solved?If someone wanted to do it, > what should he or she do? > > Thanks in advance for answering to this doubtfull student, > Danielle. > > _________________________________________________________________ > Acepta el reto MSN Premium: Protecci?n para tus hijos en internet. > Desc?rgalo y pru?balo 2 meses gratis. > http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_proteccioninfantil > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |
|
From: Emporio G. <gau...@ho...> - 2005-01-08 11:37:08
|
I have some doubts, why the most important thing of LDP has not been made yet? I am talking about the creation and destructions of LSPs. Why investigations aren't focus on that instead of doing the rest first?Which is the problem with it?How can it be solved?If someone wanted to do it, what should he or she do? Thanks in advance for answering to this doubtfull student, Danielle. _________________________________________________________________ Acepta el reto MSN Premium: Protección para tus hijos en internet. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_proteccioninfantil |
|
From: <bla...@in...> - 2005-01-07 21:30:17
|
hi all with iptables, i append a simple rule like this : iptables -A FORWARD -i eth0 when whe list and verbose output whith -L -v i can see the ammount n size of packet in. but on mpls i can't. why?? pls gv me some explanation. ;) thx, all |
|
From: <m9...@cn...> - 2005-01-06 15:07:06
|
Hi,
I have a question between ldp-portable-0.310 and ldp-portable-0.800.
The programmer uses "struct mpls_interface" in ldp-portable-0.310 patch =
file, but "stuct ldp_interface" in ldp-portable-0.800 patch file.
It seems that there is no data member named ldp in ldp_interface.h, so =
all related commands in ldp_vty.c were marked by #if 0.
Why to change that?=20
ldp_vty.c - 0.310=20
DEFUN(ldp_if_remote_tcp_port,
ldp_if_remote_tcp_port_cmd,
"remote-tcp-port <1-65535>",
"MPLS interface configuration\n"
"remote LDP port\n"
"port number\n") {
struct interface *ifp =3D vty->index;
struct mpls_interface *mi =3D (struct mpls_interface*)ifp->info;
struct ldp_interface *li =3D mi->ldp;
ldp_vty.c - 0.800=20
DEFUN(ldp_if_remote_tcp_port,
ldp_if_remote_tcp_port_cmd,
"remote-tcp-port <1-65535>",
"MPLS interface configuration\n"
"remote LDP port\n"
"port number\n")
{
struct interface *ifp =3D vty->index;
struct ldp_interface *li =3D (struct ldp_interface*)ifp->info;
struct ldp *ldp =3D li->ldp;
ldp_interface.h - there is no data member named ldp
struct ldp_interface {
struct interface *ifp;
struct connected *connected;
struct l2cc_interface *l2cc;
ldp_entity entity;
ldp_if iff;
mpls_bool configured;
mpls_bool admin_up;
mpls_bool create_on_hold;
int labelspace;
};
Thanks.
Timothy
2005.01.06 |
|
From: James R. L. <jl...@mi...> - 2005-01-05 14:29:59
|
What do you want to use the other 4 bits for? The only whay to modify this is to hack the kernel code. On Wed, Jan 05, 2005 at 03:19:02PM +0330, Farazad Farhadzadeh wrote: > Hi James. > > I want to see if there is any way to use 16 bit of label size instead of > 20 bits in a mpls header? Is there any standard way of this? > > > -----Original Message----- > From: "James R. Leu" <jl...@mi...> > To: Farazad Farhadzadeh <Far...@sa...> > Cc: mpl...@li... > Date: Tue, 4 Jan 2005 07:51:56 -0600 > Subject: Re: [mpls-linux-general] question about label. > > > On Tue, Jan 04, 2005 at 02:45:44PM +0330, Farazad Farhadzadeh wrote: > > > Hi James. > > > I want to know whether i can decrease the value of label. > > > for example 0 ... 2^16. > > > > Where? In the kernel code and tools or when creating a LSP? When > > configuring > > a LSP, you can use any value from 16 to 2^20-1 therfore you can use any > > 16 bit value in that range. > > > > > -----Original Message----- > > > From: "James R. Leu" <jl...@mi...> > > > To: Farazad Farhadzadeh <Far...@sa...> > > > Cc: mpl...@li... > > > Date: Mon, 3 Jan 2005 22:06:11 -0600 > > > Subject: Re: [mpls-linux-general] question about label. > > > > > > > I'm not sure what you mean. Do you want to known where in the > > kernel > > > > code you change the encoding/decoding of the MPLS shim? > > > > > > > > On Mon, Jan 03, 2005 at 11:18:16AM +0330, Farazad Farhadzadeh > > wrote: > > > > > > > > > > Hi all. > > > > > I have a question about label in mpls. > > > > > I know that label stack is 32-bit value and label is 20-bit value > > in > > > > label > > > > > stack ,I want to know that i can decrease this value,for example > > to > > > > 16- > > > > > bit. > > > > > regards. > > > > > -------- > > > > > Farzad FarhadZadeh > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > The SF.Net email is sponsored by: Beat the post-holiday blues > > > > > Get a FREE limited edition SourceForge.net t-shirt from > > ThinkGeek. > > > > > It's fun and FREE -- well, > > almost....http://www.thinkgeek.com/sfshirt > > > > > _______________________________________________ > > > > > mpls-linux-general mailing list > > > > > mpl...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > -- > > > > James R. Leu > > > > jl...@mi... > > > > -- > > James R. Leu > > jl...@mi... -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2005-01-05 05:05:09
|
Sorry for the delay. To implment LSP ping, you will need to finish the MPLS socket implementation then implement a userland daemon that listens on UDP port 3503 (MPLS echo requests port). The MPLS socket code will allow a userland aplications to construct the LSP ping request packet then choose which NHLFE it wishes to send the packet on. You will need to create a sockaddr_mpls which contains the NHLFE key. (you might also want to think about how an application would register an ILM that is bound to a socket, also there is a router alert label which needs to forward the packet on a socket as well) Then fill in all of the socket functions needed to create/bind/connect/listen/send/recv on the MPLS socket. The framework is already there in net/mpls/af_mpls.c Let me know if you need more info. On Thu, Dec 30, 2004 at 11:21:28PM +0100, Tomas Hernandez wrote: > Hi, > I?m doing my final project and I have to implement mpls ping and traceroute but I don?t know how to start. Can you said to me how can I start with this or if is there > something implemented for this? > > Thanks in advance, > > Tomas. -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2005-01-04 13:51:49
|
On Tue, Jan 04, 2005 at 02:45:44PM +0330, Farazad Farhadzadeh wrote: > Hi James. > I want to know whether i can decrease the value of label. > for example 0 ... 2^16. Where? In the kernel code and tools or when creating a LSP? When configuring a LSP, you can use any value from 16 to 2^20-1 therfore you can use any 16 bit value in that range. > -----Original Message----- > From: "James R. Leu" <jl...@mi...> > To: Farazad Farhadzadeh <Far...@sa...> > Cc: mpl...@li... > Date: Mon, 3 Jan 2005 22:06:11 -0600 > Subject: Re: [mpls-linux-general] question about label. > > > I'm not sure what you mean. Do you want to known where in the kernel > > code you change the encoding/decoding of the MPLS shim? > > > > On Mon, Jan 03, 2005 at 11:18:16AM +0330, Farazad Farhadzadeh wrote: > > > > > > Hi all. > > > I have a question about label in mpls. > > > I know that label stack is 32-bit value and label is 20-bit value in > > label > > > stack ,I want to know that i can decrease this value,for example to > > 16- > > > bit. > > > regards. > > > -------- > > > Farzad FarhadZadeh > > > > > > > > > > > > ------------------------------------------------------- > > > The SF.Net email is sponsored by: Beat the post-holiday blues > > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > > > _______________________________________________ > > > mpls-linux-general mailing list > > > mpl...@li... > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > -- > > James R. Leu > > jl...@mi... -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2005-01-04 04:27:04
|
On Sun, Jan 02, 2005 at 04:21:26AM +0700, bla...@in... wrote: > consider bellow : > > MPLS backbone > ------- > A-----B | | C-----D > \| |/ \ > |J-----K| E > | | > -------> j->k > --------------------------> a->d/a->e > > i just want to know about mpls tunnel hierarcy. if ilustration above like > this: > C->D : 18 > C->E : 19 > j->K : 35 > if i use multiple push on backbone edge at j. > can this done by mpls tunnel?? i still confuse about mpls hierarchy > tunneling . > thanks for your help. Yes. In theory you should be able to do: mplsadm2 -A -O 0 -o push:gen:16:set:eth0:ipv4:192.168.2.1 mplsadm2 -A -T mpls0 mplsadm2 -A -O 0 -o push:gen:1600:set:mpls0 But there is some broken code preventing this. Instead you'll have to do this: mplsadm2 -A -O 0 -o push:gen:16:set:eth0:ipv4:192.168.2.1 (key: 0x2) mplsadm2 -A -O 0 -o push:gen:1600:fwd:0x2 (key: 0x3) Or alternativly: mplsadm2 -A -O 0 -o push:gen:1600:push:gen:16:set:eth0:ipv4:192.168.2.1 > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > 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...> - 2005-01-04 04:12:49
|
There is no need to include advanced configuration commands when the basics do not work. I'm not sure what you mean by "struct ldp seems unfinished". The main parts of the ldp control structures are in ldp-portable not in the "quagga-wrapper". On Mon, Jan 03, 2005 at 04:27:03PM +0800, ?????x wrote: > Hi James, > > I have a question about ldp-portable-0.800. Why there are some instructions in "ldp_vty.c" marked with "#if 0"? More detail, I find that there is a structure called "struct ldp" seems like unfinished, I am not sure, could you give a a hint? > > Thanks very much > > Timothy > 2005.01.03 -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2005-01-04 04:06:12
|
I'm not sure what you mean. Do you want to known where in the kernel code you change the encoding/decoding of the MPLS shim? On Mon, Jan 03, 2005 at 11:18:16AM +0330, Farazad Farhadzadeh wrote: > > Hi all. > I have a question about label in mpls. > I know that label stack is 32-bit value and label is 20-bit value in label > stack ,I want to know that i can decrease this value,for example to 16- > bit. > regards. > -------- > Farzad FarhadZadeh > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > 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...> - 2005-01-04 04:00:27
|
I don't know what to tell you. 'It works for me' (tm) [root@simian root]# more /etc/fedora-release Fedora Core release 2 (Tettnang) [root@simian root]# uname -a Linux simian 2.6.9-1.6_FC2mpls_1_940a #1 Fri Dec 31 02:15:10 CST 2004 i686 i686 i386 GNU/Linux [root@simian root]# rpm -qa | grep tcpdump tcpdump-3.8.2-6.FC2.1 [root@simian root]# echo 0 > /sys/mpls/debug [root@simian root]# tcpdump -i wlan0 ether proto 0x8847 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on wlan0, link-type EN10MB (Ethernet), capture size 96 bytes 21:50:20.457809 MPLS (label 17, exp 0, [S], ttl 64), IP, length: 88 21:50:21.458779 MPLS (label 17, exp 0, [S], ttl 64), IP, length: 88 21:50:22.458645 MPLS (label 17, exp 0, [S], ttl 64), IP, length: 88 There is nothing new in 1.940a compared to 1.938. Try doing a strace on tcpdump and see what happens. Try turning off name resolution with the -nn switch. On Mon, Jan 03, 2005 at 11:02:46AM -0800, murat wrote: > Hi all. > > I've got a bit more specific info on when ethereal crashes.That is when I just create an incomming label with the following line only ( without creating outgoing label, adding route...): > > root# mplsadm2 -A -I gen:16:0 > > That line only is enough to make ethereal crashing. > When I remove the label with: > > root# mplsadm2 -D -I gen:16:0 > > ethereal works again. The same problem with tcpdump. > > I'm writing a thesis (time pressure) and have to use a cost free sniffer. If there are any alternatives please tell me. The best would be to make ethereal work. > > Again many thanks in advance and regards. > > > Original mail from 2004-12-31: > Hello guys, > > I use FC 2, kernel 2.6.8-1, mpls-linux 1.938, Ethereal 0.10.7. Everything installed like > described at mpls-linux. > Problem is Ethereal. It works when I capture IP packets. It crashes as soon as I want to > capture MPLS packets. > I set a path between two routers (/proc/sys/net/ipv4/ip_forward = 1): > mplsadm2 -A -O 0 > mplsadm2 O 0x2 -o push:gen:16:set:eth0:ipv4:192.168.30.2 > ip route add 192.168.30.0/24 via 192.168.30.2 spec_nh 0x8847 0x2 > mplsadm2 -A -I gen:17:0 > > mplsadm2 -A -O 0 > mplsadm2 O 0x2 -o push:gen:17:set:eth1:ipv4:192.168.30.1 > ip route add 192.168.30.0/24 via 192.168.30.1 spec_nh 0x8847 0x2 > mplsadm2 -A -I gen:16:0 > > > Now when I start ethereal, and klick "Edit-Preferences" or "Capture-Start" - ethereal > crashes immediately, the messege in the terminal is "Aborted". > Etereal works again when I delete the path. > > Thanks for any help in advance and regards. > > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail - now with 250MB free storage. Learn more. -- James R. Leu jl...@mi... |
|
From: James R. L. <jl...@mi...> - 2005-01-03 19:21:01
|
I will try and reproduce this crash tonight and get back to you tomorrow with possible solutions. On Mon, Jan 03, 2005 at 11:02:46AM -0800, murat wrote: > Hi all. > > I've got a bit more specific info on when ethereal crashes.That is when I just create an incomming label with the following line only ( without creating outgoing label, adding route...): > > root# mplsadm2 -A -I gen:16:0 > > That line only is enough to make ethereal crashing. > When I remove the label with: > > root# mplsadm2 -D -I gen:16:0 > > ethereal works again. The same problem with tcpdump. > > I'm writing a thesis (time pressure) and have to use a cost free sniffer. If there are any alternatives please tell me. The best would be to make ethereal work. > > Again many thanks in advance and regards. > > > Original mail from 2004-12-31: > Hello guys, > > I use FC 2, kernel 2.6.8-1, mpls-linux 1.938, Ethereal 0.10.7. Everything installed like > described at mpls-linux. > Problem is Ethereal. It works when I capture IP packets. It crashes as soon as I want to > capture MPLS packets. > I set a path between two routers (/proc/sys/net/ipv4/ip_forward = 1): > mplsadm2 -A -O 0 > mplsadm2 O 0x2 -o push:gen:16:set:eth0:ipv4:192.168.30.2 > ip route add 192.168.30.0/24 via 192.168.30.2 spec_nh 0x8847 0x2 > mplsadm2 -A -I gen:17:0 > > mplsadm2 -A -O 0 > mplsadm2 O 0x2 -o push:gen:17:set:eth1:ipv4:192.168.30.1 > ip route add 192.168.30.0/24 via 192.168.30.1 spec_nh 0x8847 0x2 > mplsadm2 -A -I gen:16:0 > > > Now when I start ethereal, and klick "Edit-Preferences" or "Capture-Start" - ethereal > crashes immediately, the messege in the terminal is "Aborted". > Etereal works again when I delete the path. > > Thanks for any help in advance and regards. > > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail - now with 250MB free storage. Learn more. -- James R. Leu jl...@mi... |
|
From: murat <te...@ya...> - 2005-01-03 19:02:51
|
Hi all. I've got a bit more specific info on when ethereal crashes.That is when I just create an incomming label with the following line only ( without creating outgoing label, adding route...): root# mplsadm2 -A -I gen:16:0 That line only is enough to make ethereal crashing. When I remove the label with: root# mplsadm2 -D -I gen:16:0 ethereal works again. The same problem with tcpdump. I'm writing a thesis (time pressure) and have to use a cost free sniffer. If there are any alternatives please tell me. The best would be to make ethereal work. Again many thanks in advance and regards. Original mail from 2004-12-31: Hello guys, I use FC 2, kernel 2.6.8-1, mpls-linux 1.938, Ethereal 0.10.7. Everything installed like described at mpls-linux. Problem is Ethereal. It works when I capture IP packets. It crashes as soon as I want to capture MPLS packets. I set a path between two routers (/proc/sys/net/ipv4/ip_forward = 1): mplsadm2 -A -O 0 mplsadm2 O 0x2 -o push:gen:16:set:eth0:ipv4:192.168.30.2 ip route add 192.168.30.0/24 via 192.168.30.2 spec_nh 0x8847 0x2 mplsadm2 -A -I gen:17:0 mplsadm2 -A -O 0 mplsadm2 O 0x2 -o push:gen:17:set:eth1:ipv4:192.168.30.1 ip route add 192.168.30.0/24 via 192.168.30.1 spec_nh 0x8847 0x2 mplsadm2 -A -I gen:16:0 Now when I start ethereal, and klick "Edit-Preferences" or "Capture-Start" - ethereal crashes immediately, the messege in the terminal is "Aborted". Etereal works again when I delete the path. Thanks for any help in advance and regards. --------------------------------- Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. |
|
From: <m9...@cn...> - 2005-01-03 08:21:38
|
Hi James, I have a question about ldp-portable-0.800. Why there are some = instructions in "ldp_vty.c" marked with "#if 0"? More detail, I find = that there is a structure called "struct ldp" seems like unfinished, I = am not sure, could you give a a hint?=20 Thanks very much Timothy 2005.01.03 |
|
From: Farazad F. <Far...@sa...> - 2005-01-03 07:51:07
|
Hi all. I have a question about label in mpls. I know that label stack is 32-bit value and label is 20-bit value in label stack ,I want to know that i can decrease this value,for example to 16- bit. regards. -------- Farzad FarhadZadeh |