Hello Simón
I’ve created a lab with his current configuration, it seems that command network 10.180.2.0/24
over the address-family ipv4 isn’t able to install direct connected prefix . however , if we use 'redistribute connected` it works properly.
set vrf name customer protocols bgp address-family ipv4-unicast export vpn
set vrf name customer protocols bgp address-family ipv4-unicast import vpn
set vrf name customer protocols bgp address-family ipv4-unicast label vpn export 'auto'
set vrf name customer protocols bgp address-family ipv4-unicast network 10.180.2.0/24
set vrf name customer protocols bgp address-family ipv4-unicast redistribute connected
set vrf name customer protocols bgp address-family ipv4-unicast rd vpn export '1:2'
set vrf name customer protocols bgp address-family ipv4-unicast route-target vpn export '1:2'
set vrf name customer protocols bgp address-family ipv4-unicast route-target vpn import '1:2'
set vrf name customer protocols bgp neighbor 2.1.1.10 address-family ipv4-unicast nexthop-self
set vrf name customer protocols bgp neighbor 2.1.1.10 address-family ipv4-unicast soft-reconfiguration inbound
set vrf name customer protocols bgp neighbor 2.1.1.10 ebgp-multihop '3'
set vrf name customer protocols bgp neighbor 2.1.1.10 remote-as '64530'
set vrf name customer protocols bgp neighbor 2.1.1.10 update-source 'eth1'
set vrf name customer protocols bgp neighbor 2.1.1.11 address-family ipv4-unicast soft-reconfiguration inbound
set vrf name customer protocols bgp neighbor 2.1.1.11 ebgp-multihop '3'
set vrf name customer protocols bgp neighbor 2.1.1.11 remote-as '64530'
set vrf name customer protocols bgp neighbor 2.1.1.11 update-source 'eth1'
set vrf name customer protocols bgp parameters log-neighbor-changes
set vrf name customer protocols bgp parameters router-id '10.180.2.2'
now we can see that it can install prefix :
vyos@cust-pe1:~$ show bgp ipv4 vpn 10.180.2.0/24
BGP routing table entry for 1:2:10.180.2.0/24, version 2
not allocated
Paths: (2 available, best #1)
Advertised to non peer-group peers:
1.1.1.1
Local
0.0.0.0 from 0.0.0.0 (10.255.254.2) vrf customer(7) announce-nh-self
Origin incomplete, metric 0, weight 32768, valid, sourced, local, best (First path received)
Extended Community: RT:1:2
Originator: 10.255.254.2
Remote label: 144
Last update: Mon Nov 28 17:22:09 2022
Local
0.0.0.0 (inaccessible) from 0.0.0.0 (10.255.254.2) vrf customer(7) announce-nh-self
Origin IGP, metric 0, weight 32768, invalid, sourced, local
Extended Community: RT:1:2
Originator: 10.255.254.2
Remote label: 144
Last update: Mon Nov 28 16:08:30 2022
vyos@cust-pe1:~$
also,I would suggest that used the command : set protocols bgp neighbor 1.1.1.1 disable-connected-check
here’s the ask on phabricator , I’m not sure that FRR decided this handle.