Re: [mpls-linux-general] Ping in MPLS
Status: Beta
Brought to you by:
jleu
|
From: Tomas H. <tom...@ar...> - 2005-02-02 23:54:42
|
Hello again,
I have been reading some documents about MPLS and an Internet draft
(draft-ietf-mpls-lsp-ping-07.txt) about how works mpls ping but I don=B4t
understand very well how it works (how to fill in the differents fields o=
f
the MPLS UDP echo request packet, what have to do a LSR when it receives =
an
MPLS echo request or an MPLS echo reply, etc). Can you send me where I ca=
n
see documents about how works mpls ping and an example of it in order to
implement it? About what you say in the mail below, where can I obtain th=
e
code of the MPLS socket implementation in order to finish it and informat=
ion
about what do the functions that are implemented? Finally, I don=B4t
understand very well the part in wich you explain to me NHLFE Key and ILM.
Can you say more details about it?
Thanks in advance.
Regards,
Tomas.
----- Original Message -----
From: "James R. Leu" <jl...@mi...>
To: "Tomas Hernandez" <tom...@ar...>
Cc: <mpl...@li...>
Sent: Wednesday, January 05, 2005 6:05 AM
Subject: Re: [mpls-linux-general] Ping in MPLS
> 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 th=
ink
> about how an application would register an ILM that is bound to a socke=
t,
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 st=
art
with this or if is there
> > something implemented for this?
> >
> > Thanks in advance,
> >
> > Tomas.
> --
> James R. Leu
> jl...@mi...
|