Esto debe servirte es una enrrutacion básica de los multiportales , solo sigue los pasos
# Generador automatico de portales multiples
#Instrucciones de uso
#Debe de reiniciar el mikrotik de fabrica con la opcion "No default configuration"
#Debe tener previamente el IP del Gateway de su parque
#Rellenar valores segun convenga
#Cantidad de portales a generar
:global CantPort 20;
#Como desea que se llamen sus Addresslist y marcas de ruteo, Ej "Interfaz" "Portal" "Salida" etc
:global defInterfaz "Salida";
#Dominio Ip que desea Clase C con su ip inicial de dhcp, tenga en cuenta que el .1 siempre es para el router y debe de dejar unos ips libres para sus equipos, Ej "192.168.0." "192.168.100." etc
:global domIp "192.168.100.";
:global ipInicial "0";
:global ipFinal "0";
#Nombre que le dara a su red
:global nombreRed "android-dd50a0183ded8281";
#Gateway que nos dio ETECSA
:global gateW "10.200.29.1";
:for i from=1 to=$CantPort do={/interface wireless add comment=("$defInterfaz"."$i") disabled=no master-interface=wlan1 mode=station multicast-helper=full name=[("wlan".($i+1))] ssid=WIFI_ETECSA wds-cost-range=0 wds-default-cost=0 wmm-support=enabled wps-mode=disabled};
/interface wireless set [ find default-name=wlan1 ] adaptive-noise-immunity=client-mode ampdu-priorities=0,1,2,3,4,5,6,7 antenna-gain=24 band=5ghz-a/n basic-rates-a/g=6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps comment=Fisica country="united states2" disabled=no disconnect-timeout=10s frequency=auto frequency-mode=superchannel ht-basic-mcs=mcs-3,mcs-4,mcs-5 ht-supported-mcs=mcs-3,mcs-4,mcs-5 mac-address=20:F1:7C:7E:BB:10 mode=station-pseudobridge multicast-helper=full radio-name="android-dd50a0183ded8281 " rate-set=configured scan-list=5500-5560 ssid=WIFI_ETECSA station-roaming=disabled wireless-protocol=nv2-nstreme-802.11 wmm-support=enabled wps-mode=disabled;
/ip address add address=($domIp."1/24") interface=ether1 network=($domIp."0");
/interface ethernet set [ find default-name=ether1 ] speed=100Mbps;
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
add exclude=dynamic name=discover
add name=mactel
add name=mac-winbox
/interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik
/ip pool add name=dhcp ranges=($domIp.$ipInicial."-".$domIp.$ipFinal);
/ip dhcp-server add add-arp=yes address-pool=dhcp disabled=no interface=ether1 name=$nombreRed
:for i from=1 to=$CantPort do={/ip dhcp-client add add-default-route=no comment=("$defInterfaz"."$i") dhcp-options=hostname,clientid disabled=no interface=[("wlan".($i+1))] use-peer-dns=no use-peer-ntp=no};
/ip dhcp-server network add address=($domIp."0/24") comment=defconf dns-server=($domIp."1") gateway=($domIp."1") netmask=24;
/ip dns set allow-remote-requests=yes cache-max-ttl=1d max-concurrent-tcp-sessions=70 servers=181.225.231.120,181.225.231.110,181.225.233.40,181.225.233.30;
:for i from=1 to=$CantPort do={/ip firewall mangle add action=mark-routing chain=prerouting comment=("$defInterfaz"."$i") new-routing-mark=("$defInterfaz"."$i") passthrough=yes src-address-list=("$defInterfaz"."$i")}
/ip firewall nat add action=redirect chain=dstnat comment="Chache DNS" dst-port=53 in-interface=ether1 protocol=udp to-ports=53;
:for i from=1 to=$CantPort do={/ip firewall nat add action=masquerade chain=srcnat out-interface=[("wlan".($i+1))] routing-mark=("$defInterfaz"."$i") src-address-list=("$defInterfaz"."$i") comment=("$defInterfaz"."$i")};
:for i from=1 to=$CantPort do={/ip route add distance=1 gateway=($gateW."%".[("wlan".($i+1))]) routing-mark=("$defInterfaz"."$i")};
/system clock set time-zone-name=America/Havana;
/system identity set name=20:F1:7C:7E:BC:70;
/system ntp client set enabled=yes primary-ntp=208.81.1.244 secondary-ntp=199.223.248.100 server-dns-names="0.south-america.pool.ntp.org,1.south-america.pool.ntp.org,2.south-america.pool.ntp.org,3.south-america.pool.ntp.org";
/system scheduler add interval=1m name="Reinicio wlan1" on-event="/ip dhcp-client renew [find interfaces=wlan1]" policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-time=startup;
/system reboot;