From owner-freebsd-net@FreeBSD.ORG Wed Dec 10 22:09:34 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3A3C4DDF for ; Wed, 10 Dec 2014 22:09:34 +0000 (UTC) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) (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 00841B7C for ; Wed, 10 Dec 2014 22:09:34 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id tr6so3672509ieb.3 for ; Wed, 10 Dec 2014 14:09:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=hYkmGF4TQ1pXP1WaGFIlrs3hhsdjfGUw0RTT7V/HQKA=; b=Sct4W34wng7BYx3YHNi1X1NW5P6Z9PgRhAfe4EHFjsU9oWJrOAu3brKJvINbJ+eDAt j+KTCzwbZE/6wQ3jl1dcAu0b/obbfUSe9MaYnBnr9OFtU5/dEmykhG6vxxzI4++nZebe PrS7ep7SsiUOsXQnQYo6eHJqyBytsFN/5JO3M+kf2a98c03OrCer7DtryV7KvmhTfgpx Nts+F7Uxuon2+hpE5Xudrw9dwtdf2h7ayaEivZtlOUMLx4Bg3CkbS80S1NmTcV9jlJdv 3ryQiKHmyehXVg0tv9rXYdI3h7Pm3wLBNQeFpTGWHBdJVmNjsd2MToetnsZmHah/dl+S r+iw== X-Received: by 10.107.162.134 with SMTP id l128mr6631322ioe.65.1418249373478; Wed, 10 Dec 2014 14:09:33 -0800 (PST) Received: from [10.1.69.81] (gs-sv-1-49-ac1.gsfc.nasa.gov. [198.119.56.43]) by mx.google.com with ESMTPSA id qj3sm175202igc.17.2014.12.10.14.09.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Dec 2014 14:09:32 -0800 (PST) Message-ID: <5488C49A.5070503@gmail.com> Date: Wed, 10 Dec 2014 17:09:30 -0500 From: John Jasen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: FreeBSD Net Subject: netmap versus routing/firewalling and confusion Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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: Wed, 10 Dec 2014 22:09:34 -0000 Is there a complete idiot's guide to netmap, that I've not stumbled upon as of yet? I'm interested in trying to cook up a router/firewall leveraging netmap, but I'm stuck as to how to use it. For example, the cards I'm using, Chelsio 40GbE adapters, create ncxl$number virtual interfaces when netmap is compiled into the kernel, but these appear to only make things easier when using netmap-enabled code (such as pkt-gen). I've read some of the postings and papers on netmap and vale, especially interesting in netmap-ipfw, but I get lost in the examples using vale. IE: it seems I can use vale to create virtual ethernet devices, but I've not figured out how to attach physical ones to it. Any pointers, or free gifts of clue kindly appreciated.