How to implement multi ssid from MT into Android smartphone ?

How to implement multi ssid from MT into Android smartphone ?

Let me know if multi ssid feature, supported by Mikrotik router and other AP/router
is software or hardware based feature
and can be implemented into Android smartphone
to let Android smartphone serve as multi ssid AP via tethering

let me know your opinion
since Stackoverflow is not active about such feature in Android smartphone

I have never heard of any smartphone being able to function as two separate SSIDs when operating as an access point.

And what does this have to do with Mikrotik?

Im not sure of the term Multi SSID but if it is just as it says and you would like to get more than one SSID broadcasting from a single radio it is relatively easy :slight_smile:
Have a look at the Wiki here: https://wiki.mikrotik.com/wiki/Manual:Interface/Wireless#Virtual_interfaces
Note that the you will not be able to change the hardware options for the Virtual interface since there is only one radio, all of the hardware settings will be inherited from the Parent interface.

Are you able to talk a bit more about what you are trying to achieve, not so much what configuration you would like just more about what functionality you would like out of the configuration?

Thank you @AidanAus

Virtual Access Point VAP is exactly the right term

since the number of boards offered by MT may be +50, I would like to know which board to buy to support VAP feature

Integrated wireless interface frequency table Board name Wireless interfaces Frequency range [MHz] Supported channel widths [Mhz]
...

There is another term: Hotspot, giving AP access to multi users

I have got 2 wireless sim card based routers from Orange : Airbox 2 Plus 4G and one another 3G, no name printed on

and would like to test tethering enabled on smartphone
to share Internet access with MT router via 1st Virtual Access Point set on MT
and have Internet enabled via 2nd VAP since not supported by Android smartphone
and have PC connected to MT router to get Internet access via ethernet

--
just c&p from

for the records

==
Now I would like to learn how to script the creation and removal of new virtual AP
to get what I have planned to build:

To have virtual AP to switch from Home to Office at office hours
and back from Office to Home while I am back at home,
basing on time event ( scheduler)

If virtual AP is software based solution so there is a chance to have it implement into Android smartphone one day
to have smartphone to share Internet access via tethering to MT router (wireless interface) to get Internet acess on PC connected to
MT router and using Internet on smartphone at the same time via 2nd virtual AP

Implementing geolocation feature by GPS into MT router may not be easy, so I would like to implement Proximity feature
to run Home script at home and Office script at office, to enable "Home" ssid / disable "Office" sssid and vice versa
Let me know your opinion
"
To create a new virtual-ap: /interface> wireless add mode=ap-bridge master-interface=wlan1 ssid=guests security-profile=guests (such security profile first needs to be created


Virtual interfaces
VirtualAP

It is possible to create virtual access points using the add command in the wireless menu. You must specify the master-interface which the virtual interface will belong to. If "master-interface" mode is "station", Virtual AP will work only when "master-interface" will be active. The Virtual AP can have it's own SSID and Security Profile.

Virtual AP interface will only work if master interface is in ap-bridge, bridge, station or wds-slave mode. It works only with 802.11 protocol, Nv2 is not supported.

This feature is useful for separating access for different types of users. You can assign different bandwidth levels and passwords and instruct users to connect to the specific virtual network, it will appear to wireless clients as a different SSID or a different device. For example, when using QuickSet to configure a guest network, the VirtualAP feature is used in the background.

To create a new virtual-ap: /interface> wireless add mode=ap-bridge master-interface=wlan1 ssid=guests security-profile=guests (such security profile first needs to be created)

Note: you can create up to 127 virtual interfaces per physical interface. It is not recommended to create more 30, since the performance will start to degrade.
Virtual Clients
Icon-note.png

Note: Starting from 6.35 only in wireless-rep or wireless-cm2 package


It is also possible to create virtual clients and have both an AP and a Client on the same physical interface. This allows to make a repeater setup with only using one hardware card. The process of configuration is exacly the same as above, but use mode station:

To create a new virtual-client: /interface> wireless add mode=station master-interface=wlan1 ssid=where-to-connect security-profile=your-profile (such security profile first needs to be created)
Icon-note.png

Note: Virtual interfaces will always use the Master interface wireless frequency. If the Master interface has 'auto' frequency enabled it will use the wireless frequency that the Master interface selected.

===
Using Your Smartphone as a Mobile Hotspot

If you’re in a location that doesn’t have a hotspot and you want to connect your laptop to the Internet, you can use your phone as a mobile Wi-Fi hotspot through a process called “tethering.” This allows your laptop to access the Internet and share your smartphone’s data connection.

While the set-up steps vary depending on your smartphone and your Internet service provider, you can usually find the instructions in your phone’s Settings or Manage Connections menu. For security, you’ll want to make sure that you use a Wi-Fi password so that nearby Internet users can’t access your phone or laptop. Also, be aware that tethering your laptop to your phone will use your phone’s data allowance; so be sure to keep an eye on your usage to avoid any overage fees.

Now that you’re connected, that’s it, right? Well, not exactly. You should be aware that while using Wi-Fi hotspots is a convenient way to stay connected with work, family, and friends. Hotspot connectivity also presents some security risks.
https://www.intel.com/content/www/us/en/tech-tips-and-tricks/what-is-a-hotspot.html

A hotspot is a physical location where people may obtain Internet access, typically using Wi-Fi technology, via a wireless local-area network (WLAN) using a router connected to an Internet service provider.

https://en.wikipedia.org/wiki/Hotspot_(Wi-Fi)

follow-up

"Virtual Access Point is a multiplexed installation of a single physical Access Point (AP) so that it presents itself as multiple discrete Access Points. To wireless LAN clients, each Virtual AP appears to be an independent physical AP, when in actuality there is only a single physical AP.
Overview of Wireless Virtual Access Point (VAP) | SonicWall
www.sonicwall.com/support/knowledge-base/overview-of-wireless-virtual-access-point-vap/170505810128245/
www.sonicwall.com/support/knowledge-base/overview-of-wireless-virtual-acces

https://www.bing.com/search?q=virtual+access+point&qs=MT&pq=virtual+access+&sc=8-15

follow-up 2

(for the records)

"What Is a Virtual Access Point?

Virtual Access Point is a multiplexed installation of a single physical Access Point (AP) so that it presents itself as multiple discrete Access Points. To wireless LAN clients, each Virtual AP appears to be an independent physical AP, when in actuality there is only a single physical AP.
Before the evolution of the Virtual AP feature support, wireless networks were relegated to a One-to-One relationship between physical Access Points and wireless network security characteristics, such as authentication and encryption.
In other words, an Access Point providing WPA-PSK security could not simultaneously offer Open or WPA-EAP connectivity to clients, and if the latter were required, they would had to have been provided by a separate, distinctly configured Access Points. This forced WLAN network administrators to find a solution to scale their existing wireless LAN infrastructure to provide differentiated levels of service.
With the Virtual APs (VAP) feature, multiple VAPs can exist within a single physical AP in compliance with the IEEE 802.11 standard for the Media Access Control (MAC) protocol layer that includes a unique Basic Service Set Identifier (BSSID) and Service Set Identified (SSID). This allows for segmenting wireless network services within a single radio frequency footprint of a single physical access point device.
VAPs allow the network administrator to control wireless user access and security settings by setting up multiple custom configurations on a single physical interface. Each of these custom configurations acts as a separate (virtual) access point, can be grouped and enforced on a single internal wireless radio.

https://www.sonicwall.com/support/knowledge-base/overview-of-wireless-virtual-access-point-vap/170505810128245/#:~:text=Virtual%20Access%20Point%20is%20a%20multiplexed%20installation%20of,actuality%20there%20is%20only%20a%20single%20physical%20AP.

follow-up 3
(for the records)

"
What is a Virtual Access Point?

K. Wascher
Last Modified Date: January 28, 2022

Virtual Access Point, also known as Virtual AP, is computer software that essentially uses a laptop or Local Area Network-connected (LAN-connected) PC to create an access point for other computers or electronic devices. This allows them to connect to the Internet using a Wi-Fi signal. Virtual Access Point sends out a wireless signal so that any person close enough to it can browse the Internet.

https://www.easytechjunkie.com/what-is-a-virtual-access-point.htm

I have no idea what you keep blathering about, any RoS wifi device can provide VWLANs.

@anav
what is easy to you, may take more time for a beginner like me to master :wink:

ROS network stays for what ?

https://risc.readthedocs.io/2-ros-network-wifi-ethernet.html

Egads…
How bout you start page one!!
https://help.mikrotik.com/docs/display/ROS/Getting+started

Read the text at the very part of the page.

After some initial digestion and progress you can also read some of these…
https://forum.mikrotik.com/viewtopic.php?t=182373

@anav

RouterOS is abbreviated by MT to ROS
so since you mentioned RoS, it was not clear what did you mean

another use of ROS outside of MT

https://risc.readthedocs.io/2-ros-network-wifi-ethernet.html

Setting Up a ROS network: WiFi + Ethernet

--
ROS - Robot Operation Software

@anav

BTW
Cold spot in Canada: -45.5 °C-49.9 °F Pelly Ranch (Fort Selkirk), YT
https://weather.gc.ca/canada_e.html

keep warm

I would wait until MT has wifi6 going before investing heavily. but if you want to play around with VWLANs. you have two choices
a. get a cheap MT wifi device
b. Run CHR on Vm workstation or the like and play with it virtually LOL

Since you’re posting on Mikrotik forum, most of at least partially sane persons will assume you’re talking about RouterOS, not about some android software (pun intended).

Regarding the rest of posts you wrote in this thread: I’ve got a strong impression you’re trolling big time. Perhaps you’re not, but if some honest ROS newbies come around with questions, they usually don’t start to copy-paste parts of generic blabla loosely related to question asked in series of posts.

While the simple answer is any Mikrotik with Wi-Fi can have virtual SSIDs: you set “ap bridge” on the hardware/default ones (e.g. wlan1), then create as many “virtual” interface as you need (e.g. + in Wireless section of winbox).

That’s the nice thing about “MT” (Mikrotik) and ROS (“RouterOS”), you have a lot of tools to construct this however you’d like. Nearly all MT device support the same features – while running some of them on a $29 device be a bad idea/not work. While the hardware limit some the options (e.g. you can’t run "ac"on device that doesn’t include 802.11ac as wireless protocol in MT website’s hardware description. While at some point you could have “too many” virtual APs (each SSID add more 802.11 wireless overhead).

The old wiki is actually more helpful on virtual APs: https://wiki.mikrotik.com/wiki/Manual:Interface/Wireless#VirtualAP

So @anav is right here… no time for subtleties in that kind of cold. So you kinda need to understand bridging/VLANs/etc to use more than one SSID. @anav is also right, if another brand of AP already lists what you’re looking for with your Android, that be a lost less time.

Now difference on the Mikrotik is you’d likely be able to configure as many virtual SSID as you need with a lot of control over the routing/bridging behind them. The later part is harder than just broadcasting another SSID for an Android to use – e.g. while I say “the simple answer”, the reality is you need to do more after you get the SSID to connect from Android so it goes to the right VLAN/WAN/etc on the MT/ROS side.

Confusing discussion, and be carefull when combining definitions from different vendors.
A Virtual Access Point for Fortinet is one virtual AP , that is using multiple physical AP to distribute the connectivity. (Clients will see one VAP, and not be aware of the many physical AP)
Here I think OP means to use one physical AP with multiple SSID. The opposite of the above definition.

How to implement multi ssid from MT into Android smartphone ?

Let me know if multi ssid feature, supported by Mikrotik router and other AP/router
is software or hardware based feature
and can be implemented into Android smartphone
to let Android smartphone serve as multi ssid AP via tethering

let me know your opinion

Mikrotik RouterOS supports multiple SSID on every radio.
Multi SSID is a software feature. Most Home AP have 4 SSID as possibility. RouterOS has 127 in theory.
RouterOS cannot run on an Android smartphone.
I know no software app for a smartphone that will run multiple SSID. The “tethering” option of Android and IOS is for just one SSID.
Smartphones have no ethernet connector, at least not the ones I know. The only known connection between a Smartphone in thethering and a MT router is by using wifi.

This can easily be done. It is even often used for extending or re-distributing other wifi networks. These wifi networks can be public, private, or even just a thethering mobile device. (MiFi, Smartphone, PC, …). However wifi has one major shortcoming: the wifi link will not handle multiple clients over one connection very well. (Coming back on this *)

How to connect the MT RouterOS to the smartphone? This is done by defining the WLAN as “station” mode, that can connect to any wifi with the needed credentials.
The connection is then bridged or routed to a second WLAN that functions as AP. That second WLAN can be a second radio (eg 2.4 and 5 GHz) or the same radio as Virtual Wireless interface.
If using the same radio, then the channel and protocol parameters are set by the “station” connection already. But all the rest can be set: SSID, security profile and some parameters.
By adding more Virtual interfaces, more SSID, and more security profiles can be added. The SSID are independent. E.G.: Some SSID can be active some hours of the day only.
The MT RouterOS can run Hotspot for some SSID if that is of any interest. The ethernet ports of the MT RouterOS router can also be used to connect.

(*) Now about the wifi limitation.

Either “station pseudobridge” is used. This configuration is also known as “Repeater setup”. It tries to deliver the service for multiple clients by maintaining a IPv4 table of the clients. However all clients will connect with the MAC address of the MT RouterOS router , and that can confuse many filters, services and Hotspots, unless they use the IP-address not the MAC-address as identifier. This is the mode most off-the-shelve “range extenders” use.

The other option is to use the MT Router as Home Gateway. It will connect as “station”. But it will start its own network(s) with all possible options, and connect to the tethering smartphone like a Home Gateway with firewall and NAT for the WAN (wifi station). The networks of the MT router will be masqueraded and protected, and appear as one MAC-address and one IP address to the tethered connection.

A mAP Lite is my companion device, working together with my smartphone, but also connectable to public wifi or my home network.

@bpwl
"Smartphones have no ethernet connector, at least not the ones I know.

usb - Can I connect my android phone to the LAN, via an …
https://android.stackexchange.com/questions/103506

24.03.2015 · You’ll need a USB-OTG adapter, or equivalently for newer devices with USB-C ports, a USB-C to USB-A adapter, to be able to physically connect a USB Ethernet adapter to your phone. It’ll only work, though, if the phone has a driver for the Ethernet adapter you’re using. That may vary from phone to phone.

https://www.bing.com/images/search?q=smartphone+usb+ethernet&form=HDRSC2&first=1&tsc=ImageBasicHover

Well we used to do that a long time ago with a PC and a mobile phone (Nokia GSM). The GSM/mobile was a 2G/3G network adaptor.
We could use bluetooth or USB to connect the GSM as data interface to e.g. the GPRS network.

I have been using OTG USB on tablets with Micro-B USB to read data from photo cameras, (“Micro-B USB” to “USB female A” OTG cable or adaptor) but never tried on a smartphone

I don’t know what devices are recognised by a MT router.
On the full A size USB connector at least USB memory sticks, USB LTE modems, USB disks etc can be used.
It accepts a serial connection (Mikrotik Woobm USB) , or a serial wired interface as console.
The smaller Micro-B connectors (hAP Lite, mAP Lite) are for powering the router, but also accept the MT Powerline adaptors.

No idea what a smartphone will allow. USB port gives access to USB debugging. It could be set as storage, but what else?
If a USB-ethernet adaptor would work then it can be connected via ethernet avoiding the wifi address limitation.

When I connect my PC to the smartphone, then the smartphone asks what I want. This is not the smartphone as USB controller, so no OTG cable used.
“File Transfer - USB thethering - MIDI - PTP - no data”
USB tethering gives me access to Internet through the network of the smartphone, even if this is a wifi connection to my home wifi network.
So for the PC (Windws10) it works. RouterOS is Linux based, who knows if the drivers are installed or not.
OTG would only be needed if the Smartphone is controller, not if the MT router is controller. (hAP ac Lite, hAP ac2, etc etc)

Short small check on USB smartphone connection.

  1. Connecting mAP Lite (Micro-A connector) to a laptop gives no software pop-up nor any USB device in the Windows Device management
    → Probably the USB Powerline adaptor is some OTG cable, to make the mAP Lite react. (Just guessing). Now the mAP Lite is just powered.
    .
    Klembord-3.jpg
    .
  2. Connecting the smartphone to a “hAP ac Lite” with a large type A USB connector, and setting the smartphone on “USB tethering” brings the smartphone in the USB device list, but there is no interface connected with that USB device (like the predefined PWRLine ethernet interface in the mAP Lite for the USB connector)

As explained before, this works with the laptop. Windows creates an extra network interface.

I’m stuck. No idea how to get further with this …
.
.
Klembord-2.jpg