Temat: Odebranie tagowanych vlanów + WIFI
Jak w temacie,Potrzebuję odebrać vlan-y na porcie pierwszym (fizycznie w switchu nr2) i puścic bezprzewodowo dwoma innymi sieciami. WR741ND v4.22 Openwrt 19.07. Przetrzepałem internet i ulepiłem coś takiego:
network:
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1 eth1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 0t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '2t 0t'
config switch_vlan
option device 'switch0'
option vlan '102'
option ports '2t 0t'
config interface 'wifi1'
option type 'bridge'
option ifname 'eth0.2'
config interface 'wifi2'
option type 'bridge'
option ifname 'eth0.102'wireless:
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'wifi1'
option mode 'ap'
option ssid 'aj_test'
option encryption 'none'
config wifi-iface
option device 'radio0'
option network 'wifi2'
option mode 'ap'
option ssid 'pc_test'
option encryption 'none'Niestety nie działa mi drugi vlan (102).
Co robię źle i czy to dobrze wygląda? czy ewentualnie coś zmienić?
sprzęt robi tylko i wyłącznie za AP-ka.