Re: Multiple instances of hostapd?

2018-01-01 Thread Jim Thompson
https://lists.freebsd.org/pipermail/freebsd-wireless/2015-January/005345.html > On Jan 1, 2018, at 11:33 PM, Victor Sudakov wrote: > > Dear Colleagues, > > I would like to run multiple instances of hostapd, each per a wlanX > interface. I see some provisions for multiple instances inside the >

Re: VLANing between jails not segmenting traffic

2018-01-01 Thread Julian Elischer
On 31/10/17 5:26 am, Eugene Grosbein wrote: 31.10.2017 4:08, Farhan Khan пишет: Hi all, I am trying to experiment with setting up two jails on different VLANs, but have not been able to segment traffic. My configuration was to create vlan1 for jail1 and vlan2 for jail2. I did the following c

Multiple instances of hostapd?

2018-01-01 Thread Victor Sudakov
Dear Colleagues, I would like to run multiple instances of hostapd, each per a wlanX interface. I see some provisions for multiple instances inside the /etc/rc.d/hostapd file, but cannot grok the correct rc.conf syntax instead of just hostapd_enable="YES" for a single instance. I don't see it doc

Re: Linux netmap memory allocation

2018-01-01 Thread Charlie Smurthwaite
On 01/01/18 21:05, Vincenzo Maffione wrote: 2018-01-01 17:14 GMT+01:00 Charlie Smurthwaite mailto:charlie@atech.media>>: Hi, Thank you for your reply. I was able to resolve this. 1) I do indeed open one FD per NIC 2) I no longer specify nr_arg1, nr_arg2 nor nr_arg3. Instead I just verify th

Re: Linux netmap memory allocation

2018-01-01 Thread Vincenzo Maffione
2018-01-01 17:14 GMT+01:00 Charlie Smurthwaite : > Hi, > > Thank you for your reply. I was able to resolve this. > > 1) I do indeed open one FD per NIC > 2) I no longer specify nr_arg1, nr_arg2 nor nr_arg3. Instead I just verify > that all NICs return with identical nr_arg2 so that the memory is s

Re: Linux netmap memory allocation

2018-01-01 Thread Charlie Smurthwaite
Hi, Thank you for your reply. I was able to resolve this. 1) I do indeed open one FD per NIC 2) I no longer specify nr_arg1, nr_arg2 nor nr_arg3. Instead I just verify that all NICs return with identical nr_arg2 so that the memory is shared between them. 3) I properly initialized my memory, my

Re: Linux netmap memory allocation

2018-01-01 Thread Vincenzo Maffione
Hi, If you have 32 NICs you should open 32 netmap file descriptors, (and you should not specify 64 in nr_arg1 or 256 in nr_arg3, this is for different usecases). Also, since you want to do zercopy you must not specify a separate memory area (nr_arg2), but use the same one. You may want to use the

[Bug 224795] vlan interfaces created off tap devices do not work

2018-01-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224795 Mark Linimon changed: What|Removed |Added Assignee|freebsd-b...@freebsd.org|freebsd-net@FreeBSD.org -- You are