Hello,
I'm setting up a test lab to look at changing the WISP for which I am an engineer from Cisco to Mikrotik. I'm trying to figure out how to make vlans work in RouterOS and have been running into a lot of problems. Currently all I'm trying to do is set up a vlan interface, assign an ip address to it, and be able to ping that interface from an untagged port. For reference, this is what the commands would look like for a Cisco switch:
int vlan9
ip address 10.1.1.1 255.255.255.0
ether9
switchport access vlan 9
Here is what I tried with Mikrotik:
Hardware: CRS326-24G-2S+RM
Firmware: RouterOS 6.44.6 (Long Term)
I logged into the router with the console port and removed the default configuration. I then used the configuration example from https://wiki.mikrotik.com/wiki/Manual:B ... _switching and just changed the ports and vlans:
/interface bridge
add name=bridge1
/interface bridge port
add bridge=bridge1 interface=ether9 hw=yes pvid=9
/interface bridge vlan
add bridge=bridge1 untagged=ether9 vlan-ids=9
/interface vlan
add interface=bridge1 vlan-id=9 name=MGMT
/ip address
add address=10.1.1.1/24 interface=MGMT
/interface bridge
set bridge1 vlan-filtering=yes
It's my understanding that "add bridge=bridge1 untagged=ether9 vlan-ids=9" isn't super necessary because setting the pvid on the port dynamically adds the port as untagged on the vlan, but I kept it because it was in the example.
I set the ip address on a computer to 10.1.1.2/24, plugged it into port 9, and was unable to ping 10.1.1.1. I'm assuming there's something simple here that I'm missing. Any help would be appreciated.
Thank you,
Charles