From owner-freebsd-net Sun Oct 29 20:56:40 2000 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id CB37B37B479 for ; Sun, 29 Oct 2000 20:56:38 -0800 (PST) Received: from curve.dellroad.org (curve.dellroad.org [10.1.1.30]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id UAA87451; Sun, 29 Oct 2000 20:56:38 -0800 (PST) Received: (from archie@localhost) by curve.dellroad.org (8.11.0/8.11.0) id e9U4uc342524; Sun, 29 Oct 2000 20:56:38 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200010300456.e9U4uc342524@curve.dellroad.org> Subject: Re: creation and connection of netgraph nodes In-Reply-To: "from Greg Fausak at Oct 28, 2000 10:16:37 am" To: Greg Fausak Date: Sun, 29 Oct 2000 20:56:38 -0800 (PST) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greg Fausak writes: > I seem to be fumbling around with creating and connecting > netrgraph nodes. I've built the one2many node, and am trying to > link it up: > > Can someone post an example of creating a couple of nodes and > then connecting them up. > > I've read the man pages and examples, I just can seem to get the > hang of creating and connecting. Are there more examples anywhere? You might take a look at /usr/share/examples/netgraph/ether.bridge Also the man page included with ng_one2many has an example (guess that wasn't sufficient). Your basic commands are "mkpeer" (create and attach a new peer node to an existing node) and "connect" (connect two existing nodes). Also try "ngctl help mkpeer", etc. And don't forget that absolute addresses require a colon. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message