<br><br><div class="gmail_quote">On Thu, Feb 28, 2013 at 8:12 PM, Jouni Malinen <span dir="ltr">&lt;<a href="mailto:j@w1.fi" target="_blank">j@w1.fi</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Fri, Feb 22, 2013 at 08:52:19PM +0100, tabibel sami wrote:<br>
&gt;     In purpose to experiment eap-sim authentication protocol, i start by<br>
&gt; create the following virtual infrastructure:<br>
&gt;<br>
&gt;      supplicant &lt;---------&gt; NAS (AP)&lt; --------------&gt; freeradius server<br>
&gt;       <a href="http://10.0.0.1/24" target="_blank">10.0.0.1/24</a>              <a href="http://10.0.0.2/24" target="_blank">10.0.0.2/24</a>                  <a href="http://195.12.16.17/24" target="_blank">195.12.16.17/24</a><br>

&gt;                       |            |             |                    |<br>
&gt;                       |            |             |                    |<br>
&gt;                       |            |             |                    |<br>
&gt;                 vmnet8      eth0       bridge              eth0<br>
<br>
&gt; supplicant : is my real machine,<br>
&gt; NAS : is a vmplayer virtual machine,<br>
&gt; freeradius server : is an lxc container<br>
<br>
</div>Is there any specific requirement for using a virtual machine for the<br>
NAS?<br></blockquote><div>no, i have used it only to avoid using lxc one hote. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
&gt; is there a way to test hostapd, and to simulate an 802.1x authentication<br>
&gt; with above virtual network ?<br>
&gt; does wpa_supplicant do this authentication in case of ethernet (virtual);<br>
&gt; or wpa_supplicant do only wireless authentication ?<br>
<br>
</div>wpa_supplicant can use IEEE 802.1X either with wireless or wired.<br>
However, I&#39;ve never tested this type of setup with a virtual guest and<br>
host being used for the &quot;wired&quot; interface. It could be possible to get<br>
that working, but it would likely be quite a bit simpler to use<br>
mac80211_hwsim with wpa_supplicant and hostapd using the virtual WLAN.<br></blockquote><div> <span id="result_box" class="" lang="en"><span class="hps">thank you for the</span> <span class="hps">information</span><span class="">, I will follow</span> <span class="hps">this track.</span></span></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Jouni Malinen                                            PGP id EFC895FA<br>
_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</font></span></blockquote></div><br>