From owner-freebsd-net@FreeBSD.ORG Wed Jul 2 19:48:30 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B53C1065673 for ; Wed, 2 Jul 2008 19:48:30 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by mx1.freebsd.org (Postfix) with ESMTP id B6CF18FC16 for ; Wed, 2 Jul 2008 19:48:29 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by wx-out-0506.google.com with SMTP id h27so257935wxd.7 for ; Wed, 02 Jul 2008 12:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=LU2IkWfoOmi6oYVxFa9SZbmk7v4LF7l4M0SFWkPbZNI=; b=InCit8ylaYbBl4iBiurUf8PVbQ0w5+V7m7toDnJtNglinkrLx0G6ghYiwZJqDCaZJ8 BGyqxN6cOBrTQjVZH1P0Rglc0OoB0sbkcWxDUPwlOkt7sZg0H9f3mFUWyTx1+lTdvBoM 7Crnpef7P9+ODwgaWod5MBbBhimHwAg5crjgI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QXH6HA5PtvFdzQM0pbeYCQNiOQSxec5geODGnUYgt59+fndxrn0pCNgVF+83lAqgiG HvYyOOD9p8vX7zTZgAxFdBE56kkyWW9F5enuES8ugqvbhkUOseXID/d9fdwH33PyDxEv Ma56xL2MSx0kieVFVkLkN0GnXB9T7gLViHSy0= Received: by 10.151.142.2 with SMTP id u2mr843108ybn.184.1215028108571; Wed, 02 Jul 2008 12:48:28 -0700 (PDT) Received: by 10.151.154.17 with HTTP; Wed, 2 Jul 2008 12:48:28 -0700 (PDT) Message-ID: Date: Wed, 2 Jul 2008 12:48:28 -0700 From: "Freddie Cash" To: freebsd-net@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4867420D.7090406@gtcomm.net> <200806301944.m5UJifJD081781@lava.sentex.ca> <20080701004346.GA3898@stlux503.dsto.defence.gov.au> <20080701010716.GF3898@stlux503.dsto.defence.gov.au> <486986D9.3000607@monkeybrains.net> <4869880D.8040901@ibctech.ca> Subject: Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Jul 2008 19:48:30 -0000 On Mon, Jun 30, 2008 at 6:39 PM, Ingo Flaschberger wrote: >> I'm curious now... how do you change individual device polling via sysctl? > > not via sysctl, via ifconfig: > > # enable interface polling > /sbin/ifconfig em0 polling > /sbin/ifconfig em1 polling > /sbin/ifconfig em2 polling > /sbin/ifconfig em3 polling > > (and via /etc/rc.local also across reboots) No, you put it into the ifconfig_X lines in /etc/rc.conf as the last option. Or -polling to disable it. ifconfig_em0='inet 1.2.3.4/24 polling" ifconfig_em2='inet 1.2.3.5/24 -polling" -- Freddie Cash fjwcash@gmail.com