Hello Everyone,
In version 7.21 is there are way to insert default gateway to VRF from main table ?
I understand idea of BGP or OSPF, but how to do it. Tried MACVLAN on bridge, but traffic not local destination can’t communicate.
Hello Everyone,
In version 7.21 is there are way to insert default gateway to VRF from main table ?
I understand idea of BGP or OSPF, but how to do it. Tried MACVLAN on bridge, but traffic not local destination can’t communicate.
OK solution for this question , if nobody brave enough.
No BGP or other dynamic routing protocols is need it.
Solution
[volga629@fw-home1] > /ip/route/add dst-address=0.0.0.0/0 gateway=10.23.100.1%WAN-br1 routing-table=customer_vrf_1
[volga629@fw-home1] > /ip/firewall/mangle/add chain=prerouting action=mark-packet new-packet-mark=CUSTOMER_VRF_OUT src-address-list=INTERNET_OUT_ACL dst-address-list
=EXCLUDE_ACL! comment="Allow outbound from VRF"
[volga629@fw-home1] > /ip/firewall/mangle/add chain=prerouting action=mark-routing new-routing-mark=customer_vrf_1 connection-mark=CUSTOMER_VRF_OUT in-interface-lis
t=WAN comment="Force reply to VRF"
Sometimes one brave man is enough.