IOS – Multiple simultaneous wifi connections

airdropiosmacbook prowifi

With the release of airdrop it is apparent that my WiFi network card is capable of making more than one network connection. Are there any apps, documentation, command line tools, etc. for managing multiple wireless connection on my mac.

in a nut shell can I get my single wireless nic to act like two wireless nics?

I am asking about this because I have applications on my iPad that can only communicate with my macbook via WiFi (apple doesn't allow hard wired transmission of data for most apps). Right now my laptop can either talk to the internet or my iPad(network im on blocks everything but internet access so my macbook and ipad can't talk on that network). It would be great if my laptop could connect to both since it seems the hardware is capable.

I poked around a bit more and it looks like its pretty simple to add a vlan on the wired interface but there isn't an option in the gui to set one up for the wireless. Using the ifconfig commands from this page I have managed to get a vlan for the wireless interface now but i'm not sure how to use a wireless interface from the terminal.

I was also able to modify my preferences.plist as described by bmasterswizzle and have the virtual wireless interface in my system settings. Unfortunately I'm missing something because I can ping the virtual interface from that machine but I can't ping the virtual interface from other systems on the network.

PING 10.0.0.114 (10.0.0.114): 56 data bytes
ping: sendto: No route to host
Request timeout for icmp_seq 0

I'm inching my way closer but I think there are some routing issues I need to address. I'm not really an expert on more complicated networking setups.

Best Answer

If you have a couple of computers kicking around to test AirDrop on, you can open a terminal on each machine and enter something like 'ifconfig -a' which will list all your networking interface cards. I'm not near a Mac or Unix box to show, but what you will see is a network interface that might be called say "en0" (Ethernet0) which is a physycal interface (may be wifi, or cabled) and a further one called "en0:0" which is a logical interface that piggybacks on top of the physycal interface. In this way you can run multiple virtual interfaces using just one physical one, and this is how AirDrop works. It is possible to manually create these interfaces yourself, and "multihome" your mac by having one interface say on a 192.168 address, and the other on say a 172.16 address, thus allowing it to talk to 2 networks at a time. It was always relatively straightforward on cabled interfaces, but I am not sure how tricky it would be (from a hardware support viewpoint) with wireless connections, but it's clearly possible in some way. See this question and answer for more details, but in short you need to be familiar with such terminal commands as ifconfig, netstat, route etc. Use the Airdrop network to access a computer?