The situation I'm working with, is an open access network. The network operator gets it's Internet access from the participating providers. Each provider needs to be in it's own VRF, leaving the default VRF for the network operator.
Here's my initial configuration, which is working very well for the providers and their customers:
Code: Select all
/interface ethernet
set [ find default-name=ether1 ] comment="Access Network"
set [ find default-name=ether7 ] comment="ISP.200 WAN"
set [ find default-name=ether8 ] comment="ISP.100 WAN"
/interface vlan
add interface=ether1 name=ether1.100 vlan-id=100 comment="ISP.100 Customers"
add interface=ether1 name=ether1.200 vlan-id=200 comment="ISP.200 Customers"
/ip vrf
add interfaces=ether8,ether1.100 name=VRF.100
add interfaces=ether7,ether1.200 name=VRF.200
/ip address
add address=172.23.251.2/30 interface=ether8 comment="ISP.100 Upstream"
add address=172.23.252.2/30 interface=ether7 comment="ISP.200 Upstream"
add address=100.99.100.1/22 interface=ether1.100 comment="ISP.100 Downstream"
add address=100.99.200.1/22 interface=ether1.200 comment="ISP.200 Downstream"
/ip route
add gateway=172.23.251.1@VRF.100 routing-table=VRF.100 vrf-interface=ether8
add gateway=172.23.252.1@VRF.200 routing-table=VRF.200 vrf-interface=ether7
The workaround I've found is to physically loop back to the router on another interface.
Code: Select all
/interface ethernet
set [ find default-name=ether2 ] comment="Loopback for Internet Access"
/interface vlan
add interface=ether2 name=ether2.100 vlan-id=100
add interface=ether2 name=ether2.200 vlan-id=200
/ip address
add address=100.99.100.2/22 interface=ether2.100
add address=100.99.200.2/22 interface=ether2.200
/ip route
add gateway=100.99.100.1
add gateway=100.99.200.1 distance=10
The absolute MUST is that the network operator have internet access via ALL participating providers.