en:cs:tp-link_tl-wa901n_nd_v3_multiple_ssid_and_multiple_vlan

Example configuration

The LAN is considered DHCP powered and the TP-Link is OpenWRT powered.
This configuration is for two tagged VLANs to isolate two SSIDs.

--- 8< --- /etc/config/network
...
config interface 'lan'                                                                               
        option ifname 'eth0'                                                                                                                                 
        option proto 'dhcp'                                                                                                                                  
        option hostname 'tp-link-coworkers'                                                                                                              
                                                                                                                                                             
config interface 'vlan101'                                                                                                                                   
        option type 'bridge'                                                                                                                                 
        option _orig_ifname 'eth0.101'                                                                                                                       
        option _orig_bridge 'true'                                                                                                                           
        option proto 'dhcp'                                                                                                                                  
        option ifname 'eth0.101'                                                                                                                             
                                                                                                                                                             
config interface 'vlan102'                                                                                                                                   
        option type 'bridge'                                                                                                                                 
        option _orig_ifname 'eth0.102'                                                                                                                       
        option _orig_bridge 'true'                                                                                                                           
        option proto 'dhcp'                                                                                                                                  
        option ifname 'eth0.102' 
...
--- >8 ---
--- 8< --- /etc/config/wireless
...
config wifi-iface
        option device 'radio0'
        option mode 'ap'
        option ssid 'La Bo[a]te Coworkers'
        option encryption 'psk2'
        option key 'xx'
        option network 'vlan101'

config wifi-iface
        option device 'radio0'
        option mode 'ap'
        option ssid 'La Bo[a]te Public'
        option encryption 'psk2'
        option key 'xx'
        option network 'vlan102'
...
--- >8 --- 
  • en/cs/tp-link_tl-wa901n_nd_v3_multiple_ssid_and_multiple_vlan.txt
  • Dernière modification : il y a 3 ans
  • de 127.0.0.1