Hi community,
In lab I wrote a complex configuration with many interfaces and VRFs and containers and so on
The relevant part is
…
set container registry 10.214.1.254:5000 authentication password ‘HIDDEN’
set container registry 10.214.1.254:5000 authentication username ‘HIDDEN’
set container registry 10.214.1.254:5000 insecure
set firewall ipv4 input filter default-action ‘accept’
set interfaces ethernet eth0 address ‘10.214.1.248/24’
set interfaces ethernet eth0 vrf ‘VRF_MGMT’
…
set nat destination rule 10 description ‘forward ports 80+443 to container’
set nat destination rule 10 destination port ‘80,443’
set nat destination rule 10 inbound-interface name ‘eth0’
set nat destination rule 10 protocol ‘tcp’
set nat destination rule 10 translation address ‘172.34.56.2’
…
set service ntp server pool.ntp.org pool
set service ntp vrf ‘VRF_MGMT’
set service ssh access-control allow user ‘vyos’
set service ssh dynamic-protection
set service ssh port ‘22’
set service ssh vrf ‘VRF_MGMT’
set system config-management commit-archive location ‘http://10.214.1.254:4444/backupvyos’
…
set vrf name VRF_MGMT protocols static route 0.0.0.0/0 next-hop 10.214.1.1
set vrf name VRF_MGMT table ‘100’
…
If interface eth0 is defined out of any VRF both config-management and container-registry and nat-destination are working well (obviously).
But as I added the interface to a VRF they broke!
I cannot find any vrf option for none of them so my simple question is:
**how should I make them work ? what am I missing ?**
Any advice (or workaround) is well-accepted … except “remove the vrf” ![]()
Thank you.