hostap/mac80211_hwsim/tests/0002-vlan/test.txt
Jouni Malinen b3f240bc0e Added a place for example mac80211_hwsim test cases
The tests directory and its subdirectories contain a set of configuration
files that can be used to exercise various mac80211, hostapd, and
wpa_supplicant features. The test.txt file in each test directory describes
the particular test and includes the commands needed to run the test.
2008-08-28 18:53:47 +03:00

16 lines
306 B
Plaintext

# Plaintext connection, two clients, different VLANs
modprobe mac80211_hwsim radios=3
hostapd hostapd.conf
ifconfig wlan1 up
iwconfig wlan1 essid "mac80211 test"
ifconfig wlan2 up
iwconfig wlan2 essid "mac80211 test"
# Expected results:
# STA1(wlan1) is bound to vlan1
# STA2(wlan2) is bound to vlan2