From owner-freebsd-stable@FreeBSD.ORG Thu Jan 25 15:36:35 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C14416A402 for ; Thu, 25 Jan 2007 15:36:35 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from mail.ticketswitch.com (mail.ticketswitch.com [194.200.93.188]) by mx1.freebsd.org (Postfix) with ESMTP id 4261513C46A for ; Thu, 25 Jan 2007 15:36:35 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from [172.16.1.6] (helo=dilbert.ticketswitch.com) by mail.ticketswitch.com with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1HA6eP-0006ng-Os for freebsd-stable@FreeBSD.ORG; Thu, 25 Jan 2007 15:36:33 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HA6eP-000Fbi-E9 for freebsd-stable@FreeBSD.ORG; Thu, 25 Jan 2007 15:36:33 +0000 To: freebsd-stable@FreeBSD.ORG Message-Id: From: Pete French Date: Thu, 25 Jan 2007 15:36:33 +0000 Cc: Subject: Netgraph at startup - rc.conf ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2007 15:36:35 -0000 I have a machine with two interfaces in it - bge0 and beg1. I now find I need to usse ng_fec to make these into one interface due to the way out networking contractors are installign a new site. Seems like no problem from the command line, but what I can't find anywhere in the documentation is how to make this happen at boot time using rc.conf. I am assuming my line which looks like: ifconfig_em0="inet 172.16.1.6 netmask 255.255.0.0" becomes ifconfig_fec0="inet 172.16.1.6 netmask 255.255.0.0" but obviously I need to do something to create fec0 before that happens. Preseumably something like cloned_interfaces="fce0", but where does it get the parameters from to create the interface ? cheers, -pcf.