Community discussions

MikroTik App
 
nghiaht
just joined
Topic Author
Posts: 3
Joined: Mon Nov 04, 2019 11:33 am

Multiple Vlan LAN and Vlan hotspot on one port

Mon Nov 04, 2019 11:44 am

Dear everyone,

I'm using RB750Gr3. I was already configuration hotspot for bridge ports 2-3-4-5 ( I don't configure vlan for hotspot yet). How can configure another vlan for LAN on the same ports 2-3-4-5
Anyone help me. Thanks you so much.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12982
Joined: Thu Mar 03, 2016 10:23 pm

Re: Multiple Vlan LAN and Vlan hotspot on one port

Mon Nov 04, 2019 12:05 pm

How about reading some manual? You can start off with this document.
 
nghiaht
just joined
Topic Author
Posts: 3
Joined: Mon Nov 04, 2019 11:33 am

Re: Multiple Vlan LAN and Vlan hotspot on one port

Tue Nov 05, 2019 5:04 am

How about reading some manual? You can start off with this document.
This document doesn't work for me. I don't know how to configure hotspot to vlan
I have 4 port and 4 hotspot different. I want configure 1 port have 2 vlan, 1vlan for hotspot, 1vlan for LAN. This is my configure about hotspot

/interface bridge
add admin-mac=74:4D:28:A1:AF:85 auto-mac=no comment=defconf name=bridge
add name=bridge1
add name=bridge2
add ingress-filtering=yes name=bridge3 pvid=3 vlan-filtering=yes
/interface vlan
add interface=bridge3 name=vlan1 vlan-id=1
add interface=bridge3 name=vlan2 use-service-tag=yes vlan-id=2
add interface=bridge3 name=vlan3 use-service-tag=yes vlan-id=3
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
add hotspot-address=10.1.0.1 html-directory=flash/delivery login-by=\
mac,http-chap,http-pap name=hsprof1 radius-mac-format=XX-XX-XX-XX-XX-XX \
use-radius=yes
add hotspot-address=10.5.50.1 html-directory=flash/delivery login-by=\
mac,http-chap,http-pap name=hsprof2 use-radius=yes
add hotspot-address=10.1.10.1 html-directory=flash/delivery login-by=\
mac,http-chap,http-pap name=hsprof3 use-radius=yes
add hotspot-address=10.5.60.1 html-directory=flash/delivery login-by=\
mac,http-chap,http-pap name=hsprof4 use-radius=yes
/ip hotspot user profile
set [ find default=yes ] rate-limit=100M/100M shared-users=1000
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
add name=hs-pool-7 ranges=10.1.0.2-10.1.0.254
add name=hs-pool-9 ranges=10.5.50.2-10.5.50.254
add name=pool1 ranges=10.1.10.2-10.1.10.254
add name=pool2 ranges=10.5.60.2-10.5.60.254
add name=vlan10 ranges=192.168.10.2-192.168.10.254
/ip dhcp-server
add address-pool=hs-pool-7 disabled=no interface=bridge name=defconf
add address-pool=hs-pool-9 disabled=no interface=bridge2 lease-time=1h name=\
dhcp1
add address-pool=hs-pool-9 disabled=no interface=bridge1 lease-time=1h name=\
dhcp2
add address-pool=hs-pool-9 disabled=no interface=bridge3 lease-time=1h name=\
dhcp3
add address-pool=hs-pool-9 disabled=no interface=vlan3 lease-time=1h name=dhcp4
/ip hotspot
add address-pool=hs-pool-7 disabled=no interface=bridge name=B8-69-F4-C2-A6-34 \
profile=hsprof1
add address-pool=hs-pool-9 disabled=no interface=bridge1 name=B8-69-F4-C2-A6-35 \
profile=hsprof2
add address-pool=pool1 disabled=no interface=bridge2 name=B8-69-F4-C2-A6-36 \
profile=hsprof3
add address-pool=hs-pool-9 disabled=no interface=ether5 name=B8-69-F4-C2-A6-37 \
profile=hsprof4
/port
set 0 name=serial0
/queue simple
add name=queue1 target=10.1.0.0/24
/queue tree
add max-limit=10M name="All bandwidth" parent=global
/queue type
add kind=pcq name=pcq-download-2M pcq-classifier=dst-address
add kind=pcq name=pcq-upload-256K pcq-classifier=src-address pcq-rate=256k
/queue tree
add max-limit=9M name=Download packet-mark="" parent="All bandwidth" queue=\
pcq-download-2M
add max-limit=9M name=Upload parent="All bandwidth" queue=pcq-upload-256K
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge2 comment=defconf interface=ether4
add bridge=bridge3 comment=defconf interface=ether5 pvid=3
add bridge=bridge comment=defconf interface=*6
 
nghiaht
just joined
Topic Author
Posts: 3
Joined: Mon Nov 04, 2019 11:33 am

Re: Multiple Vlan LAN and Vlan hotspot on one port

Tue Nov 05, 2019 8:43 am

I solved my problem. closed topic. Thanks all so much :)
 
Lebzul
Member Candidate
Member Candidate
Posts: 110
Joined: Wed Feb 21, 2018 12:54 am

Re: Multiple Vlan LAN and Vlan hotspot on one port

Tue Nov 05, 2019 2:31 pm

I solved my problem. closed topic. Thanks all so much :)
Solution then?
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 21918
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Multiple Vlan LAN and Vlan hotspot on one port

Tue Nov 05, 2019 9:48 pm

This is a better vlan document with examples that are useful.
Shouldnt be a problem to do what you asked.........
viewtopic.php?f=13&t=143620

Posting your solution could help others!!!!

Who is online

Users browsing this forum: faxxe, Mosmos and 17 guests