Search…
Multi-VLAN SSID
OpenWiFi 2.0
The most common use case for VLANs and Wi-Fi is likely the service provider, venue, enterprise where Wi-Fi traffic is not subject to address translation. This is the example that will be shown, however it is entirely possible to create multiple downstream VLANs with SSIDs as well. Simply replace the logic of upstream to downstream where desired.
Single SSID VLAN
Dual SSID - Dual VLAN
1
"interfaces": [
2
{
3
"name": "WAN",
4
"role": "upstream",
5
"services": [ "lldp", "dhcp-snooping" ],
6
"ethernet": [
7
{
8
"select-ports": [
9
"WAN*"
10
]
11
}
12
],
13
"ipv4": {
14
"addressing": "dynamic"
15
}
16
},
17
{
18
"name": "WAN100",
19
"role": "upstream",
20
"vlan": {
21
"id": 100
22
},
23
"ethernet": [
24
{
25
"select-ports": [
26
"WAN*"
27
]
28
}
29
],
30
"ssids": [
31
{
32
"name": "VLAN 100 Wi-Fi",
33
"wifi-bands": [
34
"2G", "5G"
35
],
36
"bss-mode": "ap",
37
"encryption": {
38
"proto": "psk2",
39
"key": "OpenWifi",
40
"ieee80211w": "optional"
41
}
42
}
43
]
44
},
Copied!
1
"interfaces": [
2
{
3
"name": "WAN",
4
"role": "upstream",
5
"services": [ "lldp", "dhcp-snooping" ],
6
"ethernet": [
7
{
8
"select-ports": [
9
"WAN*"
10
]
11
}
12
],
13
"ipv4": {
14
"addressing": "dynamic"
15
}
16
},
17
{
18
"name": "WAN100",
19
"role": "upstream",
20
"vlan": {
21
"id": 100
22
},
23
"ethernet": [
24
{
25
"select-ports": [
26
"WAN*"
27
]
28
}
29
],
30
"ssids": [
31
{
32
"name": "VLAN 100 Wi-Fi",
33
"wifi-bands": [
34
"2G", "5G"
35
],
36
"bss-mode": "ap",
37
"encryption": {
38
"proto": "psk2",
39
"key": "OpenWifi",
40
"ieee80211w": "optional"
41
}
42
}
43
]
44
},
45
{
46
"name": "WAN200",
47
"role": "upstream",
48
"vlan": {
49
"id": 200
50
},
51
"ethernet": [
52
{
53
"select-ports": [
54
"WAN*"
55
]
56
}
57
],
58
"ssids": [
59
{
60
"name": "VLAN 200 Wi-Fi",
61
"wifi-bands": [
62
"5G"
63
],
64
"bss-mode": "ap",
65
"encryption": {
66
"proto": "psk2",
67
"key": "OpenWifi",
68
"ieee80211w": "optional"
69
}
70
}
71
]
72
},
Copied!
In all cases the WAN port without VLAN id is using DHCP to obtain a management IP address. Each additional "upstream" role interface with an SSID associated have no IP configuration.
Last modified 2mo ago
Export as PDF
Copy link