[mpls-linux-general] Problem setting MPLS tunnel with iproute2 in mpls-linux
Status: Beta
Brought to you by:
jleu
From: Steve M. <emu...@gm...> - 2014-02-04 10:51:47
|
Hi List I am testing mpls-linux in a voyage linux system and I am suffering a weir behaviour. I am following several tutorial for set up the mpls tunnels and I am stucked when I need to map the IP traffic to an specific MPLS tunnel. I one node, I am doing this: mpls nhlfe add key 0 instructions push gen 1000 nexthop eth1 ipv4 10.10.10.22 and then ip route add 10.10.0.2/24 via 10.10.10.22 mpls 0x2 but the ip route command gives me an error: Error: argument "mpls" is wrong: Can't define mpls when using IP forwarding But I am sure that IP forwarding is disabled: # sysctl net.ipv4.ip_forwardnet.ipv4.ip_forward = 0 So, how can I fix it? This is a normal behaviour and there is another way to stablish the tunnel? Or maybe the iproute package I am using is not the right one? My mpls compiled version is: Linux voyage 2.6.32 And iproute2 package is get from: https://github.com/i-maravic/iproute2 Any idea or suggestion? Thank you Kind regards, Esteban -- Esteban |