I’ve setup a test lab very similar to the MPLSVPLS example on the wiki page. My problem is with TE tunnels and it not choosing the shortest path when using CSPF and some confusing route paths. When I create a TE tunnel from R1 to R5 the path used is R1,R2,R3,R4,R5. When I create a TE tunnel from R5 to R1 it uses the correct/shortest path of R5,R3,R2,R1. If anyone wants part of the configuration posted let me know. Here is a traceroute from R1 to R5
/tool traceroute 192.168.0.18
ADDRESS STATUS
1 192.168.0.2 4ms 3ms 4ms
2 192.168.0.6 5ms 5ms 5ms
3 192.168.0.18 11ms 13ms 7ms
From R1 to R4 with extra route???
/tool traceroute 192.168.0.17
ADDRESS STATUS
1 192.168.0.2 6ms 4ms 3ms
2 192.168.0.6 5ms 5ms 4ms
3 192.168.0.14 10ms 9ms 6ms
4 192.168.0.17 8ms 7ms 8ms
R1 to R5 using loopback
/tool traceroute 10.255.255.5 src-address=10.255.255.1
ADDRESS STATUS
1 192.168.0.2 9ms 8ms 9ms
mpls-label=17
2 192.168.0.6 11ms 9ms 7ms
mpls-label=17
3 10.255.255.5 6ms 9ms 6ms
R1 to R4 using loopback
/tool traceroute 10.255.255.4 src-address=10.255.255.1
ADDRESS STATUS
1 192.168.0.2 12ms 8ms 8ms
mpls-label=19
2 192.168.0.6 13ms 8ms 7ms
mpls-label=19
3 10.255.255.4 8ms 6ms 6ms
TE tunnel on R1
/interface traffic-eng monitor 0 once
tunnel-id: 4
primary-path-state: established
primary-path: dyn
secondary-path-state: not-necessary
active-path: dyn
active-lspid: 1
active-label: 22
explicit-route: "S:192.168.0.2/32,S:192.168.0.5/32,S:192.168.0.6/32,
S:192.168.0.9/32,S:192.168.0.10/32,S:192.168.0.17/32,
S:192.168.0.18/32"
recorded-route: "192.168.0.5[22],192.168.0.9[22],192.168.0.17[38],
192.168.0.18[0]"
reserved-bandwidth: 60.0Mbps
If I add a 192.168.0.13:loose to the tunnel path then it will traverse over the shorter route. I’m just trying to understand why this isn’t the default behaviour.
tunnel-id: 9
primary-path-state: established
primary-path: static-test
secondary-path-state: not-necessary
active-path: static-test
active-lspid: 1
active-label: 26
explicit-route: "S:192.168.0.2/32,S:192.168.0.5/32,S:192.168.0.6/32,
S:192.168.0.13/32,S:192.168.0.14/32"
recorded-route: "192.168.0.5[26],192.168.0.13[26],192.168.0.14[0]"
reserved-bandwidth: 60.0Mbps
Here is my ip configuration on the routers with the 10.255.255 addresses being the loopback bridge.
R1
10.255.255.1/32
192.168.0.1/30
R2
10.255.255.2/32
192.168.0.2/30
192.168.0.5/30
R3
10.255.255.3/32
192.168.0.6/30
192.168.0.9/30
192.168.0.13/30
R4
10.255.255.4/32
192.168.0.10/30
192.168.0.17/30
R5
10.255.255.5/32
192.168.0.14/30
192.168.0.18/30