From owner-freebsd-net@FreeBSD.ORG Tue Sep 30 20:00:27 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3382D438 for ; Tue, 30 Sep 2014 20:00:27 +0000 (UTC) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97FE8363 for ; Tue, 30 Sep 2014 20:00:26 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id gm9so3118225lab.41 for ; Tue, 30 Sep 2014 13:00:24 -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=liJj1RFvyuco2rR98yYxga87JRfjg4+6DYd68A5tEOA=; b=aSm47ouq33Tm6lJRFv4hPwTquN+aX2kqDdetl+f8eRxnitC6rNmPaUx1SPF86BD8K7 NKofClDNwVp0nbqKukgpHBelil4SW3F3/YeOD9SKhsQqQ6npbouDSpHtGqxlSc7Xty7j k19SlbraXf5zEDceOAf1IWikIFeAGqYutl9epGSE7nzfBhJBAiumQJuouoDFgIizzH4o JckpGyxjExZSAatOLIiBKZ6NNjp7WfqpMEpCtB0vEzIP6/7j2yvh9cFZ0AMIQ0J5P151 2DGCNV+IhWNHFgZt2iGTgIjacOHOAZMEyqWbMh1VV5PIdZnvnpd4aoskXNWoHdRvb89i 6PxA== MIME-Version: 1.0 X-Received: by 10.152.198.204 with SMTP id je12mr50437401lac.52.1412107224501; Tue, 30 Sep 2014 13:00:24 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.26.37 with HTTP; Tue, 30 Sep 2014 13:00:24 -0700 (PDT) In-Reply-To: References: Date: Tue, 30 Sep 2014 22:00:24 +0200 X-Google-Sender-Auth: NsgAn_COQGo7LGDw5JWQMkNtk1U Message-ID: Subject: Re: Will netmap-ipfw fwd? From: Luigi Rizzo To: Eduardo Meyer Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 20:00:27 -0000 On Tue, Sep 30, 2014 at 9:42 PM, Eduardo Meyer wrote= : > > > On Tue, Sep 30, 2014 at 4:20 PM, Luigi Rizzo wrote: > >> >> >> On Tue, Sep 30, 2014 at 8:57 PM, Eduardo Meyer >> wrote: >> >>> >>> >>> On Tue, Sep 30, 2014 at 1:49 PM, Luigi Rizzo wrote= : >>> >>>> Should work. >>>> Please try the latest version from code.google.com/p/netmap-ipfw/ >>>> >>>> Cheers >>>> Luigi >>>> >>> >>> OK just cloned. >>> >>> What should tbe topology be like? >>> >>> igb(4) -> netmap bridge -> vale -> ipfw? >>> >>> will lagg0 -> netmap bridge -> ipfw work too? >>> >> >> netmap-ipfw runs directly on top of the interfaces. >> please try to understand the model of operation >> of netmap before using it. >> >> cheers >> luigi >> =E2=80=8B >> > > > Im trying but im lacking documentation and examples. > > On top of the interface I tried this way: > > ./kipfw netmap:igb0 netmap:igb1 & > > But the interfaces just died. > > =E2=80=8Bsorry if i sound direct but this is why i urged you to "understand before using it". There are several papers and slides =E2=80=8Band videos =E2=80=8B on my web page =E2=80=8B and the youtube,=E2=80=8B a pretty long manpage, =E2=80=8B all indicating what happens to the interface (which does not die) when you switch to netmap mode. =E2=80=8BI=E2=80=8B t =E2=80=8Bmay =E2=80=8B take some time to =E2=80=8B read and familiarize with the above, but it is the only way to move forward. We cannot give you recipes because your expectations on what netmap =E2=80=8B =E2=80=8B does do not match =E2=80=8Bthe actual behaviour=E2=80=8B =E2=80=8B. cheers luigi=E2=80=8B =E2=80=8B =E2=80=8B