Re: [mpls-linux-general] Problems pinging vom Ingress to Egress
Status: Beta
Brought to you by:
jleu
|
From: Ramon C. <cas...@in...> - 2004-03-26 20:28:56
|
Hi Josef,
May I get the output of these commands and dmesg? as James said, even if
the internal device structures don't exist , they should be created when
issuing a set command.
> The following comands I've entered
>
> UML1:
> mplsadm2 -A -O 0;
> mplsadm2 -O 0x2 -o push:gen:16:set:eth1:ipv4:11.0.1.2
> ip route add 11.0.1.2/32 via 11.0.1.2 spec_nh 0x8847 0x2
> mplsadm2 -A -I gen:17:0
> mplsadm2 -L eth1:0
We are mostly interested in the lines containg
mpls_build_opcode_set
Did you ifconfigged eth1 between theses commands?
James: (Hint) I think that this is missing:
__mpls_set_labelspace
if ((labelspace != -1) && (dev->mpls_ptr)) {
dev->mpls_ptr ->labelspace = labelspace;
}
e.g. in the case that there was a previous labelspace set.
Anyway, I think __mpls_set_labelspace could use a rewrite
Regards,
Ramon
|