Multi-SSID/VLAN/Portal

Multiple LAN Hotspot

This sample scenario represents an HSG deployment for a large hotspot network, where you broadcast multiple SSID and require each SSID to offer a differentiated user experience with a unique portal per SSID (eg. each SSID mapping to its own VLAN).

  • Can use any type of Access Point at LAN side
  • Have dedicated management VLAN for AP management addressing (VLAN1)
  • Multiple SSID and each SSID maps to its own specific VLAN
  • Each SSID/VLAN has its unique landing page. unique experience per SSID

Common use cases

Hotels | Shopping malls | Tourism places | Airports, stadiums, etc.

Deployment of Multi SSID, VLAN, and Portal Using UI

Prerequisite
  1. Upgrade the Hotspot Gateway box firmware version 20210213-2300. See link Upgrade Firmware
  2. Connect the WAN Interface of HSG to ISP device (ONT or Modem)
    • Info The WAN port (eth0) of HSG is pre-configured to get dhcp IP from ISP ONT/modem (or upstream router).
  3. Connect ETH1 port of HSG to the LAN Switch.
    • Info– The ETH1 port (eth1) of HSG is pre-configured to release IP to LAN.
  4. Connect the AP to the LAN Switch
    • Use default VLAN1 as management VLAN for AP/WLC
      • Access Point will be receiving DHCP IP from HSG from network 192.168.8.0/22
      • Info– Reserved IP for WLC or other devices, range from 192.168.8.2 to 192.168.8.99.
    • Add all VLANs on the switch (VLAN10, 20, 30), configure all switch-ports to be in trunk mode, and permit all VLANs for each port (default)
    • Configure APs to broadcast the desired SSID and assign each SSID to pre-configured VLANs
    • Info Keep the Switch to default VLAN (VLAN1) and Configure AP to broadcast SSID and do not assign any VLAN>>
  5. Connect ETH2 port to a PC for Management
    • Info– The ETH2 port (eth2) of HSG is pre-configured to release IP.
Procedure

Step 1 – Access to Hotspot Management UI

  1. Login to Hotspot Gateway UI
    • on-premises Hotspot Gateway – Use the Management PC and browse to http://10.10.10.1 and login with the Credentials.

Image 2 : Hotspot Gateway login screen

Step 2 – Create Entity, User Account, and Permission for the User Account

  1. Create Entity – See link Create Customer Entity
    • User can use the Company name as entity name
  2. Create and Configure Permission for the User Account
    • Navigate to ‘ADMIN > Permissions‘. Click on the button and configure the required permission.
    • Recommendation – Create the new User Account and in the Profile field select ‘Super admin’ for this Scenario.
  3. Create User Account – See link Create User Account

Step 3 – Create VLANs (10, 20 & 30) in eth1 interface

  1. Navigate to ‘NETWORK SETTINGS > Interfaces > VLAN‘ tab and click on the button, See link New VLAN interface
    • Configure three new VLANs, The example to VLAN-10 settings are shown below in Table 1, and also find the details for the three VLANs below.
      1. VLAN10 | IP – 172.16.10.1/24
      2. VLAN20 | IP – 172.16.20.1/24
      3. VLAN30 | IP – 172.16.30.1/24
S/NSectionFieldValueRemarks
01New Interface VLAN
VLAN Namevlan10
Admin StatusEnabled
Physical Interfaceeth1
IP/Netmask (IP Address/Mask)172.16.10.1/24
02Hotspot ServiceEnable
Table 1 : New VLANs settings for Multi SSID Scenario

Step 4 – Create, Configure Captive Portal and Login Method

  1. Create three different Captive Portal and different portals. User can use the below portal name and the portal template. See link Create/Edit Captive portal
    • portal name – ‘Portalvlan10’ | portal template – ‘Central’
    • portal name – ‘Portalvlan20’ | portal template – ‘Prestige’
    • portal name – ‘Portalvlan30’ | portal template – ‘EasyVideo’
  2. Configure Login Method (Enable Username Password and Email OTP methods). See link Login Method Types. Enable Login Methods as mentioned below.
Portal Name: Portalvlan10
Portal Template: Central
Entity: Customer’s Entity name
Login Method: Standard Login Option
(Username & Password)
Portal Name: Portalvlan20
Portal Template: Prestige
Entity: Customer’s Entity name
Login Method: Email Registration
Portal Name: Portalvlan30
Portal Template: EasyVideo
Entity: Customer’s Entity name
Login Method: NA

Step 5 – Configure Hotspot Instance (VLAN10, VLAN20, VLAN30) interface.

  1. Navigate to ‘Hotspot Settings > Hotspot Instances‘. Click on ‘vlan10′ below the interface column heading and configure the vlan10 all three sections of instance, as per the Table 2 settings below.

S/NSectionFieldValue
01 Hotspot Instance Base Config
Hotspot Enableenable by ticking the option
Hotspot PortalSelect the Portal according to the VLAN interface.
Eg: http://captive.ransnet.com/pid/Portalvlan10/login.php
02Hotspot Instance Optional Config
Client ParametersPermit External Client Network – 172.16.10.0
Permit External Client Netmask – 255.255.255.0
Redirect/Success URLhttp://www.ransnet.com
Bypass/Whitelist ByDestination Domain – .ransnet.com
Destination IP/URL – 2.1.2.1
Enable/Disable ParametersIntercept DNS Requests – enable by ticking the option
03DHCP Optional Config
DHCP Descriptionvlan10 Hotspot DHCP
Table 2 : VLAN 10 Hotspot Instance settings

Step 6 – Configure Access Control

  1. Configure Username Password profile (Portalvlan10) for staff user.
    • Navigate to ‘HOTSPOT USERS > Access Profile‘. Create a new Access Profile. See link New Access Profile
    • Select ‘User Authentication‘ from User type and enter the Username and password
    • Navigate to the ‘Account info’ tab on the ‘New User’ page and configure the relevant settings
  2. Configure Email Registration profile (Portalvlan20) for Guest users.
    • Navigate to ‘HOTSPOT USERS > Access Profile‘ and locate for
    • Note To configure the Email Registration profile, the user has to first test the Captive portal Email Registration Authentication. After the first test is successful, the Email OTP auto-creates the profile in ‘Access Profile’ in the format of (RansNet_[Device Name]_[Interface Name]_[MAC Address, last 4 digits]_<<emailonepageotp>>. Eg : RansNet_mbox_br-vlan10_96-19_emailonepageotp). User can click on the Profile name and configure the account info settings as per the user requirement.

NOTE

User should use UI to configure, Captive portal. Login Method and Access Profile.

-----------------------------------Default Configuration--------------------------
hostname HSG800-WT
!
interface eth0
 description "Default connection to WAN"
 enable
 ip address dhcp
!
interface eth1
 description "Default connection to LAN"
 enable
 ip address 192.168.8.1/22
 dhcp-server
  description "DHCP-ETH1 DHCP"
  lease-time 86400
  router 192.168.8.1
  dns 8.8.8.8 8.8.4.4
  range 192.168.8.100 192.168.11.254
!
interface eth2
 description "Default OOB-Mgmt"
 enable
 ip address 10.10.10.1/24
 dhcp-server
  lease-time 86400 86400
  router 10.10.10.1
  dns 8.8.8.8 8.8.4.4
  range 10.10.10.10 10.10.10.20
  enable
!
interface eth3
 description "Reserved network"
!
interface vlan 1 10
 description "Staff VLAN"
 enable
 ip address 172.16.10.1/24
!
interface vlan 1 20
 description "Guest VLAN"
 enable
 ip address 172.16.20.1/24
!
interface vlan 1 30
 description "Cafeteria VLAN"
 enable
 ip address 172.16.30.1/24
!
interface loopback
 enable
 ip address 2.1.2.1/32
!
ip name-server 8.8.8.8 8.8.4.4
!
ip ntp-server 203.211.159.1 62.201.225.9
!
ip host macc.ransnet.com 2.1.2.1 rewrite
ip host splash.ransnet.com 2.1.2.1 rewrite
!
firewall-input 10 permit all tcp dport 80 src 10.0.0.0/8 admin remark "WEB mgmt
from OOB"
firewall-input 11 permit all tcp dport 22 src 10.0.0.0/8 remark "SSH mgmt from O
OB"
!
firewall-access 10 permit outbound eth0
!
firewall-snat 10 overload outbound eth0
!
security radius-server
 client 2.1.2.1 key testing123 name HSG800WT
 start
-----------------------------------Default Configuration--------------------------
!
security hotspot vlan10
 hotspot-server 172.16.10.1 ports 5205 4029
 client-network 172.16.10.0 255.255.255.0
 client-dhcp-server
  description "Staff VLAN10 DHCP"
  lease-time 86400
  router 172.16.10.1
  dns 8.8.8.8 8.8.4.4
  range 172.16.10.2 172.16.10.254
  enable
 client-static 172.16.10.0 255.255.255.0
 client-local-dns on
 redirect-url http://www.ransnet.com
 radius-server splash.ransnet.com testing123
 hotspot-portal https://captive.ransnet.com/RNSrilanka/Portalvlan10/login.php
 start
!
security hotspot vlan20
 hotspot-server 172.16.20.1 ports 5549 4985
 client-network 172.16.20.0 255.255.255.0
 client-dhcp-server
  description "Guest VLAN20 DHCP"
  lease-time 86400
  router 172.16.20.1
  dns 8.8.8.8 8.8.4.4
  range 172.16.20.2 172.16.20.254
  enable
 client-static 172.16.20.0 255.255.255.0
 client-local-dns on
 redirect-url http://www.ransnet.com
 radius-server splash.ransnet.com testing123
 hotspot-portal https://captive.ransnet.com/RNSrilanka/Portalvlan20/login.php
 start
!
security hotspot vlan30
 hotspot-server 172.16.30.1 ports 5780 5408
 client-network 172.16.30.0 255.255.255.0
 client-dhcp-server
  description "Cafeteria VLAN30 DHCP"
  lease-time 86400
  router 172.16.30.1
  dns 8.8.8.8 8.8.4.4
  range 172.16.30.2 172.16.30.254
  enable
 client-static 172.16.30.0 255.255.255.0
 client-local-dns on
 redirect-url http://www.ransnet.com
 radius-server splash.ransnet.com testing123
 hotspot-portal https://captive.ransnet.com/RNSrilanka/Portalvlan30/login.php
 start

Deployment References Links (Videos/Demos)

NOTE

syslog server (user access logging) is enabled to collect DNS access logs and storing data up to last 5 days.

User access records are stored up to last 90 days

User info (username and profile data) is kept unlimited