just add a vlan-interface and choose your ethernet-interface as source-interface
in case you need this vlan on multiple ports, you have to interconnect the vlan-interface(s) with a bridge
... (there are more options if a hardware-switch in your plattform is involved ... but above option should work on every MTik-device ...
.
Thank You Floaty,
this is my config:
/interface bridge
add fast-forward=no name=bridge1
/interface ethernet
set [ find default-name=ether1 ] speed=100Mbps
/interface vlan
add interface=ether1 name=vlan10 vlan-id=10
/interface list
add exclude=dynamic name=discover
/接口无线安全性配置文件
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk group-ciphers=\
tkip,aes-ccm mode=dynamic-keys supplicant-identity=MikroTik \
unicast-ciphers=tkip,aes-ccm wpa-pre-shared-key=xxxxxx \
wpa2-pre-shared-key=xxxxxxx
add authentication-types=wpa-psk,wpa2-psk eap-methods="" group-ciphers=\
tkip,aes-ccm management-protection=allowed mode=dynamic-keys name=\
"Security xxxxxxx" supplicant-identity="" unicast-ciphers=tkip,aes-ccm \
wpa-pre-shared-key=xxxxxxx wpa2-pre-shared-key=xxxxxxxx
/interface wireless
set [ find default-name=wlan1 ] band=5ghz-a/n channel-width=20/40mhz-Ce \
country=no_country_set disabled=no frequency-mode=manual-txpower mode=\
station-pseudobridge multicast-helper=disabled security-profile=\
"Security xxxxxx" ssid=xxxxxxxx vlan-id=10 wireless-protocol=802.11 \
wps-mode=disabled
/snmp community
set [ find default=yes ] addresses=0.0.0.0/0
/user group
set full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,pas\
sword,web,sniff,sensitive,api,romon,dude,tikapp"
/interface bridge port
add bridge=bridge1 interface=wlan1
add bridge=bridge1 hw=no interface=ether1
/ip neighbor discovery-settings
set discover-interface-list=discover
/interface list member
add interface=ether1 list=discover
add interface=bridge1 list=discover
/ip address
add address=10.10.10.122/24 interface=bridge1 network=10.10.10.0
/ip dhcp-client
add interface=bridge1
/ip dns
set servers=10.10.10.11,9.9.9.9
/ip route
add distance=1 gateway=10.10.10.1
but I still cannot "ping" the SXT....