Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using wpa_supplicant, hostapd and freeradius. I am using wired LAN.

Is it possible to connect wpa_supplicant to multiple hostapd in wired LAN environment?

If wpa_supplicant can connect multiple hostapd then how does it make a difference between different hostapds.

As I have seen in wpa_supplicant configuration file there is a network block. How do I configure this network block so that it can connect multiple hostapd.

share|improve this question

For wired LANs, the 802.1X Authenticator usually built into the 802.1X-capable switch, and the switch ensures that 802.1X frames are not forwarded beyond the built-in Authenticator.

If you've created a LAN where 802.1X frames can reach multiple Authenticators, you have not created a proper 802.1X-compliant LAN.

share|improve this answer
Hi thnx for your answer. I don't have a 802.1X-capable switch. I am using 3 linux pc, two of them running hostapd and one pc running wpa_supplicant. 3 machines are connected to same Lan segment. My question is if this set up is valid or not? or is it like only one hostapd can run with the wpa_supplicant in a Lan segment. – debjyoti May 10 '11 at 5:30
@debjyoti No, your setup is not valid. 802.1X on a wired LAN is useless if your switch is not blocking non-802.1X traffic to/from your client until after 802.1X authentication completes. It's also invalid if more than one Authenticator is reachable from your Supplicant. – Spiff May 10 '11 at 13:43
Hi Spiff, Earlier u have mentioned about 802.1X-compliant LAN. can you tell me how can i set up 802.1X-compliant LAN?? I have 3 linux pc two of them running hostapd and one pc running wpa_supplicant. I dont have any switch. please suggest me some solution. Thanks in advance – debjyoti May 18 '11 at 13:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.