So basically you want to have eth1 and eth2 switched as ISP "lan" and add to that a dedicated SSID on wlan. On the other hand you'd like to have eth3, eth4 and eth5 switched as LAN and add to that its own SSID?
Prior to reconfiguration, I suggest you to
- make backup of device and copy backup file off device
- export configuration executing /export file=myexport.txt and copy text export file off device
- upgrade device to latest long-term (6.46.8 at this moment, stay away from "stable" version 6.48 as it seems to have a few problems), including routerboot (execute /system routerboard upgrade after it reboots to ROS 6.46.8). This will give you the latest-and-greatest default setup to work with (you'll need it).
Something like this ... in two parts.
Part 1 - configuration fo ethernet, VLANs. Easy to lock self out during this part:
# ISP: VLAN 100
# LAN: VLAN 200
/interface bridge
add name=bridge
/interface bridge port
add bridge=bridge interface=ether1
add bridge=bridge interface=ether2
add bridge=bridge interface=ether3
add bridge=bridge interface=ether4
add bridge=bridge interface=ether5
/interface bridge port
add bridge=bridge interface=wlan1
add bridge=bridge interface=wlan2
/interface vlan
add interface=bridge name=vlan_ISP vlan-id=100
add interface=bridge name=vlan_LAN vlan-id=200
/interface list
add name=WAN
add name=LAN
/interface list member
add list=WAN interface=ether1 # not really needed, but just in case
add list=WAN interface=ether2 # not really needed, but just in case
add list=WAN interface=vlan-ISP
add list=LAN interface=ether3 # not really needed, but just in case
add list=LAN interface=ether4 # not really needed, but just in case
add list=LAN interface=ether5 # not really needed, but just in case
add list=LAN interface=vlan-LAN
#
# Secure management access via MAC
#
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
/interface ethernet switch port
set 0 default-vlan-id=100 vlan-header=always-strip vlan-mode=secure # eth1
set 1 default-vlan-id=100 vlan-header=always-strip vlan-mode=secure # eth2
# special warning for the next 3 lines!!!!! (see text below)
set 2 default-vlan-id=200 vlan-header=always-strip vlan-mode=secure # eth3
set 3 default-vlan-id=200 vlan-header=always-strip vlan-mode=secure # eth4
set 4 default-vlan-id=200 vlan-header=always-strip vlan-mode=secure # eth5
/interface ethernet switch vlan
add switch=switch1 independent-learning=yes ports=switch1-cpu,ether1,ether2 vlan-id=100
add switch=switch1 independent-learning=yes ports=switch1-cpu,ether3,ether4,ether5 vlan-id=200
# special warning for the next line!!!!! (see text below)
/interface ethernet switch port
set 5 vlan-mode=secure # switch1-cpu
Warning about setting vlan-mode on switch1-cpu port and on LAN-to-be ports: you'll probably loose access to the device at this point, but you should be able to re-connect. If not, you'll have to perform factory reset using the button procedure.
Part 2 - configuration of the rest (wireless, IP, ...):
/interface wireless security-profiles
# set up two security profiles, one for LAN wifi and the other for ISP wifi
/interface wireless
set [ find name=wlan1 ] security-profile=<LAN security profile> ssid=<LAN SSID> vlan-mode=use-tag vlan-id=200 # add other wireless settings
add master-interface=wlan1 name=wlan2 security-profile=<ISP security profile> ssid=<ISP SSID> vlan-mode=use-tag vlan-id=100 # optionally add other settings for virtual AP
/interface list member
add list=LAN interface=wlan1 # probably not needed, but just in case
add list=WAN interface=wlan2 # probably not needed, but just in case
# add WAN configuration, e.g. DHCP client, to vlan-ISP interface
/ip dhcp-client interface=vlan-ISP
# add LAN configuration, e.g. static IP address, DHCP server, to vlan-LAN interface
/ip address
add address=192.168.88.1/24 interface=vlan-LAN network=192.168.88.0
/ip pool
add name=LAN ranges=192.168.88.100-192.168.88.254
/ip dhcp-server
add address-pool=LAN interface=vlan-LAN name=dhcp-LAN
/ip dhcp-server network
# without setting option dns-server DHCP server will serve addresses obtained by DHCP client run on WAN interface
add address=192.168.88.0/24 gateway=192.168.88.1 netmask=24
#
# IMPORTANT!
#
# Copy-paste default ip firewall filter rules, as printed out by command
# /system default-configuration print
# (and scroll a bit down)
#
As the config is intended for the unit without any config (not even factory default), you'll have to use winbox and connect using MAC connectivity. Use one of ether ports 3, 4 or 5 (those intended for LAN at the end of config exercise). Still you'll most probably loose connectivity at some point. If you can re-connect, then proceed with config. If you can't reconnect, try using one of other LAN-to-be ports. If you still can not reconnect, then you'll have to reset device config and we'll have to think about some other way of configuring it.