Hi folks,<br><br>I am currently testing dynamic VLAN assignment with hostap and nl80211.<br>It was hard, but I success. The hostapd version is the current hostap 0.7 developpement branch and the compat-wirelless version is too the current dev branch compat-wireless-2009-11-23.tar.bz2.<br>

<br>To whom it may interess, the procedure is describe in part 1 : <br>
If not, please go to part 2 ;)<br><br>part 1: <br><br>your hostap.vlan conf file has to be like this for vlan between 1 and 4.<br>1      vlan1<br>2      vlan2<br>3      vlan3<br>4      vlan4<br><br>Don&#39;t create the vlan before running hostap.Don&#39;t change your hostap.vlan file with wlan1.# or something else.<br>

If you want to assign IP to your VLAN interface, do it after hostap has been launch.<br>If you get a DHCP, launch it after hostap has been launch.<br><br><br>part 2 :<br>For the developper,<br>is it normal that if the vlan already exist (before hostap lauches), the client won&#39;t be added into the vlan ?<br>

<br>Maxence.<br><br>