Security

The following scenarios show how to configure WLAN interfaces to use different security modes. All examples will be done using the wifi0 radio module and channel numer 36 to avoid waiting for the cac timer to exhaust. Note that an external radius server will be required in enterprise scenarios and the user testing with password password must be present in its database.

../../../_images/wlansecurity.svg

Open Security

Description

In this example, the wlan1 interface will be configured to use no security.

Scenario

Warning

Note that the traffic will be visible to any attacker. Use OWE or OWE-Transition instead.

Step 1: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 bandwidth 80MHz
set controllers wlan radios wifi0 mode 802.11n
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces wlan wlan1 bridge-group bridge br0
set interfaces wlan wlan1 phy wifi0
set interfaces wlan wlan1 type access-point ssid network_5GHz
set interfaces wlan wlan1 type access-point security akm none

Step 2: Set the following configuration in DUT0:

set interfaces bridge br0 address 192.168.100.1/24

Step 3: Configure the MON device to connect to network_5GHz using the following configuration:

set controllers wlan installation indoor
set controllers wlan radios wifi1 bandwidth 20MHz
set interfaces wlan wlan0 phy wifi1
set interfaces wlan wlan0 type station network 1 bssid 52:5a:65:42:f9:88
set interfaces wlan wlan0 type station network 1 ssid network_5GHz
set system wlan log-level configuration debug
set interfaces wlan wlan0 address 192.168.100.10/24
set interfaces wlan wlan0 type station network 1 security akm none

Step 4: Ping IP address 192.168.100.1 from MON:

admin@MON$ ping 192.168.100.1 count 2 size 56 timeout 1
Show output
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=6.36 ms
64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=2.41 ms

--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 3ms
rtt min/avg/max/mdev = 2.408/4.385/6.363/1.978 ms

OWE Mode

Description

In this example, the wlan1 interface will be configured to use OWE security (Opportunistic Wireless Encryption). The main advantage of this mode compared with open security is that the traffic is encrypted making passive sniffing useless.

Scenario

Step 1: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 bandwidth 80MHz
set controllers wlan radios wifi0 mode 802.11n
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces wlan wlan1 bridge-group bridge br0
set interfaces wlan wlan1 phy wifi0
set interfaces wlan wlan1 type access-point ssid network_5GHz
set interfaces wlan wlan1 type access-point security akm owe
set interfaces wlan wlan1 type access-point security pairwise-ciphers aes-ccmp
set interfaces wlan wlan1 type access-point security psk-passphrase secret-password
set interfaces wlan wlan1 type access-point security pmf required

Step 2: Set the following configuration in DUT0:

set interfaces bridge br0 address 192.168.100.1/24

Step 3: Configure the MON device to connect to network_5GHz using the following configuration:

set controllers wlan installation indoor
set controllers wlan radios wifi1 bandwidth 20MHz
set interfaces wlan wlan0 phy wifi1
set interfaces wlan wlan0 type station network 1 bssid 52:5a:65:42:f9:88
set interfaces wlan wlan0 type station network 1 ssid network_5GHz
set system wlan log-level configuration debug
set interfaces wlan wlan0 address 192.168.100.10/24
set interfaces wlan wlan0 type station network 1 security akm owe
set interfaces wlan wlan0 type station network 1 security pairwise-ciphers aes-ccmp
set interfaces wlan wlan0 type station network 1 security framework rsn
set interfaces wlan wlan0 type station network 1 security passphrase secret-password
set interfaces wlan wlan0 type station network 1 security pmf required

Step 4: Ping IP address 192.168.100.1 from MON:

admin@MON$ ping 192.168.100.1 count 2 size 56 timeout 1
Show output
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=6.61 ms
64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=2.36 ms

--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 3ms
rtt min/avg/max/mdev = 2.362/4.483/6.605/2.122 ms

OWE-Transition Mode

Description

In this example, the wlan1 interface will be configured to use OWE security (Opportunistic Wireless Encryption) and an additional one, wlan2, will be also configured with open security. The former network is just a transition mechanism to tell WPA3 capable devices to use the OWE network in case they connect to this one.

Scenario

Step 1: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 bandwidth 80MHz
set controllers wlan radios wifi0 mode 802.11n
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces wlan wlan1 bridge-group bridge br0
set interfaces wlan wlan1 phy wifi0
set interfaces wlan wlan1 type access-point ssid network_5GHz
set interfaces wlan wlan1 type access-point security akm owe transition wlan-ifc wlan2
set interfaces wlan wlan1 type access-point security pairwise-ciphers aes-ccmp
set interfaces wlan wlan1 type access-point security pmf required
set interfaces wlan wlan1 type access-point disable-broadcast-ssid
set interfaces wlan wlan2 bridge-group bridge br0
set interfaces wlan wlan2 phy wifi0
set interfaces wlan wlan2 type access-point security akm none transition wlan-ifc wlan1
set interfaces wlan wlan2 type access-point ssid robotest_5ghz_owe

Note

See open security and owe security examples for client side configurations


WPA-Personal Mode

Description

In this example, the wlan1 interface will be configured in WPA personal mode where the security is ensured by mean of the pre-shared key secret-password. The aes-ccmp and tkip ciphers will be used for unicast traffic.

Scenario

Warning

WPA-Personal is considered no longer secure. Use WPA/WPA2-Personal instead in case legacy devices are present in your deployment.

Step 1: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 bandwidth 80MHz
set controllers wlan radios wifi0 mode 802.11n
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces wlan wlan1 bridge-group bridge br0
set interfaces wlan wlan1 phy wifi0
set interfaces wlan wlan1 type access-point ssid network_5GHz
set interfaces wlan wlan1 type access-point security akm psk
set interfaces wlan wlan1 type access-point security wpav1 pairwise-ciphers tkip
set interfaces wlan wlan1 type access-point security wpav1 pairwise-ciphers aes-ccmp
set interfaces wlan wlan1 type access-point security psk-passphrase secret-password

Step 2: Set the following configuration in DUT0:

set interfaces bridge br0 address 192.168.100.1/24

Step 3: Configure the MON device to connect to network_5GHz using the following configuration:

set controllers wlan installation indoor
set controllers wlan radios wifi1 bandwidth 20MHz
set interfaces wlan wlan0 phy wifi1
set interfaces wlan wlan0 type station network 1 bssid 52:5a:65:42:f9:88
set interfaces wlan wlan0 type station network 1 ssid network_5GHz
set system wlan log-level configuration debug
set interfaces wlan wlan0 address 192.168.100.10/24
set interfaces wlan wlan0 type station network 1 security akm psk
set interfaces wlan wlan0 type station network 1 security framework wpav1
set interfaces wlan wlan0 type station network 1 security passphrase secret-password

Step 4: Ping IP address 192.168.100.1 from MON:

admin@MON$ ping 192.168.100.1 count 2 size 56 timeout 1
Show output
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=5.05 ms
64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=2.39 ms

--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 2ms
rtt min/avg/max/mdev = 2.394/3.722/5.050/1.328 ms

WPA2-Personal Mode

Description

In this example, the wlan1 interface will be configured in WPAv2 personal mode where the security is ensured by mean of the pre-shared key secret-password. The aes-ccmp and tkip ciphers will be used for unicast traffic.

Scenario

Warning

The tkip unicast cipher is considered unsecure. Use aes-ccmp instead.

Step 1: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 bandwidth 80MHz
set controllers wlan radios wifi0 mode 802.11n
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces wlan wlan1 bridge-group bridge br0
set interfaces wlan wlan1 phy wifi0
set interfaces wlan wlan1 type access-point ssid network_5GHz
set interfaces wlan wlan1 type access-point security akm psk
set interfaces wlan wlan1 type access-point security pairwise-ciphers tkip
set interfaces wlan wlan1 type access-point security pairwise-ciphers aes-ccmp
set interfaces wlan wlan1 type access-point security psk-passphrase secret-password

Step 2: Set the following configuration in DUT0:

set interfaces bridge br0 address 192.168.100.1/24

Step 3: Configure the MON device to connect to network_5GHz using the following configuration:

set controllers wlan installation indoor
set controllers wlan radios wifi1 bandwidth 20MHz
set interfaces wlan wlan0 phy wifi1
set interfaces wlan wlan0 type station network 1 bssid 52:5a:65:42:f9:88
set interfaces wlan wlan0 type station network 1 ssid network_5GHz
set system wlan log-level configuration debug
set interfaces wlan wlan0 address 192.168.100.10/24
set interfaces wlan wlan0 type station network 1 security akm psk
set interfaces wlan wlan0 type station network 1 security pairwise-ciphers tkip
set interfaces wlan wlan0 type station network 1 security pairwise-ciphers aes-ccmp
set interfaces wlan wlan0 type station network 1 security framework rsn
set interfaces wlan wlan0 type station network 1 security passphrase secret-password

Step 4: Ping IP address 192.168.100.1 from MON:

admin@MON$ ping 192.168.100.1 count 2 size 56 timeout 1
Show output
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=6.34 ms
64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=2.38 ms

--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 3ms
rtt min/avg/max/mdev = 2.379/4.361/6.344/1.983 ms

WPA/WPA2-Personal Mode

Description

In this example, the wlan1 interface will be configured in WPA/WPAv2 personal mode, also known as WPAv2 Mixed mode, where the security is ensured by mean of the pre-shared key secret-password. The aes-ccmp and tkip ciphers will be used for unicast traffic.

Scenario

Warning

This mode was originally intended to provide WPA2 security while maintaining support to legacy WPA stations. As stations can connect using WPA security, which is considered unsecure, only use this mode if legacy devices are present in your deployment.

Step 1: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 bandwidth 80MHz
set controllers wlan radios wifi0 mode 802.11n
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces wlan wlan1 bridge-group bridge br0
set interfaces wlan wlan1 phy wifi0
set interfaces wlan wlan1 type access-point ssid network_5GHz
set interfaces wlan wlan1 type access-point security akm psk
set interfaces wlan wlan1 type access-point security wpav1 pairwise-ciphers tkip
set interfaces wlan wlan1 type access-point security wpav1 pairwise-ciphers aes-ccmp
set interfaces wlan wlan1 type access-point security pairwise-ciphers tkip
set interfaces wlan wlan1 type access-point security pairwise-ciphers aes-ccmp
set interfaces wlan wlan1 type access-point security psk-passphrase secret-password

Step 2: Set the following configuration in DUT0:

set interfaces bridge br0 address 192.168.100.1/24

Step 3: Configure the MON device to connect to network_5GHz using the following configuration:

set controllers wlan installation indoor
set controllers wlan radios wifi1 bandwidth 20MHz
set interfaces wlan wlan0 phy wifi1
set interfaces wlan wlan0 type station network 1 bssid 52:5a:65:42:f9:88
set interfaces wlan wlan0 type station network 1 ssid network_5GHz
set system wlan log-level configuration debug
set interfaces wlan wlan0 address 192.168.100.10/24
set interfaces wlan wlan0 type station network 1 security akm psk
set interfaces wlan wlan0 type station network 1 security framework wpav1
set interfaces wlan wlan0 type station network 1 security pairwise-ciphers tkip
set interfaces wlan wlan0 type station network 1 security pairwise-ciphers aes-ccmp
set interfaces wlan wlan0 type station network 1 security framework rsn
set interfaces wlan wlan0 type station network 1 security passphrase secret-password

Step 4: Ping IP address 192.168.100.1 from MON:

admin@MON$ ping 192.168.100.1 count 2 size 56 timeout 1
Show output
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=6.27 ms
64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=2.37 ms

--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 2ms
rtt min/avg/max/mdev = 2.367/4.318/6.269/1.951 ms

WPA3-Personal Only Mode

Description

In this example, the wlan1 interface will be configured in WPAv3 personal mode, also known as SAE (Simultaneous Authentication of Equals), the state-of-the-art in PSK mode, where the security is ensured by mean of the pre-shared key secret-password. The aes-ccmp cipher will be used for unicast traffic. Protected Management Frames or pmf must be set to required in this mode.

Scenario

Step 1: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 bandwidth 80MHz
set controllers wlan radios wifi0 mode 802.11n
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces wlan wlan1 bridge-group bridge br0
set interfaces wlan wlan1 phy wifi0
set interfaces wlan wlan1 type access-point ssid network_5GHz
set interfaces wlan wlan1 type access-point security akm sae
set interfaces wlan wlan1 type access-point security pairwise-ciphers aes-ccmp
set interfaces wlan wlan1 type access-point security psk-passphrase secret-password
set interfaces wlan wlan1 type access-point security pmf required

Step 2: Set the following configuration in DUT0:

set interfaces bridge br0 address 192.168.100.1/24

Step 3: Configure the MON device to connect to network_5GHz using the following configuration:

set controllers wlan installation indoor
set controllers wlan radios wifi1 bandwidth 20MHz
set interfaces wlan wlan0 phy wifi1
set interfaces wlan wlan0 type station network 1 bssid 52:5a:65:42:f9:88
set interfaces wlan wlan0 type station network 1 ssid network_5GHz
set system wlan log-level configuration debug
set interfaces wlan wlan0 address 192.168.100.10/24
set interfaces wlan wlan0 type station network 1 security akm sae
set interfaces wlan wlan0 type station network 1 security pairwise-ciphers aes-ccmp
set interfaces wlan wlan0 type station network 1 security framework rsn
set interfaces wlan wlan0 type station network 1 security passphrase secret-password
set interfaces wlan wlan0 type station network 1 security pmf required

Step 4: Ping IP address 192.168.100.1 from MON:

admin@MON$ ping 192.168.100.1 count 2 size 56 timeout 1
Show output
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=6.60 ms
64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=2.49 ms

--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 3ms
rtt min/avg/max/mdev = 2.490/4.542/6.595/2.053 ms

WPA2/WPA3-Personal Transition Mode

Description

In this example, the wlan1 interface will be configured in WPAv2/WPAv3 personal mode, also known as WPAv3 transition mode, where the security is ensured by mean of the pre-shared key secret-password. The aes-ccmp cipher will be used for unicast traffic. Protected Management Frames or pmf must be set to optional in this mode.

Scenario

Note

This is a transition mode intended to provide connectivity to WPAv2 capable stations. WPAv3 capable stations will use this security mode when connecting to the device.

Step 1: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 bandwidth 80MHz
set controllers wlan radios wifi0 mode 802.11n
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces wlan wlan1 bridge-group bridge br0
set interfaces wlan wlan1 phy wifi0
set interfaces wlan wlan1 type access-point ssid network_5GHz
set interfaces wlan wlan1 type access-point security akm psk
set interfaces wlan wlan1 type access-point security akm psk-256
set interfaces wlan wlan1 type access-point security akm sae
set interfaces wlan wlan1 type access-point security pairwise-ciphers aes-ccmp
set interfaces wlan wlan1 type access-point security psk-passphrase secret-password
set interfaces wlan wlan1 type access-point security pmf required

Step 2: Set the following configuration in DUT0:

set interfaces bridge br0 address 192.168.100.1/24

Step 3: Configure the MON device to connect to network_5GHz using the following configuration:

set controllers wlan installation indoor
set controllers wlan radios wifi1 bandwidth 20MHz
set interfaces wlan wlan0 phy wifi1
set interfaces wlan wlan0 type station network 1 bssid 52:5a:65:42:f9:88
set interfaces wlan wlan0 type station network 1 ssid network_5GHz
set system wlan log-level configuration debug
set interfaces wlan wlan0 address 192.168.100.10/24
set interfaces wlan wlan0 type station network 1 security akm psk
set interfaces wlan wlan0 type station network 1 security akm psk-256
set interfaces wlan wlan0 type station network 1 security akm sae
set interfaces wlan wlan0 type station network 1 security pairwise-ciphers aes-ccmp
set interfaces wlan wlan0 type station network 1 security framework rsn
set interfaces wlan wlan0 type station network 1 security passphrase secret-password
set interfaces wlan wlan0 type station network 1 security pmf required

Step 4: Ping IP address 192.168.100.1 from MON:

admin@MON$ ping 192.168.100.1 count 2 size 56 timeout 1
Show output
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=6.58 ms
64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=2.34 ms

--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 3ms
rtt min/avg/max/mdev = 2.343/4.462/6.582/2.120 ms

WPA-Enterprise Mode

Description

In this example, the wlan1 interface will be configured in WPA enterprise mode where the security is ensured by mean of the radius server 10.215.168.1. The aes-ccmp and tkip ciphers will be used for unicast traffic.

Scenario

Warning

WPA-Enterprise is considered no longer secure. Use WPA/WPAv2-Enterprise instead in case legacy devices are present in your deployment.

Step 1: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 bandwidth 80MHz
set controllers wlan radios wifi0 mode 802.11n
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces wlan wlan1 bridge-group bridge br0
set interfaces wlan wlan1 phy wifi0
set interfaces wlan wlan1 type access-point ssid network_5GHz
set interfaces wlan wlan1 type access-point security akm dot1x
set interfaces wlan wlan1 type access-point security wpav1 pairwise-ciphers tkip
set interfaces wlan wlan1 type access-point security wpav1 pairwise-ciphers aes-ccmp
set interfaces bridge br0 address 10.215.168.64/24
set system aaa server radius radius_server address 10.215.168.1
set system aaa server radius radius_server key enq88RORo0P5x3Wtyxfwerkj45sdLKJdnvdSASDi
set system aaa group radius radius_group server radius_server
set system aaa list radius_list method 1 group radius radius_group
set interfaces wlan wlan1 type access-point security aaa authentication radius_list

Step 2: Set the following configuration in DUT0:

set interfaces bridge br0 address 192.168.100.1/24

Step 3: Configure the MON device to connect to network_5GHz using the following configuration:

set controllers wlan installation indoor
set controllers wlan radios wifi1 bandwidth 20MHz
set interfaces wlan wlan0 phy wifi1
set interfaces wlan wlan0 type station network 1 bssid 52:5a:65:42:f9:88
set interfaces wlan wlan0 type station network 1 ssid network_5GHz
set system wlan log-level configuration debug
set interfaces wlan wlan0 address 192.168.100.10/24
set interfaces wlan wlan0 type station network 1 security akm dot1x
set interfaces wlan wlan0 type station network 1 security framework wpav1
set interfaces wlan wlan0 type station network 1 security eap-method mschapv2
set interfaces wlan wlan0 type station network 1 security identity testing
set interfaces wlan wlan0 type station network 1 security passphrase password

Step 4: Ping IP address 192.168.100.1 from MON:

admin@MON$ ping 192.168.100.1 count 2 size 56 timeout 1
Show output
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=5.17 ms
64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=2.40 ms

--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 2ms
rtt min/avg/max/mdev = 2.400/3.785/5.171/1.386 ms

WPA2-Enterprise Mode

Description

In this example, the wlan1 interface will be configured in WPAv2 enterprise mode where the security is ensured by mean of the radius server 10.215.168.1. The aes-ccmp and tkip ciphers will be used for unicast traffic.

Scenario

Warning

The tkip unicast cipher is considered unsecure. Use aes-ccmp instead.

Step 1: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 bandwidth 80MHz
set controllers wlan radios wifi0 mode 802.11n
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces wlan wlan1 bridge-group bridge br0
set interfaces wlan wlan1 phy wifi0
set interfaces wlan wlan1 type access-point ssid network_5GHz
set interfaces wlan wlan1 type access-point security akm dot1x
set interfaces wlan wlan1 type access-point security pairwise-ciphers tkip
set interfaces wlan wlan1 type access-point security pairwise-ciphers aes-ccmp
set interfaces bridge br0 address 10.215.168.64/24
set system aaa server radius radius_server address 10.215.168.1
set system aaa server radius radius_server key enq88RORo0P5x3Wtyxfwerkj45sdLKJdnvdSASDi
set system aaa group radius radius_group server radius_server
set system aaa list radius_list method 1 group radius radius_group
set interfaces wlan wlan1 type access-point security aaa authentication radius_list

Step 2: Set the following configuration in DUT0:

set interfaces bridge br0 address 192.168.100.1/24

Step 3: Configure the MON device to connect to network_5GHz using the following configuration:

set controllers wlan installation indoor
set controllers wlan radios wifi1 bandwidth 20MHz
set interfaces wlan wlan0 phy wifi1
set interfaces wlan wlan0 type station network 1 bssid 52:5a:65:42:f9:88
set interfaces wlan wlan0 type station network 1 ssid network_5GHz
set system wlan log-level configuration debug
set interfaces wlan wlan0 address 192.168.100.10/24
set interfaces wlan wlan0 type station network 1 security akm dot1x
set interfaces wlan wlan0 type station network 1 security pairwise-ciphers tkip
set interfaces wlan wlan0 type station network 1 security pairwise-ciphers aes-ccmp
set interfaces wlan wlan0 type station network 1 security framework rsn
set interfaces wlan wlan0 type station network 1 security eap-method mschapv2
set interfaces wlan wlan0 type station network 1 security identity testing
set interfaces wlan wlan0 type station network 1 security passphrase password

Step 4: Ping IP address 192.168.100.1 from MON:

admin@MON$ ping 192.168.100.1 count 2 size 56 timeout 1
Show output
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=6.64 ms
64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=2.42 ms

--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 3ms
rtt min/avg/max/mdev = 2.417/4.530/6.644/2.114 ms

WPA/WPA2-Enterprise Mode

Description

In this example, the wlan1 interface will be configured in WPA/WPAv2 enterprise mode, also known as WPAv2 mixed mode, where the security is ensured by mean of the radius server 10.215.168.1. The aes-ccmp and tkip ciphers will be used for unicast traffic.

Scenario

Warning

This mode was originally intended to provide WPAv2 security while maintaining support to legacy WPA stations. As stations can connect using WPA security, which is considered unsecure, only use this mode if legacy devices are present in your deployment.

Step 1: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 bandwidth 80MHz
set controllers wlan radios wifi0 mode 802.11n
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces wlan wlan1 bridge-group bridge br0
set interfaces wlan wlan1 phy wifi0
set interfaces wlan wlan1 type access-point ssid network_5GHz
set interfaces wlan wlan1 type access-point security akm dot1x
set interfaces wlan wlan1 type access-point security wpav1 pairwise-ciphers tkip
set interfaces wlan wlan1 type access-point security wpav1 pairwise-ciphers aes-ccmp
set interfaces wlan wlan1 type access-point security pairwise-ciphers tkip
set interfaces wlan wlan1 type access-point security pairwise-ciphers aes-ccmp
set interfaces bridge br0 address 10.215.168.64/24
set system aaa server radius radius_server address 10.215.168.1
set system aaa server radius radius_server key enq88RORo0P5x3Wtyxfwerkj45sdLKJdnvdSASDi
set system aaa group radius radius_group server radius_server
set system aaa list radius_list method 1 group radius radius_group
set interfaces wlan wlan1 type access-point security aaa authentication radius_list

Step 2: Set the following configuration in DUT0:

set interfaces bridge br0 address 192.168.100.1/24

Step 3: Configure the MON device to connect to network_5GHz using the following configuration:

set controllers wlan installation indoor
set controllers wlan radios wifi1 bandwidth 20MHz
set interfaces wlan wlan0 phy wifi1
set interfaces wlan wlan0 type station network 1 bssid 52:5a:65:42:f9:88
set interfaces wlan wlan0 type station network 1 ssid network_5GHz
set system wlan log-level configuration debug
set interfaces wlan wlan0 address 192.168.100.10/24
set interfaces wlan wlan0 type station network 1 security akm dot1x
set interfaces wlan wlan0 type station network 1 security framework wpav1
set interfaces wlan wlan0 type station network 1 security pairwise-ciphers tkip
set interfaces wlan wlan0 type station network 1 security pairwise-ciphers aes-ccmp
set interfaces wlan wlan0 type station network 1 security framework rsn
set interfaces wlan wlan0 type station network 1 security eap-method mschapv2
set interfaces wlan wlan0 type station network 1 security identity testing
set interfaces wlan wlan0 type station network 1 security passphrase password

Step 4: Ping IP address 192.168.100.1 from MON:

admin@MON$ ping 192.168.100.1 count 2 size 56 timeout 1
Show output
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=6.36 ms
64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=2.45 ms

--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 3ms
rtt min/avg/max/mdev = 2.447/4.403/6.360/1.957 ms

WPA3-Enterprise Only Mode

Description

In this example, the wlan1 interface will be configured in WPAv3 enterprise mode where the security is ensured by mean of the radius server 10.215.168.1. The aes-ccmp cipher will be used for unicast traffic. Protected Management Frames or pmf must be set to required in this mode.

Scenario

Step 1: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 bandwidth 80MHz
set controllers wlan radios wifi0 mode 802.11n
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces wlan wlan1 bridge-group bridge br0
set interfaces wlan wlan1 phy wifi0
set interfaces wlan wlan1 type access-point ssid network_5GHz
set interfaces wlan wlan1 type access-point security akm dot1x-256
set interfaces wlan wlan1 type access-point security pairwise-ciphers aes-ccmp
set interfaces bridge br0 address 10.215.168.64/24
set system aaa server radius radius_server address 10.215.168.1
set system aaa server radius radius_server key enq88RORo0P5x3Wtyxfwerkj45sdLKJdnvdSASDi
set system aaa group radius radius_group server radius_server
set system aaa list radius_list method 1 group radius radius_group
set interfaces wlan wlan1 type access-point security aaa authentication radius_list
set interfaces wlan wlan1 type access-point security pmf required

Step 2: Set the following configuration in DUT0:

set interfaces bridge br0 address 192.168.100.1/24

Step 3: Configure the MON device to connect to network_5GHz using the following configuration:

set controllers wlan installation indoor
set controllers wlan radios wifi1 bandwidth 20MHz
set interfaces wlan wlan0 phy wifi1
set interfaces wlan wlan0 type station network 1 bssid 52:5a:65:42:f9:88
set interfaces wlan wlan0 type station network 1 ssid network_5GHz
set system wlan log-level configuration debug
set interfaces wlan wlan0 address 192.168.100.10/24
set interfaces wlan wlan0 type station network 1 security akm dot1x-256
set interfaces wlan wlan0 type station network 1 security pairwise-ciphers aes-ccmp
set interfaces wlan wlan0 type station network 1 security framework rsn
set interfaces wlan wlan0 type station network 1 security eap-method mschapv2
set interfaces wlan wlan0 type station network 1 security identity testing
set interfaces wlan wlan0 type station network 1 security passphrase password
set interfaces wlan wlan0 type station network 1 security pmf required

Step 4: Ping IP address 192.168.100.1 from MON:

admin@MON$ ping 192.168.100.1 count 2 size 56 timeout 1
Show output
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=6.53 ms
64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=7.26 ms

--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 3ms
rtt min/avg/max/mdev = 6.531/6.895/7.260/0.373 ms

WPA2/WPA3-Enterprise Transition Mode

Description

In this example, the wlan1 interface will be configured in WPAv2/WPAv3 enterprise mode, also known as WPAv3 transition mode, where the security is ensured by mean of the radius server 10.215.168.1. The aes-ccmp cipher will be used for unicast traffic. Protected Management Frames or pmf must be set to optional in this mode.

Scenario

Note

This is a transition mode intended to provide connectivity to WPAv2 capable stations. WPAv3 capable stations will use this security mode when connecting to the device.

Step 1: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 channel 36
set controllers wlan radios wifi0 bandwidth 80MHz
set controllers wlan radios wifi0 mode 802.11n
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11ax
set interfaces bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces wlan wlan1 bridge-group bridge br0
set interfaces wlan wlan1 phy wifi0
set interfaces wlan wlan1 type access-point ssid network_5GHz
set interfaces wlan wlan1 type access-point security akm dot1x
set interfaces wlan wlan1 type access-point security akm dot1x-256
set interfaces wlan wlan1 type access-point security pairwise-ciphers aes-ccmp
set interfaces bridge br0 address 10.215.168.64/24
set system aaa server radius radius_server address 10.215.168.1
set system aaa server radius radius_server key enq88RORo0P5x3Wtyxfwerkj45sdLKJdnvdSASDi
set system aaa group radius radius_group server radius_server
set system aaa list radius_list method 1 group radius radius_group
set interfaces wlan wlan1 type access-point security aaa authentication radius_list
set interfaces wlan wlan1 type access-point security pmf optional

Step 2: Set the following configuration in DUT0:

set interfaces bridge br0 address 192.168.100.1/24

Step 3: Configure the MON device to connect to network_5GHz using the following configuration:

set controllers wlan installation indoor
set controllers wlan radios wifi1 bandwidth 20MHz
set interfaces wlan wlan0 phy wifi1
set interfaces wlan wlan0 type station network 1 bssid 52:5a:65:42:f9:88
set interfaces wlan wlan0 type station network 1 ssid network_5GHz
set system wlan log-level configuration debug
set interfaces wlan wlan0 address 192.168.100.10/24
set interfaces wlan wlan0 type station network 1 security akm dot1x
set interfaces wlan wlan0 type station network 1 security akm dot1x-256
set interfaces wlan wlan0 type station network 1 security pairwise-ciphers aes-ccmp
set interfaces wlan wlan0 type station network 1 security framework rsn
set interfaces wlan wlan0 type station network 1 security eap-method mschapv2
set interfaces wlan wlan0 type station network 1 security identity testing
set interfaces wlan wlan0 type station network 1 security passphrase password
set interfaces wlan wlan0 type station network 1 security pmf optional

Step 4: Ping IP address 192.168.100.1 from MON:

admin@MON$ ping 192.168.100.1 count 2 size 56 timeout 1
Show output
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=6.65 ms
64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=2.55 ms

--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 3ms
rtt min/avg/max/mdev = 2.547/4.599/6.651/2.052 ms