vlan configuration on wlan

43 views
Skip to first unread message

Sujeet kumar

unread,
Apr 3, 2024, 2:20:16 PMApr 3
to open...@googlegroups.com

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..

tmp_05228093-df45-411e-a3de-a1634968166e.png

f.capoano

unread,
Apr 17, 2024, 12:29:07 PMApr 17
to OpenWISP
We have an open PR for DSA support here:
https://github.com/openwisp/netjsonconfig/pull/261
Sorry for my late response but I have been extremely busy on work related to the next openwisp release and some openwisp deployments lately and had little time to contribute to this forum.
Reply all
Reply to author
Forward
0 new messages