From owner-freebsd-net@freebsd.org Fri Jul 10 19:58:53 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 EBA63997C62 for ; Fri, 10 Jul 2015 19:58:52 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::234]) (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 9C1C511CF for ; Fri, 10 Jul 2015 19:58:52 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: by qkdv3 with SMTP id v3so18851905qkd.3 for ; Fri, 10 Jul 2015 12:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=y2gHEMd8qqEyH19HM30Ju7pBxL/QDl3M8dhUQbiyXbw=; b=u8mkC55/AbyN0Cw9Y6D3tXwcjGGho3C35RX4TfU4pGCOSnxMTNPLJeTuffh0XrMi2Y HchTZMsB9vrDYxOjbCg1b4/32wqgcMnN5JH9L88fuF9j524F/PcSrTTO9pUNu5tLYseg 8c0PQB1bvumcW9uaXs4HcKqVoLwO/VbiszwPv+ip6cFlH6sDf/7kleZhweMIdhv5kAfA hzdkePfuOCszxAh4reIFvVzMZtC1Rlb75QVNMIn0Gb1OKZUFm/ihdBq3XXJT+1mYMJNN FQAaxt/Mj4RB8vhrFARP3SB8VU1a2euCwnkoz3LLrG2lPBMBpvaUNwTewlRed8sUrKCm n3wA== MIME-Version: 1.0 X-Received: by 10.55.17.133 with SMTP id 5mr10547312qkr.2.1436558331752; Fri, 10 Jul 2015 12:58:51 -0700 (PDT) Received: by 10.96.111.232 with HTTP; Fri, 10 Jul 2015 12:58:51 -0700 (PDT) In-Reply-To: References: Date: Fri, 10 Jul 2015 16:58:51 -0300 Message-ID: Subject: Re: netmap-ipfw: kipfw two instances sharing same port From: Eduardo Meyer To: Luigi Rizzo 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:58:53 -0000 On Fri, Jul 10, 2015 at 4:15 PM, Luigi Rizzo wrote: > > > 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 = of >> > 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 > yeah it's what I thought, different queues, different packets what about the first approach? should I expect issues? kipfw netmap:ix0 netmap:ix1 kipfw netmap:ix0 netmap:ix2 thank you > =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 >> work? >> >> >> >> 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" >> > > > > -- > -----------------------------------------+------------------------------- > 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) > -----------------------------------------+------------------------------- > --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br