I'm wondering if it would be possible to configure a VRF(s) on a single MT Router? At the moment, I'm using separate VLAN's at the moment to segregate the different networks. However, I'm wanting to try and take a different approach with segregating this traffic and would like to use VRF's for this. I have used VRF's in the Cisco world and thought it would be a good idea to try and use VRF's on my favorite MT router!
At the moment, the issue I seem to be having is how do I get the VRF INTERNET of which is on VLAN 100 to NAT out to the Internet? I have searched Google, Youtube, and MT Forum but I have not had much success trying to set this up on a single MT Router. Is this even possible or am I going about this in a inefficient way? Any assistance with this issue is greatly appreciated.
My configuration is as follows:
Code: Select all
/ip route add distance=1 gateway=188.8.131.52 routing-mark=INTERNET /ip firewall nat add action=masquerade chain=srcnat log=yes log-prefix="internet ###" routing-mark=INTERNET routing-table=INTERNET /ip route vrf add interfaces="VLAN 100 - LAN" route-distinguisher=1:100 routing-mark=INTERNET /ip address add address=192.168.100.1/24 comment="Internet LAN" interface="VLAN 100 - LAN" network=192.168.100.0 add address=184.108.40.206/27 interface=WAN network=220.127.116.11 /interface vlan add comment=Internet LAN interface=ether2 name="VLAN 100 - LAN" vlan-id=100
18.104.22.168 - Default GW (ISP)
22.214.171.124 - WAN Interface
192.168.100.1 - GW
*** Public WAN IP Info has been replaced with dummy PUBLIC IP for security purposes ***
Thanks | Regards,