Community discussions

MikroTik App
 
mkalendarev
just joined
Topic Author
Posts: 10
Joined: Wed Oct 25, 2023 10:16 pm

VRF on mgmt interface

Mon Jan 27, 2025 8:03 pm

Hi, I have a CRS354-48G-4S+2Q+ running RouterOS 7.16.2

I'm trying to put the management interface (ether49) on a separate VRF, but I cannot get the VRF commands to work. My configuration is below, any suggestions?
/interface bridge
add name=mgmt port-cost-mode=short vlan-filtering=yes

/interface bridge port
add bridge=mgmt interface=ether49

/ip vrf
add interfaces=ether49 name=mgmt

/ip address
add address=10.0.0.2/21 interface=ether49 network=10.0.0.0

/ip route
add disabled=no dst-address=0.0.0.0/0 gateway=10.0.0.1@mgmt routing-table=mgmt
 
User avatar
panisk0
Member Candidate
Member Candidate
Posts: 149
Joined: Sun Mar 06, 2016 10:36 pm
Location: Cracow
Contact:

Re: VRF on mgmt interface

Mon Jan 27, 2025 9:16 pm

remove port ether49 from bridge
 
mkalendarev
just joined
Topic Author
Posts: 10
Joined: Wed Oct 25, 2023 10:16 pm

Re: VRF on mgmt interface

Mon Jan 27, 2025 10:23 pm

that worked, thank you