I am on track to replace my old D-Link DGS-1210-28, to HPE 1920-24G with openwrt, but cretaing vlans in it seems complicated. My current seetings are the follows:
And this is the default config of the hp after firmware change:
It seems vlan1 is default on all ports, and i use this also on the old nonwrt switch for management only.
Could anyone help me, with some -luci- steps?
Based on that, I would make some easy to follow guide in the device wiki, it is still somewhat incomplete.
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix '****:****:****::/48'
config device 'switch'
option name 'switch'
option type 'bridge'
option macaddr '**:**:**:**:**:**'
config bridge-vlan 'lan_vlan'
option device 'switch'
option vlan '1'
option ports 'lan1 lan2 lan3 lan4 lan5 lan6 lan7 lan8 lan9 lan10 lan11 lan12 lan13 lan14 lan15 lan16 lan17 lan18 lan19 lan20 lan21 lan22 lan23 lan24 lan25 lan26 lan27 lan28'
config device
option name 'switch.1'
option macaddr '**:**:**:**:**:**'
config interface 'lan'
option device 'switch.1'
option proto 'dhcp'
# option ipaddr '192.168.1.1'
# option netmask '255.255.255.0'
# option ip6assign '60'
