AW: [mpls-linux-general] Ping Problem
Status: Beta
Brought to you by:
jleu
|
From: Josef P. <jo...@pe...> - 2004-03-25 23:59:06
|
Hello Ramon,
I've tried to setup the Labelspace explicit f=FCr the used interfaces as =
you
suggested with the command:
mplsadm2 -L eth1:0
--> SUCCESS... :-)=20
but it didn't really work because
the cat /proc/net/mpls/labelspaces always returned me a -1 for my eth1
interface=20
---> Debug MSG for eth1:0
MPLS DEBUG net/mpls/mpls_ioctls.c:59:mpls_ioctl: IOCTL Set LabelSpace=20
MPLS DEBUG net/mpls/mpls_if.c:176:__mpls_set_labelspace: enter
--> for eth2:0 - a not mpls configured interface the labelspace set
worked....
MPLS DEBUG net/mpls/mpls_if.c:190:__mpls_set_labelspace: Set labelspace =
for
eth2 to 0
MPLS DEBUG net/mpls/mpls_if.c:198:__mpls_set_labelspace: exit
So I rebooted my 2 UMLs then and entered the command for setting =
labelspace
before all other mplsadm commands=20
--> yeah the ping was fine :-)
My Commands:
mplsadm2 -L eth1:0
mplsadm2 -A -O 0=20
mplsadm2 -O 0x2 -o push:gen:17:set:eth1:ipv4:11.0.1.1=20
ip route add 11.0.1.1/32 via 11.0.1.1 spec_nh 0x8847 0x2=20
mplsadm2 -A -I gen:16:0;=20
mplsadm2 -L eth1:0
Is this normal, that you have to enter the mplsadm2 -L eth1:0 command =
before
all others?
best regards
josef
-----Urspr=FCngliche Nachricht-----
Von: mpl...@li...
[mailto:mpl...@li...] Im Auftrag von =
Ramon
Casellas
Gesendet: Donnerstag, 25. M=E4rz 2004 22:01
An: Josef Perlinger
Cc: mpl...@li...
Betreff: Re: [mpls-linux-general] Ping Problem
On Thu, 25 Mar 2004, Josef Perlinger wrote:
MPLS DEBUG net/mpls/mpls_input.c:256:mpls_skb_recv: unicast packet recv =
on
if. w/o labelspace MPLS DEBUG net/mpls/mpls_input.c:303:mpls_skb_recv:
exit(DROP)
This usually means that you recived a packet on an interface that was =
not=20
"MPLS enabled", that is, the labelspace is -1. So the kernel network =
stack
actually hands over the frame to the MPLS module, but it has not =
allocated=20
the required data structs for the incoming interface so it drops the=20
packet...
Could you please try setting a labelspace (let it be 0) for the used=20
interfaces and try again? I *do* see that the is an IOCTL to set the=20
labelspace, but could you please check after that it has really been =
set?
Maybe you spot a bug..
PS: I will add some code to mpls_input so we get the name of the =
interface=20
displayed...
thanks,
Ramon
> Ping from UML1 to UML2
...
> MPLS DEBUG net/mpls/mpls_ioctls.c:59:mpls_ioctl: IOCTL Set LabelSpace=20
> MPLS DEBUG net/mpls/mpls_if.c:176:__mpls_set_labelspace: enter
> MPLS DEBUG net/mpls/mpls_if.c:198:__mpls_set_labelspace: exit
...
> MPLS DEBUG net/mpls/mpls_input.c:240:mpls_skb_recv: enter
> MPLS mpls_skb_dump: from eth1 with len 88 (1704)headroom=3D30 =
tailroom=3D1418
>
00000000000000000000000000000000*fefd0b000102fefd0b0001018847{00010140450=
000
>
5400004000400122a70b0001010b00010208007acc130100004063214800091d7b08090a0=
b0c
>
0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303=
132
> 3334353637}00
> MPLS DEBUG net/mpls/mpls_input.c:256:mpls_skb_recv: unicast packet =
recv on
> if. w/o labelspace
> MPLS DEBUG net/mpls/mpls_input.c:303:mpls_skb_recv: exit(DROP)
> Something isn't implemented in here
Most probably :)
R.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli=
ck
_______________________________________________
mpls-linux-general mailing list
mpl...@li...
https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
|