tap and vlan

wlanmac wlan at mac.com
Fri Oct 24 07:51:47 UTC 2008


The usetap option has always been highly experimental and largely
useless. A while back there was a bug with certain features that was
worked around using usetap, which has been fixed (the details I would
have to lookup). Using a tap doesn't make much sense, at the end of the
day. You want to use the tun interface so that the kernel has the
ability to route the packet appropriately, out through the default
gateway if not a local destination. However, with a tap, chilli would
have to figure out if the destination is local or not before deciding on
the destination MAC address. 

I'm interested to know what doesn't work when you use a tun interface
(assuming you are using at least chilli 1.0.12, or even better, the svn
version) and why the tap is required in your environment. 

David


On Fri, 2008-10-24 at 10:43 +0300, Oguzhan Kayhan wrote:
> Hello,
> In our campus, we wanted to test TAP instead of tun.
> And we found out something.Maybe a bug, or a thing that should not 
> suppose to do.
> 
> 
> Normally,
> when we use usetap parameter in normal coova configurations, everything
> works fine.
> 
> But if we try to run chilli on a vlan interface with usetap parameter,
> Clients can able to get their ip addresses via coova but, unable to go
> anywhere beyond, seems like can not get tagged by vlan. But if we tcpdump
> on vlan interface we see the packets.So it should be ok till kernel level.
> 
> I am wondering what can cause this.. A bug in chilli-coova or in kernel
> level..
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: chilli-unsubscribe at coova.org
> For additional commands, e-mail: chilli-help at coova.org
> Wiki: http://coova.org/wiki/index.php/CoovaChilli
> Forum: http://coova.org/phpBB3/viewforum.php?f=4
> 




More information about the Chilli mailing list