<div dir="ltr"><div dir="ltr">Hi Renato,<div><br></div><div>thank you for the tip.</div><div>That loopback is also announced by OSPF so I can not move to default VRF.</div><div>Is it possible to set a second dummy interface in default VRF only for LDP?</div><div><br></div><div>regards</div><div><br></div><div>Alessio</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 18 gen 2019 alle ore 17:20 Renato Westphal <<a href="mailto:renato@opensourcerouting.org">renato@opensourcerouting.org</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Alessio,<br>
<br>
It seems your dummy0 interface (which has the <a href="http://1.1.1.1/32" rel="noreferrer" target="_blank">1.1.1.1/32</a> address) is<br>
assigned to the VRF-PUBLIC VRF, and ldpd works on the default VRF<br>
only. Moving dummy0 to the default VRF should fix the problem.<br>
<br>
Best Regards,<br>
Renato.<br>
<br>
On Fri, Jan 18, 2019 at 12:19 PM Alessio Leonarduzzi<br>
<<a href="mailto:alessio.leonarduzzi@gmail.com" target="_blank">alessio.leonarduzzi@gmail.com</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> If I set loopback interface IP as discovery transport-address in MPLS configuration the DEBUG output is:<br>
> [CUT]<br>
> 2019/01/17 12:05:19 LDP: nbr_establish_connection: error while binding socket to <a href="http://1.1.1.1" rel="noreferrer" target="_blank">1.1.1.1</a>: Cannot assign requested address<br>
> 2019/01/17 12:05:23 LDP: nbr_establish_connection: error while binding socket to <a href="http://1.1.1.1" rel="noreferrer" target="_blank">1.1.1.1</a>: Cannot assign requested address<br>
> 2019/01/17 12:05:27 LDP: nbr_establish_connection: error while binding socket to <a href="http://1.1.1.1" rel="noreferrer" target="_blank">1.1.1.1</a>: Cannot assign requested address<br>
> 2019/01/17 12:05:32 LDP: nbr_establish_connection: error while binding socket to <a href="http://1.1.1.1" rel="noreferrer" target="_blank">1.1.1.1</a>: Cannot assign requested address<br>
> 2019/01/17 12:05:36 LDP: nbr_establish_connection: error while binding socket to <a href="http://1.1.1.1" rel="noreferrer" target="_blank">1.1.1.1</a>: Cannot assign requested address<br>
> 2019/01/17 12:05:40 LDP: nbr_establish_connection: error while binding socket to <a href="http://1.1.1.1" rel="noreferrer" target="_blank">1.1.1.1</a>: Cannot assign requested address<br>
> [/CUT]<br>
><br>
><br>
> but if I use the physical interface all works good.<br>
><br>
> This is the configuration:<br>
><br>
> vrf VRF-PUBLIC<br>
> !<br>
> interface dummy0 vrf VRF-PUBLIC<br>
>  description Loopback0<br>
>  ip address <a href="http://1.1.1.1/32" rel="noreferrer" target="_blank">1.1.1.1/32</a><br>
> !<br>
> interface enp2s0f0 vrf VRF-PUBLIC<br>
>  description P2P01<br>
>  ip address <a href="http://2.2.2.2/30" rel="noreferrer" target="_blank">2.2.2.2/30</a><br>
>  ip ospf network point-to-point<br>
> !<br>
> interface enp2s0f2 vrf VRF-PUBLIC<br>
>  description P2P02<br>
>  ip address <a href="http://3.3.3.3/30" rel="noreferrer" target="_blank">3.3.3.3/30</a><br>
>  ip ospf network point-to-point<br>
> !<br>
> mpls ldp<br>
>  router-id 1.1.1.1<br>
>  dual-stack cisco-interop<br>
>  !<br>
>  address-family ipv4<br>
>   discovery transport-address 1.1.1.1<br>
>   label local advertise explicit-null<br>
>   !<br>
>   interface enp2s0f0<br>
>   interface enp2s0f1<br>
>   !<br>
>  exit-address-family<br>
>  !<br>
> !<br>
><br>
><br>
> The FRR version is 6.0.2 and I need to use MPLS on two interfaces (enp2s0f0 and enp2s0f1).<br>
><br>
> thank you for your help<br>
><br>
> regards<br>
><br>
> Alessio<br>
> _______________________________________________<br>
> frog mailing list<br>
> <a href="mailto:frog@lists.frrouting.org" target="_blank">frog@lists.frrouting.org</a><br>
> <a href="https://lists.frrouting.org/listinfo/frog" rel="noreferrer" target="_blank">https://lists.frrouting.org/listinfo/frog</a><br>
<br>
<br>
<br>
--<br>
Renato Westphal<br>
</blockquote></div>