vrf question: vlan interface & routing table.

Hello,

I have an RB3011 on 7.4. I’m looking for some understanding on vrfs/interface assignments & routes. I’m new to configuring things, so this could have a simple explanation.

I have ether4 assigned to vrf “xbox” and eth4.10 (internet) and eth4.99 (lan) as vlan interfaces under ether4. I’d assume they’d inherit the same vrf as there isn’t anyway to set the vrf on vlan interface.

eth4.10 is vlan 10 and has a static/public ip
eth4.99 is vlan 99 and has an static/internal ip.

I added a static default route for eth4.10 under /ip routes as follows:

dst address: 0.0.0.0/0
gateway
vrf interface eth4.10
routing table :“xbox” (since eth4 is in xbox vrf)

If I go back & check it, the route shows “routing table” as “main” rather than xbox.

Any idea wha tis going on ?

It is not clear to me if VRF and ver7 firmware are yet ready for prime time. I think the routing part works but interactions with firewall rules are suspect? Search the forums for more info.

You don’t set the VRF on an interface (ethernet or vlan), you set the interface(s) on the VRF.
You can add a VLAN interface to a VRF without problem.
But as written, VRF is still buggy. When you want some separate routing on a single interface it may be better to use routing rules for now.

THanks all.

I think I’m going to remove vrfs & go back to a single routing table. Didn’t know it was buggy in RouterOS v7.