From owner-freebsd-isp Tue Mar 7 10:48: 2 2000 Delivered-To: freebsd-isp@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id CBC2337BD4F for ; Tue, 7 Mar 2000 10:47:59 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.2) id KAA41975; Tue, 7 Mar 2000 10:47:37 -0800 (PST) From: Archie Cobbs Message-Id: <200003071847.KAA41975@bubba.whistle.com> Subject: Re: Netgraph & 'Fake' interfaces In-Reply-To: from Andy Cowan at "Mar 2, 2000 02:21:19 pm" To: andyc@waverider.net.uk (Andy Cowan) Date: Tue, 7 Mar 2000 10:47:37 -0800 (PST) Cc: freebsd-isp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Andy Cowan writes: > I'm new to netgrpah and having a bit of a problem - I would like to set up > some 'fake' interfaces - basically just creating the same effect as an > ifconfig alias, but with a network interface (like ng0) associted with each > alias - this way I can monitor the traffic through each fake interface with > SNMP. > > I'm trying ngctl mkpeer rl0: iface inet inet - but it doesn't like it. Does > anyone know the right way to do this? What type of node is 'rl0:' ? Does it support a hook type named 'inet' ? Try this.. $ ngctl mkpeer iface inet inet -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message