mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
55 lines
787 B
JSON
55 lines
787 B
JSON
{
|
|
"uuid": 2,
|
|
"interfaces": [
|
|
{
|
|
"name": "WAN",
|
|
"role": "upstream",
|
|
"ethernet": [
|
|
{
|
|
"select-ports": [
|
|
"WAN*"
|
|
]
|
|
}
|
|
],
|
|
"ieee8021x-ports": [ "LAN1" ],
|
|
"ipv4": {
|
|
"addressing": "dynamic"
|
|
}
|
|
},
|
|
{
|
|
"name": "LAN",
|
|
"role": "downstream",
|
|
"services": [ "ssh" ],
|
|
"ethernet": [
|
|
{
|
|
"select-ports": [
|
|
"LAN2"
|
|
]
|
|
}
|
|
],
|
|
"ipv4": {
|
|
"addressing": "static",
|
|
"subnet": "192.168.1.1/24",
|
|
"dhcp": {
|
|
"lease-first": 10,
|
|
"lease-count": 100,
|
|
"lease-time": "6h"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"services": {
|
|
"ieee8021x": {
|
|
"mode": "radius",
|
|
"radius": {
|
|
"auth-server-addr": "192.168.178.5",
|
|
"auth-server-port": 1812,
|
|
"auth-server-secret": "secret"
|
|
}
|
|
},
|
|
"ssh": {
|
|
"port": 22
|
|
}
|
|
}
|
|
}
|