Chapter 12 Common Configuration Examples
154
Aerohive
Captive Web Portal with Internal DHCP and DNS Servers
With this approach, when the client of an unregistered user first associates with the HiveAP, it acts as a DHCP, DNS,
and web server, limiting the client’s network access to just the HiveAP with which it is associated. No matter what
website the user tries to reach, the HiveAP directs the browser to a registration page. After the user registers, the
HiveAP stores the client’s MAC address as a registered user and stops keeping the station captive; that is, the HiveAP
no longer acts as a DHCP, DNS, and web server for traffic from that MAC address, but allows the client to access
external servers. The entire process is shown in
Figure 9
.
Figure 9
Captive web portal exchanges using internal servers
Wireless Client
Wireless Access Point
DHCP Client
DHCP Server
Association Using SSID “guest”
Address and TCP/IP Assignments
Association Request
Association Response
1
2
DHCP Request
DHCP ACK
DHCP Discover
DHCP Offer
SSID “guest”
The client forms an association with the HiveAP
but the visitor has not yet registered. The
HiveAP directs all DHCP, DNS, and HTTP
traffic from unregistered guests to itself instead
of allowing it to the rest of the network.
IP Address:
172.16.1.2
Netmask:
255.255.255.0
Default Gateway: 172.16.1.1*
DHCP Server:
172.16.1.1*
DNS:
172.16.1.1*
Lease:
10 Seconds
* By default, a HiveAP assigns IP addresses to
subinterfaces for captive web portal use as follows:
wifi0.1 wifi0.7 172.16.1.1 172.16.7.1
wifi1.1 wifi1.7 172.16.11.1 172.16.17.1
3
4
DNS Querient
DNS Server
HTTP Client
HTTP Server
DNS Address Resolution
HTTP Connection to the Captive Web Portal
DNS Query
DNS Reply
HTTP GET
Reply
When the HTTP client sends a GET
command, the HTTP server replies with a
guest access registration page. The user
must agree to an acceptable use policy, fill
in some fields, and then submit the form.
Wildcard A record in the root zone “.” on the
HiveAP DNS server:
* in a 172.16.1.1
The DNS server resolves all domain
name-to-address queries to the same IP
address, which in this case is 172.16.1.1.
Содержание access point
Страница 1: ...Aerohive Deployment Guide ...
Страница 7: ...HiveAP Compliance Information 6 Aerohive ...
Страница 13: ...Contents 12 Aerohive ...
Страница 37: ...Chapter 2 The HiveAP 20 ag Platform 36 Aerohive ...
Страница 71: ...Chapter 4 The HiveAP 340 Platform 70 Aerohive ...
Страница 81: ...Chapter 5 The HiveAP 320 Platform 80 Aerohive ...
Страница 105: ...Chapter 8 The High Capacity HiveManager Platform 104 Aerohive ...
Страница 123: ...Chapter 10 Using HiveManager 122 Aerohive ...
Страница 209: ...Chapter 14 Deployment Examples CLI 208 Aerohive ...
Страница 217: ...Appenidix A Country Codes 216 Aerohive ...