[mpls-linux-general] Some questions
Status: Beta
Brought to you by:
jleu
From: Javier L. <jml...@gm...> - 2008-02-15 14:55:51
|
First of all, I'm working with mpls-1.950 on fc4 and I think these things aren't working well. I don't know if they work on newer releases. 1. I can add instructions to labelspace 0, but I can't to others: [root@localhost ~]# mpls ilm add label gen 100 labelspace 0 instructions forward 0x2 [root@localhost ~]# mpls ilm add label gen 100 labelspace 2 instructions forward 0x2 RTNETLINK answers: No such process 2. I have a problem when I try to add a label to a packet that already carries one (only one). In the LSR, I do: mpls nhlfe add key 0 instructions push gen 2000 nexthop eth0 ipv4 10.6.44.6 mpls ilm add label gen 1000 instructions forward 0x2 And in the ingress LER I do: mpls nhlfe change key 0x2 instructions push gen 500 push gen 1000 nexthop eth0 ipv4 10.6.44.2 or: mpls nhlfe change key 0x2 instructions push gen 1000 nexthop eth0 ipv4 10.6.44.2 In the first case, there isn't any problems, but in the second, the S bit in the MPLS header with the label 2000 is set to 1. And it must be 0. I know that I can pop the label 1000 and push it again, solving the problem; but if I want to merge some LSP in that tunnel, I have to repeat the nhlfe line for each LSP. And I think it isn't the desired behaviour. 3. I don't know how to use set-rx-if <NAME> forward <KEY> I tried this: [root@localhost ~]# mpls ilm add label gen 255 instructions set-rx-if eth0 forward 0x2 RTNETLINK answers: Operation not permitted Thank you. -- Javier Lorenzo |