From owner-freebsd-questions@FreeBSD.ORG Sun Nov 27 21:09:38 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E23E416A41F for ; Sun, 27 Nov 2005 21:09:38 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail26.sea5.speakeasy.net (mail26.sea5.speakeasy.net [69.17.117.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8873143D5D for ; Sun, 27 Nov 2005 21:09:31 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 8289 invoked from network); 27 Nov 2005 21:09:29 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail26.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Nov 2005 21:09:29 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 0653228444; Sun, 27 Nov 2005 16:09:28 -0500 (EST) Sender: lowell@be-well.ilk.org To: Mark Jayson Alvarez References: <20051127104904.1771.qmail@web51611.mail.yahoo.com> From: Lowell Gilbert Date: 27 Nov 2005 16:09:28 -0500 In-Reply-To: <20051127104904.1771.qmail@web51611.mail.yahoo.com> Message-ID: <441x11ol13.fsf@be-well.ilk.org> Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: proper way to create network devices at boot time. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 21:09:39 -0000 > Lowell Gilbert wrote: Mark Jayson Alvarez writes: > > > How do you create a network device at boot time? I need to set up my carp devices at boot time. in Openbsd, it can be set in /etc/hostname.if like this. > > > > /etc/hostname.carp1 > > inet 172.16.0.100 255.255.255.0 172.16.0.255 vhid 1 carpdev em0 \ > > pass lanpasswd Thanks. > On recent FreeBSD, the devices should be created automatically if the > hardware they support is present. What device exactly are you trying > to create? Mark Jayson Alvarez writes: > Im trying to create carp pseudo device. In rc.conf, I can simply configure it using ifconfig, however only after the device have been created. So manually I would say: > ifconfig carp create > ifconfig carp0 vhid 1 pass mypasswd ipaddress > > something like that... If the problem is that the devices aren't ready yet, try devfs.rules(5).