Hi, My first post here, so forgive me if i missed already existent answer, but i think i did my best and did not find it
Case is rather simple. We're configuring MPLS VPWS ending in pseudowire interface in our core network, where ASR9K would be our headend. So like in examples:
l2vpn
xconnect group pwhe
p2p pwhe
interface PW-Ether1
neighbor ipv4 10.10.10.10 pw-id 10
!
generic-interface-list LIST
interface FortyGigE0/0/0/20/0
interface FortyGigE0/0/0/21/0
!
interface PW-Ether1
ipv4 address 192.168.1.1 255.255.255.252
attach generic-interface-list LIST
!
For now everything is clear. But the case is that our main/default VRF does not have any information about route to 10.10.10.10, because it is used for global (INTERNET) routing table and we don't want to mix it with our MPLS underlay which is only for L2VPNs . How to tell the router that it should use different VRF to look for 10.10.10.10 ? I can't find anything about it
Actual MPLS VRF config looks like this:
interface Loopback1
description MPLS_VRF_Loopback
vrf MPLS
ipv4 address 10.0.0.7 255.255.255.255
!
interface FortyGigE0/0/0/20/0.357
description MPLS_ASR9K_Link1
vrf MPLS
ipv4 address 10.0.1.14 255.255.255.254
encapsulation dot1q 357
!
interface FortyGigE0/0/0/21/0.358
description MPLS_ASR9K_Link2
vrf MPLS
ipv4 address 10.0.1.16 255.255.255.254
encapsulation dot1q 358
!
router ospf MPLS
vrf MPLS
router-id 10.0.0.7
area 0.0.0.0
interface Loopback1
passive enable
!
interface FortyGigE0/0/0/20/0.357
!
interface FortyGigE0/0/0/21/0.358
!
!
!
!
mpls ldp
vrf MPLS
router-id 10.0.0.7
address-family ipv4
!
interface FortyGigE0/0/0/20/0.357
address-family ipv4
!
!
interface FortyGigE0/0/0/21/0.358
address-family ipv4
!
!
!
!
Thanks in advance
Best regards,