Virtual WiFi on Linux?

Ben Greear greearb
Wed Oct 19 13:32:42 PDT 2005


Jim Thompson wrote:
> On Oct 19, 2005, at 8:44 AM, Jean Tourrilhes wrote:

>>    The IP routing of Linux is quite clever at shortcutting, I
>>don't see the issue.
> 
> 
> If I have IP addresses A, B and C on interfaces a, b and c, and I  
> 'ping' any of them, will the packet leave the box?
> 
> Now, if I have IP addresses A, B and C on three 'virtual netdevs' (a,  
> b and c) and each of these is in a separate BSS, the *proper*
> behavior is that if I ping 'A' that the packet first goes out over  
> the wireless media to the AP where 'a' is associated.

Yes, the packets can be made to leave the box.  Search for send-to-self
in google...  I have a patch that does this, and other folks have patches
that do similar things.

Currently you need user-space to do some ioctls and such, but it's not
rocket science.

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com





More information about the Hostap mailing list