en:cs:tp-link_tl-wa901n_nd_v3_multiple_ssid_and_multiple_vlan

Ceci est une ancienne révision du document !


Example configuration

The LAN is considered DHCP powered and the TP-Link is OpenWRT powered.
This configuration is for two tagged VLANs for 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< ---
...
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 --- /etc/config/wireless
  • en/cs/tp-link_tl-wa901n_nd_v3_multiple_ssid_and_multiple_vlan.1415987297.txt.gz
  • Dernière modification : il y a 2 ans
  • (modification externe)