From owner-freebsd-net@freebsd.org Fri Jul 10 19:14:34 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 5B2179974DB for ; Fri, 10 Jul 2015 19:14:34 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (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 16B6714A2 for ; Fri, 10 Jul 2015 19:14:34 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: by qkcl188 with SMTP id l188so30061219qkc.1 for ; Fri, 10 Jul 2015 12:14:33 -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=JWXcV4xGATtOH18Bqe7ge/gBH/ewIMPY0AGemsmVqb0=; b=blR4JxTJRQE7r2SHSBBlUPrr2KyFnMK6ITAqprhIinmqnF7k7+F5miTr8uMGuKX38c evwnO8HN4b7jO+ayqqG90FOpckpqMD5vTwQum2iD6yPxP8xIfffO5YyJG0l7mOWKU7fF L3049xiCeZ6PxxYzDSc4vLiLNQcikBTPcdR9xt4rdOzPbH0OGydHNaEdQfhfCj8A3ZpA +voNbuZTr8rFSYoaMTSSZabBMWxvvQlOcgGKvis7YjLR6Cp+LNw/8l72pkv64yfC7NSf WAUPLwMPkD4HgIZyBmvcfDaE4FwcoPdub9qvCmmURplCvw6PQt6TLwBnhID5M4/WU+5U UCcw== MIME-Version: 1.0 X-Received: by 10.140.83.84 with SMTP id i78mr35867859qgd.14.1436555673034; Fri, 10 Jul 2015 12:14:33 -0700 (PDT) Received: by 10.96.111.232 with HTTP; Fri, 10 Jul 2015 12:14:32 -0700 (PDT) In-Reply-To: References: Date: Fri, 10 Jul 2015 16:14:32 -0300 Message-ID: Subject: Re: netmap-ipfw: kipfw two instances sharing same port From: Eduardo Meyer To: Pavel Odintsov Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 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:14:34 -0000 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. 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. >> >> -- >> =========== >> 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 > -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br