Manual:Interworking Profiles: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
mNo edit summary
Clasification of properties
Line 10: Line 10:


=Configuration Properties=
=Configuration Properties=
===Information elements in beacon and probe response===
Some information can be added to beacon and probe response packets with interworking element. Following parameters of Interworking element can be configured:


{{Mr-arg-table-h
{{Mr-arg-table-h
Line 17: Line 22:


{{Mr-arg-table
{{Mr-arg-table
|arg=3gpp
|arg=asra
|type=octet string in hex
|type=yes {{!}} no
|default=no
|desc=Additional Steps Required for Access. Set to <code>yes</code>, if a user should take additional steps to access the internet, like the walled garden.
}}
{{Mr-arg-table
|arg=esr
|type=yes {{!}} no
|default=no
|desc=Emergency services reachable (ESR). Set to <code>yes</code> in order to indicate that emergency services are reachable through the access point.
}}
{{Mr-arg-table
|arg=hessid
|type=MAC address
|default=
|default=
|desc=Cellular network advertisement information - country and network codes. This helps Hotspot 2.0 client in the selection of an access point to access 3GPP network. Please see 3GPP TS 24.302. (Annex H) for a format of this field. This value is sent ANQP response if queried.
|desc=Homogenous extended service set identifier (HESSID). Devices that provide access to same external networks are in one homogenous extended service set. This service set can be identified by HESSID that is the same on all access points in this set. 6-byte value of HESSID is represented as MAC address. It should be globally unique, therefore it is advised to use one of the MAC address of access point in the service set.
}}
{{Mr-arg-table
|arg=internet
|type=yes {{!}} no
|default=yes
|desc=Weather internet is available through this connection or not. This information is included in the interworking element.
}}
{{Mr-arg-table
|arg=network-type
|type=emergency-only {{!}} personal-device {{!}} private {{!}} private-with-guest {{!}} public-chargeable {{!}} public-free {{!}} test {{!}} wildcard
|default=wildcard
|desc=Information about network access type.
*emergency-only - a network dedicated and limited to accessing emergency services;
*personal-device - a network of personal devices. An example of this type of network is a camera attaching to a printer, thereby forming a network for the purpose of printing pictures;
*private - network for users with user accounts. Usually used in enterprises for employees, not guests;
*private-with-guest - same as private, but guest accounts are available;
*public-chargeable - a network that is available to anyone willing to pay. For example, a subscription to Hotspot 2.0 service or in-room internet access in a hotel;
*public-free - network is available to anyone without any fee. For example, municipal network in city or airport hotspot;
*test - network used for testing and experimental uses. Not used in production;
*wildcard - is used on wireless clients. Sending probe request with a wildcard as network type value will make all interworking access points respond despite their actual network-type setting.
A client sends a probe request frame with network-type set to value it is interested in. It will receive replies only from access points with the same value (except the case of wildcard).
}}
}}
{{Mr-arg-table
{{Mr-arg-table
|arg=asra
|arg=uesa
|type=yes {{!}} no
|type=yes {{!}} no
|default=no
|default=no
|desc=Additional Steps Required for Access. Set to <code>yes</code>, if a user should take additional steps to access the internet, like the walled garden.
|desc=Unauthenticated emergency service accessible (UESA).
*no - indicate that no unauthenticated emergency services are reachable through this AP;
*yes - indicate that higher layer unauthenticated emergency services are reachable through this AP.
}}
{{Mr-arg-table-end
|arg=venue
|type=venue
|default=unspecified
|desc=Specify the venue in which the access point is located. Choose the value from available ones. Some examples:
<pre>
venue=business-bank
venue=mercantile-shopping-mall
venue=educational-university-or-college
</pre>
}}
 
 
===ANQP elements===
Access network query protocol (ANQP). Not all necessary information is included in probe response and beacon frames. For client device to get more information before choosing access point to associate with ANQP is used. The access point can have stored information in multiple ANQP elements. Client device will use ANQP to query only for the information it is interested in. This reduces the time needed before association.
 
 
{{Mr-arg-table-h
|prop=Property
|desc=Description
}}
 
{{Mr-arg-table
|arg=3gpp
|type=octet string in hex
|default=
|desc=Cellular network advertisement information - country and network codes. This helps Hotspot 2.0 client in the selection of an access point to access 3GPP network. Please see 3GPP TS 24.302. (Annex H) for a format of this field. This value is sent ANQP response if queried.
}}
}}
{{Mr-arg-table
{{Mr-arg-table
Line 33: Line 101:
|default=
|default=
|desc=This property is only effective when <b>asra</b> is set to <code>yes</code>. Value of <code>url</code> is optional and not needed if <code>dns-redirection</code> or <code>online-enrollment</code> is selected. To set the value of <code>url</code> to empty string use double quotes. Like:
|desc=This property is only effective when <b>asra</b> is set to <code>yes</code>. Value of <code>url</code> is optional and not needed if <code>dns-redirection</code> or <code>online-enrollment</code> is selected. To set the value of <code>url</code> to empty string use double quotes. Like:
<pre>authentication-types=online-enrollment:""</pre>
<pre>authentication-types=online-enrollment:""</pre>
}}
{{Mr-arg-table
|arg=comment
|type=string
|default=
|desc=Short description of the profile
}}
}}
{{Mr-arg-table
{{Mr-arg-table
Line 61: Line 121:
|default=
|default=
|desc=None or more fully qualified domain names (FQDN) that indicate the entity operating the hotspot. A station that is connecting to the access point can request this AQNP property and check if there is a suffix match with any of the domain names it has credentials to.
|desc=None or more fully qualified domain names (FQDN) that indicate the entity operating the hotspot. A station that is connecting to the access point can request this AQNP property and check if there is a suffix match with any of the domain names it has credentials to.
}}
{{Mr-arg-table
|arg=esr
|type=yes {{!}} no
|default=no
|desc=Emergency services reachable (ESR). Set to <code>yes</code> in order to indicate that emergency services are reachable through the access point.
}}
{{Mr-arg-table
|arg=hessid
|type=MAC address
|default=
|desc=Homogenous extended service set identifier (HESSID). Devices that provide access to same external networks are in one homogenous extended service set. This service set can be identified by HESSID that is the same on all access points in this set. 6-byte value of HESSID is represented as MAC address. It should be globally unique, therefore it is advised to use one of the MAC address of access point in the service set.
}}
{{Mr-arg-table
|arg=hotspot20
|type=yes {{!}} no
|default=yes
|desc=Indicate Hotspot 2.0 capability of the access point.
}}
{{Mr-arg-table
|arg=hotspot20-dgaf
|type=yes {{!}} no
|default=yes
|desc=Downstream Group-Addressed Forwarding (DGAF). Whether to disable or enable multicast and broadcast frames to clients.
*yes - enable multicast and broadcast frames to clients;
*no - disable multicast and broadcast frames to clients.
When disabled each client gets its own group temporal key (GTK), which is safer than if everyone used the same.
}}
{{Mr-arg-table
|arg=internet
|type=yes {{!}} no
|default=yes
|desc=Weather internet is available through this connection or not. This information is included in the interworking element.
}}
}}
{{Mr-arg-table
{{Mr-arg-table
Line 117: Line 144:
*available - address type available;
*available - address type available;
*unknown - availability of the address type is not known.
*unknown - availability of the address type is not known.
}}
{{Mr-arg-table
|arg=name
|type=string
|default=
|desc=Name of interworking profile.
}}
{{Mr-arg-table
|arg=network-type
|type=emergency-only {{!}} personal-device {{!}} private {{!}} private-with-guest {{!}} public-chargeable {{!}} public-free {{!}} test {{!}} wildcard
|default=wildcard
|desc=Information about network access type.
*emergency-only - a network dedicated and limited to accessing emergency services;
*personal-device - a network of personal devices. An example of this type of network is a camera attaching to a printer, thereby forming a network for the purpose of printing pictures;
*private - network for users with user accounts. Usually used in enterprises for employees, not guests;
*private-with-guest - same as private, but guest accounts are available;
*public-chargeable - a network that is available to anyone willing to pay. For example, a subscription to Hotspot 2.0 service or in-room internet access in a hotel;
*public-free - network is available to anyone without any fee. For example, municipal network in city or airport hotspot;
*test - network used for testing and experimental uses. Not used in production;
*wildcard - is used on wireless clients. Sending probe request with a wildcard as network type value will make all interworking access points respond despite their actual network-type setting.
A client sends a probe request frame with network-type set to value it is interested in. It will receive replies only from access points with the same value (except the case of wildcard).
}}
{{Mr-arg-table
|arg=operational-classes
|type=list of numbers
|default=
|desc=Information about other available bands of the same ESS.
}}
{{Mr-arg-table
|arg=operator-names
|type=string:lang
|default=
|desc=Set operator name. Language must be specified for each operator name entry.
Operator-names parameter consists of zero or more duples that contain Operator Name and Language Code:
<pre>
operator-names=BestOperator:eng,MejorOperador:es
</pre>
The Language Code field value is a two or three-character 8 language code selected from ISO-639.
}}
}}
{{Mr-arg-table
{{Mr-arg-table
Line 183: Line 172:
</pre>
</pre>
}}
}}
{{Mr-arg-table-end
|arg=venue-names
|type=string:lang
|default=
|desc=Venue name can be used to provide additional info on the venue. It can help the client to choose a proper access point.
Venue-names parameter consists of zero or more duples that contain Venue Name and Language Code:
<pre>
venue-names=CoffeeShop:eng,TiendaDeCafe:es
</pre>
The Language Code field value is a two or three-character 8 language code selected from ISO-639.
}}
===Hotspot 2.0 ANQP elements===
Hotspot 2.0 specification introduced some additional ANQP elements. These elements use ANQP vendor specific element ID. Here are available properties to change these elements.
{{Mr-arg-table-h
|prop=Property
|desc=Description
}}
{{Mr-arg-table
{{Mr-arg-table
|arg=uesa
|arg=hotspot20
|type=yes {{!}} no
|default=yes
|desc=Indicate Hotspot 2.0 capability of the access point.
}}
{{Mr-arg-table
|arg=hotspot20-dgaf
|type=yes {{!}} no
|type=yes {{!}} no
|default=no
|default=yes
|desc=Unauthenticated emergency service accessible (UESA).
|desc=Downstream Group-Addressed Forwarding (DGAF). Whether to disable or enable multicast and broadcast frames to clients.
*no - indicate that no unauthenticated emergency services are reachable through this AP;
*yes - enable multicast and broadcast frames to clients;
*yes - indicate that higher layer unauthenticated emergency services are reachable through this AP.  
*no - disable multicast and broadcast frames to clients.
When disabled each client gets its own group temporal key (GTK), which is safer than if everyone used the same.
}}
}}
{{Mr-arg-table
{{Mr-arg-table
|arg=venue
|arg=operational-classes
|type=venue
|type=list of numbers
|default=unspecified
|default=
|desc=Specify the venue in which the access point is located. Choose the value from available ones. Some examples:
|desc=Information about other available bands of the same ESS.
<pre>
venue=business-bank
venue=mercantile-shopping-mall
venue=educational-university-or-college
</pre>
}}
}}
{{Mr-arg-table
{{Mr-arg-table
|arg=venue-names
|arg=operator-names
|type=string:lang
|type=string:lang
|default=
|default=
|desc=Venue name can be used to provide additional info on the venue. It can help the client to choose a proper access point.
|desc=Set operator name. Language must be specified for each operator name entry.
Venue-names parameter consists of zero or more duples that contain Venue Name and Language Code:
Operator-names parameter consists of zero or more duples that contain Operator Name and Language Code:
<pre>
<pre>
venue-names=CoffeeShop:eng,TiendaDeCafe:es
operator-names=BestOperator:eng,MejorOperador:es
</pre>
</pre>
The Language Code field value is a two or three-character 8 language code selected from ISO-639.
The Language Code field value is a two or three-character 8 language code selected from ISO-639.
Line 260: Line 274:
|desc=The uplink speed of WAN connection set in kbps. If uplink speed is not known set to 0.
|desc=The uplink speed of WAN connection set in kbps. If uplink speed is not known set to 0.
}}
}}
{{Mr-arg-table
{{Mr-arg-table-end
|arg=wan-uplink-load
|arg=wan-uplink-load
|type=number
|type=number
Line 267: Line 281:
*0 - unknown;
*0 - unknown;
*255 - 100%.
*255 - 100%.
}}
===Other Properties===
{{Mr-arg-table-h
|prop=Property
|desc=Description
}}
{{Mr-arg-table
|arg=comment
|type=string
|default=
|desc=Short description of the profile
}}
{{Mr-arg-table-end
|arg=name
|type=string
|default=
|desc=Name of interworking profile.
}}
}}

Revision as of 17:14, 4 December 2018

Summary

Interworking

Interworking is the occurrence of two or more things working together. For devices to work successfully together information must be supplied from one to other. In order to supply more information between access points and client devices than in basic beacons and probe requests, in 2011 new protocol was made: IEEE Std 802.11u™-2011: Interworking with External Networks. With Interworking service network discovery and access point selection process can be enhanced. Client devices can have more criteria upon which to choose the network with which to associate.

Hotspot 2.0

Hotspot 2.0 is a specification developed and owned by Wi-Fi Alliance. It was designed to enable a more cellular-like experience when connecting to Wi-Fi networks. In the attempt to increase wireless network security Hotspot 2.0 access points use mandatory WPA2 authentication.

Hotspot 2.0 relies tightly on interworking as well as ads some of its own properties and procedures.

Implementation

In RouterOS implementation of Interworking and Hotspot 2.0 stick very closely to the technical specification.

Configuration Properties

Information elements in beacon and probe response

Some information can be added to beacon and probe response packets with interworking element. Following parameters of Interworking element can be configured:


Property Description
asra (yes | no; Default: no) Additional Steps Required for Access. Set to yes, if a user should take additional steps to access the internet, like the walled garden.
esr (yes | no; Default: no) Emergency services reachable (ESR). Set to yes in order to indicate that emergency services are reachable through the access point.
hessid (MAC address; Default: ) Homogenous extended service set identifier (HESSID). Devices that provide access to same external networks are in one homogenous extended service set. This service set can be identified by HESSID that is the same on all access points in this set. 6-byte value of HESSID is represented as MAC address. It should be globally unique, therefore it is advised to use one of the MAC address of access point in the service set.
internet (yes | no; Default: yes) Weather internet is available through this connection or not. This information is included in the interworking element.
network-type (emergency-only | personal-device | private | private-with-guest | public-chargeable | public-free | test | wildcard; Default: wildcard) Information about network access type.
  • emergency-only - a network dedicated and limited to accessing emergency services;
  • personal-device - a network of personal devices. An example of this type of network is a camera attaching to a printer, thereby forming a network for the purpose of printing pictures;
  • private - network for users with user accounts. Usually used in enterprises for employees, not guests;
  • private-with-guest - same as private, but guest accounts are available;
  • public-chargeable - a network that is available to anyone willing to pay. For example, a subscription to Hotspot 2.0 service or in-room internet access in a hotel;
  • public-free - network is available to anyone without any fee. For example, municipal network in city or airport hotspot;
  • test - network used for testing and experimental uses. Not used in production;
  • wildcard - is used on wireless clients. Sending probe request with a wildcard as network type value will make all interworking access points respond despite their actual network-type setting.
A client sends a probe request frame with network-type set to value it is interested in. It will receive replies only from access points with the same value (except the case of wildcard).
uesa (yes | no; Default: no) Unauthenticated emergency service accessible (UESA).
  • no - indicate that no unauthenticated emergency services are reachable through this AP;
  • yes - indicate that higher layer unauthenticated emergency services are reachable through this AP.
venue (venue; Default: unspecified) Specify the venue in which the access point is located. Choose the value from available ones. Some examples:
venue=business-bank
venue=mercantile-shopping-mall
venue=educational-university-or-college


ANQP elements

Access network query protocol (ANQP). Not all necessary information is included in probe response and beacon frames. For client device to get more information before choosing access point to associate with ANQP is used. The access point can have stored information in multiple ANQP elements. Client device will use ANQP to query only for the information it is interested in. This reduces the time needed before association.


Property Description
3gpp (octet string in hex; Default: ) Cellular network advertisement information - country and network codes. This helps Hotspot 2.0 client in the selection of an access point to access 3GPP network. Please see 3GPP TS 24.302. (Annex H) for a format of this field. This value is sent ANQP response if queried.
authentication-types (dns-redirection:url | https-redirection:url | online-enrollment:url | terms-and-conditions:url; Default: ) This property is only effective when asra is set to yes. Value of url is optional and not needed if dns-redirection or online-enrollment is selected. To set the value of url to empty string use double quotes. Like:
authentication-types=online-enrollment:""
connection-capabilities (number:number:closed|open|unknown; Default: ) This option allows to provide information about allowed IP protocols and ports. This information can be provided in ANQP response. The first number represents the IP protocol number, the second number represents a port number.
  • closed - set if protocol and port combination is not allowed;
  • open - set if protocol and port combination is allowed;
  • unknown - set if protocol and port combination is either open or closed.

Example:

connection-capabilities=6:80:open,17:5060:closed

Setting such value access point informs station, that is connecting, that HTTP(6 - TCP, 80 - HTTP) is allowed and VoIP (17 - UDP; 5060 - VoIP) is not allowed.

This property does not restrict or allow these protocols and ports, it only gives information to station device which is connecting to access point.
domain-names (list of strings; Default: ) None or more fully qualified domain names (FQDN) that indicate the entity operating the hotspot. A station that is connecting to the access point can request this AQNP property and check if there is a suffix match with any of the domain names it has credentials to.
ipv4-availability (double-nated | not-available | port-restricted | port-restricted-double-nated | port-restricted-single-nated | public | single-nated | unknown; Default: not-available) Information about what IPv4 address and access are available.
  • not-available - Address type not available;
  • public - public IPv4 address available;
  • port-restricted - port-restricted IPv4 address available;
  • single-nated - single NATed private IPv4 address available;
  • double-nated - double NATed private IPv4 address available;
  • port-restricted-single-nated -port-restricted IPv4 address and single NATed IPv4 address available;
  • port-restricted-double-nated - port-restricted IPv4 address and double NATed IPv4 address available;
  • unknown - availability of the address type is not known.
ipv6-availability (available | not-available | unknown; Default: not-available) Information about what IPv6 address and access are available.
  • not-available - Address type not available;
  • available - address type available;
  • unknown - availability of the address type is not known.
realms (string:eap-sim|eap-tls|not-specified; Default: ) Information about supported realms and the corresponding EAP method.
realms=example.com:eap-tls,foo.ba:not-specified
realms-raw (octet string in hex; Default: ) Set NAI Realm ANQP-element manually.
roaming-ois (octet string in hex; Default: ) Organization identifier (OI) usually are 24-bit is unique identifiers like organizationally unique identifier (OUI) or company identifier (CID). In some cases, OI is longer for example OUI-36.

A subscription service provider (SSP) can be specified by its OI. roaming-ois property can contain zero or more SSPs OIs whose networks are accessible via this AP. Length of OI should be specified before OI itself. For example, to set E4-8D-8C and 6C-3B-6B:

roaming-ois=03E48D8C036C3B6B
venue-names (string:lang; Default: ) Venue name can be used to provide additional info on the venue. It can help the client to choose a proper access point.

Venue-names parameter consists of zero or more duples that contain Venue Name and Language Code:

venue-names=CoffeeShop:eng,TiendaDeCafe:es
The Language Code field value is a two or three-character 8 language code selected from ISO-639.


Hotspot 2.0 ANQP elements

Hotspot 2.0 specification introduced some additional ANQP elements. These elements use ANQP vendor specific element ID. Here are available properties to change these elements.


Property Description
hotspot20 (yes | no; Default: yes) Indicate Hotspot 2.0 capability of the access point.
hotspot20-dgaf (yes | no; Default: yes) Downstream Group-Addressed Forwarding (DGAF). Whether to disable or enable multicast and broadcast frames to clients.
  • yes - enable multicast and broadcast frames to clients;
  • no - disable multicast and broadcast frames to clients.
When disabled each client gets its own group temporal key (GTK), which is safer than if everyone used the same.
operational-classes (list of numbers; Default: ) Information about other available bands of the same ESS.
operator-names (string:lang; Default: ) Set operator name. Language must be specified for each operator name entry.

Operator-names parameter consists of zero or more duples that contain Operator Name and Language Code:

operator-names=BestOperator:eng,MejorOperador:es
The Language Code field value is a two or three-character 8 language code selected from ISO-639.
wan-at-capacity (yes | no; Default: no) Whether the access point or network is at its max capacity. If set to yes no additional mobile devices will be permitted to associate to the AP.
wan-downlink (number; Default: 0) The downlink speed of WAN connection set in kbps. If downlink speed is not known, set to 0.
wan-downlink-load (number; Default: 0) The downlink load of WAN connection measured over wan-measurement-duration. Values from 0 to 255.
  • 0 - unknown;
  • 255 - 100%.
wan-measurement-duration (number; Default: 0) Duration during which wan-downlink-load and wan-uplink-load are measured. Value is a numeric value from 0 to 65535 representing tenths of seconds.
  • 0 - not measured;
  • 10 - 1 second;
  • 65535 - 1 hour 49 minutes or more.
wan-status (down | reserved | test | up; Default: reserved) Information about the status of access points WAN connection. The value reserved is not used.
wan-symmetric (yes | no; Default: no) Weather WAN link is symmetric (upload and download speeds are the same) or not.
wan-uplink (number; Default: 0) The uplink speed of WAN connection set in kbps. If uplink speed is not known set to 0.
wan-uplink-load (number; Default: 0) The uplink load of WAN connection measured over wan-measurement-duration. Values from 0 to 255.
  • 0 - unknown;
  • 255 - 100%.


Other Properties

Property Description
comment (string; Default: ) Short description of the profile
name (string; Default: ) Name of interworking profile.