From owner-freebsd-net@freebsd.org Fri Jul 10 19:15:48 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28207997536 for ; Fri, 10 Jul 2015 19:15:48 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 800FD1585 for ; Fri, 10 Jul 2015 19:15:47 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by labgy5 with SMTP id gy5so118649795lab.2 for ; Fri, 10 Jul 2015 12:15:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=g4t0pMMqBbCDFol/rHdLtYxit+twBQGn2HllYViJQto=; b=WZLTWEnVvMSejrQL8GvULBtDKrA2DARwmW0roGOMHC4NHbEqXhhjpWFbSBuOvyTs8M XJvdUXID2ZQWC2ezJAxKD5W0+FfNR6XjsuKJdEbjHMV4eqtJvDG1a2MN7RFrJtvWb0M2 1zwV7iYYeaCauY6hX/o/0XmAX51uzV3clZZuJD/FqztUWqiFw7CS635YEG+htAkvIgpX MQSenMGXN0fLMAN6xpq/bJm1iCZFQ+ertqpGTZiO9XSQa+4bxCQJZ8ZlOGD/G8yDXzIX 7wdZneBbaAx9/mkpOISsXFUYMiVIcBuQ42Dpio8AXIoe68viaJULpCMIMTG50B7GbSPL axXw== MIME-Version: 1.0 X-Received: by 10.112.138.100 with SMTP id qp4mr21207472lbb.62.1436555745022; Fri, 10 Jul 2015 12:15:45 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.230.103 with HTTP; Fri, 10 Jul 2015 12:15:44 -0700 (PDT) In-Reply-To: References: Date: Fri, 10 Jul 2015 21:15:44 +0200 X-Google-Sender-Auth: e7wR7OnaZt6ZPHsaTo_8d4iY_LQ Message-ID: Subject: Re: netmap-ipfw: kipfw two instances sharing same port From: Luigi Rizzo To: Eduardo Meyer Cc: Pavel Odintsov , "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2015 19:15:48 -0000 On Fri, Jul 10, 2015 at 9:14 PM, Eduardo Meyer wrote= : > On Fri, Jul 10, 2015 at 4:09 PM, Pavel Odintsov > wrote: > > > Hello! > > > > You could enable multiple queues for each NIC and run single instance o= f > > kipfw on each pair: > > kipfw netmap:ix0-0 netmap:ix1-0 > > kipfw netmap:ix0-1 netmap:ix1-1 > > > > And so on ;) i have about 12 mpps with this configuration (on Linux > > netmap). > > > > Wow cool hint and cool numbers. > > I will get everything properly bridged on both kipfw instances, right? > > I need to simulate like a 3-port bridge... this would me more like > > kipfw netmap:ix0-0 netmap:ix1-0 > kipfw netmap:ix0-1 netmap:ix2-0 > > But I need the same traffic coming on the wire on ix0 to be available on > both ix1 and ix2. > =E2=80=8Bit won't replicate traffic on the other two ports, that's a different logic. cheers luigi =E2=80=8B > > Will that work like that? I only tried using the default q. > > > > > > > > > > > > > > On Friday, July 10, 2015, Eduardo Meyer wrote: > > > >> Hello, > >> > >> should ./kipfw and another ./kipfw wor= k? > >> > >> I want to have two filtered kipfw instances sharing the same WAN port. > >> > >> So far I did a quick test lab and it worked, but since it's a lab > >> environment I don't know if I should expect other problems when I add = it > >> to > >> run in a real scenario. > >> > >> What problems should I expect? Can they be minimized? > >> > >> Basic stateless filtering only. > >> > >> -- > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> Eduardo Meyer > >> pessoal: dudu.meyer@gmail.com > >> profissional: ddm.farmaciap@saude.gov.br > >> _______________________________________________ > >> freebsd-net@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-net > >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >> > > > > > > -- > > Sincerely yours, Pavel Odintsov > > > > > > -- > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Eduardo Meyer > pessoal: dudu.meyer@gmail.com > profissional: ddm.farmaciap@saude.gov.br > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --=20 -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+-------------------------------