Hi Neale, Thank you for the help. We are trying to exercise vpp mpls vpn and we are preferring label per prefix only. Anyway I am fine even with per VRF label but adding more local labels which seems fine while adding.
I am trying to evaluate VRF with non-default ip fib tables. While I tried default VRF, I always see mpls out-label and dpo rules as below: Example: Case 1, with default VRF ============================= vppctl ip route add 1.1.1.1/32 via 107.243.21.116 VirtualFuncEthernet0/9/0.1800 out-labels 18 for this, I see sh ip fib 1.1.1.1/32 unicast-ip4-chain [@0]: dpo-load-balance: [proto:ip4 index:134 buckets:1 uRPF:160 to:[0:0]] [0] [@16]: mpls-label[@1]:[18:64:0:eos] [@1]: mpls via 107.243.21.116 VirtualFuncEthernet0/9/0.1800: mtu:9000 next:2 fa163e9c9c94fa163ebe37d3810007088847 This is indicating use mpls proto and out label as 18. Case2: Non default VRF i.e table 2: ============================= ip route add table 2 1.1.1.1/32 via 107.243.21.116 next-hop-table 0 out-labels 18 VRF is table 2 and outer VRF for L2 is table 0. sh ip fib table 2 1.1.1.1/32 unicast-ip4-chain [@0]: dpo-load-balance: [proto:ip4 index:129 buckets:1 uRPF:160 to:[0:0]] [0] [@0]: dpo-drop ip4 No out-label or mpls dpo rule. Rather its a drop. Could you please let me know if I have to use always 2 out-labels for non default VRF cases? As per your doc: non default VRF: ip route add 10.0.0.1/32 via 192.168.1.2 Eth0 out-labels 33 VRF at table 2 ip route add table 2 10.10.10.0/24 via 10.0.0.1 next-hop-table 0 out-label 121 With Regards Sastry
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20599): https://lists.fd.io/g/vpp-dev/message/20599 Mute This Topic: https://lists.fd.io/mt/87373182/21656 Mute #mpls:https://lists.fd.io/g/vpp-dev/mutehashtag/mpls Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-