2015-03-31 21:36 GMT+02:00 alessandro macuz <[email protected]>:
> 2015-03-31 20:35 GMT+02:00 Luca Bertoncello <[email protected]>: > >> alessandro macuz <[email protected]> schrieb: >> >> > I'd keep the bridge created by openwrt and move eth0.10 from whatever >> > bridge it is under to that breth0.10, just for testing. Better to reboot >> > the device before proceeding. >> >> I tryed this (after WLAN device authenticated): >> >> brctl delif breth0.10 wlan0.10 >> brctl addif br-lan wlan0.10 >> ifconfig eth0.10 up >> >> the last (ifconfig) since moving the interface to another bridge turn off >> the >> interface. >> Now it WORKS! >> >> I can reach the WLAN device from my gateway and I can move the device to >> another VLAN just changing the value in the Database... >> >> But the very strange is: if another device connect to the WLAN, I cannot >> reach the previous one... >> >> I'm very puzzled... Maybe does the dynamic VLAN assignment on Barrier >> Breaker NOT work? > > > I think it's a problem of configuration but I don't have any OpenWRT at > hand which to play with to confirm it. > > Alex > > Ciao Luca, though I haven't configured the trunk between the OpenWRT and a switch and hence the client doesn't get the IP address These are my settings: /etc/config/network config interface 'lan' option ifname 'eth0.1' option force_link '1' option type 'bridge' option proto 'static' option ip6assign '60' option ipaddr '10.a.b.181' option netmask '255.255.254.0' option gateway '10.a.b.180' option broadcast '10.a.b.254' /etc/config/wireless config wifi-device 'radio0' option type 'mac80211' option hwmode '11g' option path 'pci0000:00/0000:00:02.0/ssb1:0' option txpower '20' option country '00' option disabled '0' option channel '9' config wifi-iface option network 'lan' option ssid 'authx' option encryption 'wpa2' option device 'radio0' option mode 'ap' option auth_server 10.a.b.224 option auth_secret testing123 option dynamic_vlan 2 option vlan_file /etc/config/hostapd.vlan option vlan_tagged_interface eth0 and when the client tries to connect I get root@OpenWrt:~# brctl show bridge name bridge id STP enabled interfaces br-lan 7fff.00221521b206 no eth0.1 wlan0 breth0.6 8000.00221521b206 no eth0.6 wlan0.6 >From your config "lan" try to remove option _orig_ifname 'eth0.10 wlan0' and leave just option ifname 'eth0.1' In any case do you agree that packets between different WLAN/VLAN are not routed by OpeWRT? Do you have an external router for that? >From the output of brctl packets coming from wlan0.6 can only go back to wlan0.6 (back to another client that got authenticated on the same WLAN) or through eth0.6 (wired client on VLAN 6) Alex
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
