vlans

I have installed RouterOS on a VM. I would like to assign an interface to a VLAN for example. I have ether1 with ip 192.168.1.1 and I would like to put that on Vlan1. I have done the following but I still see all traffic going through ether1 and nothing through vlan1.

     /interface vlan add name=VLAN1 vlan-id=1 interface=ether1 disabled=no

     /ip address add address=192.168.1.1/24 interface=VLAN1

You need to start at Vlan 2

VLAN 1 is reserved for NO VLAN.

Yep, that’s mainly because by common practice VID 1 is the default vlan on any vlan-aware device.

It happens the same with vlan 10. All traffic still goes through the ether1 and not the vlan.

are you tagging the traffic?