Netmap/VALE

2014-12-23 Thread Stan Ratliff
Hello, If my questions are naive, I apologize. However, I would like to look into moving traffic between Linux network namespaces (or rather, LXC-based applications running in a network name space) via VALE/Netmap. Since the namespaces only work with a "veth" interface, are those already supported

FIXED [Re: Netmap-ipfw, how to fill a table by 15K entries ?]

2014-12-23 Thread Luigi Rizzo
Ok please pull the "next" branch from code.google.com/p/netmap-ipfw/ which has a fix applied (set TCP_NODELAY on the connection). With that i can load a table with 64k entries in about 3 seconds. The "master" branch also has the same fix, but loading a table appears to be buggy when it comes to ta

Re: Netmap-ipfw, how to fill a table by 15K entries ?

2014-12-23 Thread Luigi Rizzo
On Tue, Dec 23, 2014 at 5:04 PM, wrote: > Dear Luigi > > Today I installed the last distribution of FreeBSD-Stable 10.1 and > took netmap-ipfw from your place by: > > git clone https://code.google.com/p/netmap-ipfw/ > (hope the latest version) > i am investigating the problem. First, the "next"

Re: Netmap-ipfw, how to fill a table by 15K entries ?

2014-12-23 Thread info
Julian, I tested your method, result is negative, I see following: First Console: root@testbridge:/usr/local/netmap-ipfw/netmap-ipfw/ipfw # more tab-cont.txt | ./ipfw /dev/stdin connected to 127.0.0.1: ^C Freeze. Have to interrupt by CTRL-C after 30 sec. Second Console: root@testbridge:/u

Re: Netmap-ipfw, how to fill a table by 15K entries ?

2014-12-23 Thread Julian Elischer
On 12/23/14 11:32 PM, i...@aknet.kg wrote: Eugene, sure, first we tried was a method with file. But after first 2-3 rules (table 10 add xxx.xxx.xxx.xxx) it hangs and we loose console interaction. (the last FreeBSD-Stable 10.1) It needs to open new console and kill a process ./ipfw /usr/local/

Re: Netmap-ipfw, how to fill a table by 15K entries ?

2014-12-23 Thread info
Dear Luigi Today I installed the last distribution of FreeBSD-Stable 10.1 and took netmap-ipfw from your place by: git clone https://code.google.com/p/netmap-ipfw/ (hope the latest version) netmap compiled into kenel by devicenetmap Test computer i7-3770 (3.4Ghz), network card Intel DA-520

Re: Netmap-ipfw, how to fill a table by 15K entries ?

2014-12-23 Thread Luigi Rizzo
please take the code from code.google.com/p/netmap-ipfw/ The symptoms you describe seem related to a bug that i fixed a couple of months ago. cheers luigi On Tue, Dec 23, 2014 at 2:02 PM, IT Department, AkNet ISP wrote: > Hello to All > > Can anybody tell, how to fill a table with large number

Re: Netmap-ipfw, how to fill a table by 15K entries ?

2014-12-23 Thread info
Eugene, sure, first we tried was a method with file. But after first 2-3 rules (table 10 add xxx.xxx.xxx.xxx) it hangs and we loose console interaction. (the last FreeBSD-Stable 10.1) It needs to open new console and kill a process ./ipfw /usr/local/.../rules.txt And ./ipfw table 10 list sh

Re: Netmap-ipfw, how to fill a table by 15K entries ?

2014-12-23 Thread Eugene Grosbein
On 23.12.2014 20:02, IT Department, AkNet ISP wrote: > Hello to All > > Can anybody tell, how to fill a table with large number of entries ? > > Sure, It can be done by standard method by ./ipfw table 10 add > xxx.xxx.xxx.xxx in a script, but each entry takes couple of seconds to > be placed into

Netmap-ipfw, how to fill a table by 15K entries ?

2014-12-23 Thread IT Department, AkNet ISP
Hello to All Can anybody tell, how to fill a table with large number of entries ? Sure, It can be done by standard method by ./ipfw table 10 add xxx.xxx.xxx.xxx in a script, but each entry takes couple of seconds to be placed into a table: ./ipfw table 10 add 192.168.10.50 connected to 127.0.0.1