kammii
Goto Top

OpenWrt Bridged AP mit VLAN

Hallo,
ich bin gerade neu auf OpenWrt umgestiegen und wollte nun meinen Bridged AP einrichten, komme aber gerade nicht mehr weiter.

Ich möchte das der AP nur zwei Drahtlos Verbindungen bereitstellt, sonst soll alles andere der Haupt Router übermint, aber ich bin mir nun ziemlich unsicher ob ich nun eine Firewall Einstellungen brauche oder nicht, denn bis jetzt geht es nicht! aber in den Beschreibungen steht auch nicht das ich eine brauche. (http://wiki.openwrt.org/doc/recipes/bridgedap)
Ich möchte auch das sich die Geräte im zweiten netz (gast) nicht sehen können was auch auf dem Haupt Router schon passt,
über nimmt der AP dies auch?

Hoffe habe mich verständlich ausgedrückt.
Danke schon mal im voraus.

mfg. Kammii


Es ist ein TP-Link TL-MR3020 v1,6 mit OpenWrt Attitude Adjustment 12.09 / LuCI 0.11.1 Release (0.11.1).

Ich bin wie Vollakt vorgegangen.
Interfaces und VLAN's eingerichtet.
/etc/config/network
config interface 'loopback'  
        option ifname 'lo'  
        option proto 'static'  
        option ipaddr '127.0.0.1'  
        option netmask '255.0.0.0'  

config interface 'home'  
        option _orig_ifname 'radio0.network1'  
        option _orig_bridge 'false'  
        option proto 'static'  
        option type 'bridge'  
        option ipaddr '192.168.10.253'  
        option netmask '255.255.255.0'  
        option gateway '192.168.10.1'  
        option dns '192.168.10.1'  
        option ifname 'eth0.10'  

config interface 'gast'  
        option _orig_ifname 'radio0.network2'  
        option _orig_bridge 'false'  
        option proto 'static'  
        option type 'bridge'  
        option ipaddr '192.168.20.253'  
        option netmask '255.255.255.0'  
        option gateway '192.168.20.1'  
        option dns '192.168.20.1'  
        option macaddr '64:66:B3:DE:F5:D8'  
        option ifname 'eth0.20'  

config switch
        option name 'switch0'  
        option reset '1'  
        option enable_vlan '1'  

config switch_vlan
        option device 'switch0'  
        option vlan '3'  
        option vid '10'  
        option ports '0t'  

config switch_vlan
        option device 'switch0'  
        option vlan '4'  
        option vid '20'  
        option ports '0t'  

Dan habe die Drahtlos Verbindungen angegeben.
config wifi-device 'radio0'  
        option type 'mac80211'  
        option macaddr '10:fe:ed:75:c5:96'  
        option hwmode '11ng'  
        list ht_capab 'SHORT-GI-20'  
        list ht_capab 'SHORT-GI-40'  
        list ht_capab 'RX-STBC1'  
        list ht_capab 'DSSS_CCK-40'  
        option htmode 'HT40+'  
        option country 'DE'  
        option txpower '20'  
        option channel 'auto'  

config wifi-iface
        option device 'radio0'  
        option mode 'ap'  
        option disabled '1'  
        option ssid 'Home (2,4-GHz)'  
        option encryption 'psk2+tkip+ccmp'  
        option key 'Test123456789'  
        option network 'home'  

config wifi-iface
        option device 'radio0'  
        option mode 'ap'  
        option ssid 'Gast (2,4-GHz)'  
        option encryption 'psk2+tkip+ccmp'  
        option key 'Test987654321'  
        option network 'gast'  

Content-Key: 248325

Url: https://administrator.de/contentid/248325

Ausgedruckt am: 29.03.2024 um 04:03 Uhr