Hi folks, I'm a little worried about the configuration for bridge-vlan or we can say vlan configuration on wlan.
i require below configuration pushing from openwisp controller but not able to add some options in config device section like ifname, vid, type which are exactly shown below and required-
In /etc/config/network
config bridge-vlan
option device 'up'
option vlan '8021q'
list ports 'eth0:t'
config device
option type '8021q'
option name 'up3v2869'
option ifname 'up'
option vid '2869'
config interface 'up3v2869'
option ifname 'up3v2869'
option metric '5'
option proto 'dhcp'
option ip4table '2'
option peerdns '1'
Below is my preview configuration attached picture and its Advanced mode (raw JSON):
{
"interfaces": [
{
"type": "ethernet",
"name": "up3v0000",
"network": "br0_vlan",
"addresses": [
{
"proto": "dhcp",
"family": "ipv4",
"ifname": "up3v2869"
}
],
"peerdns": "1",
"ip4table": "2",
"metric": 5
}
],
"network": [
{
"config_name": "bridge-vlan",
"device": "up",
"vlan": 2869,
"ports": [
"eth0:t"
]
}
]
}
so please help me that how can we add options in config device section... or if any other suggestions for it please let me know.
thanks in advance..