From owner-freebsd-questions@FreeBSD.ORG Sun Nov 27 10:49:06 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 5A00516A41F for ; Sun, 27 Nov 2005 10:49:06 +0000 (GMT) (envelope-from jay2xra@yahoo.com) Received: from web51611.mail.yahoo.com (web51611.mail.yahoo.com [68.142.224.84]) by mx1.FreeBSD.org (Postfix) with SMTP id 2237843D58 for ; Sun, 27 Nov 2005 10:49:05 +0000 (GMT) (envelope-from jay2xra@yahoo.com) Received: (qmail 1773 invoked by uid 60001); 27 Nov 2005 10:49:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XQT82AMRYYNUaitA4FDUDYlEsOOxPxvQrVrfbeh3qu8vRzsZVzPNbj/yZ9X96h0dOE/2RSQaMD8muLJ3A6dw87e1PtLXRR96Ng7iaVJ7XDkGnt/PwTNHrOA81J/c+NNsqVN4Ppi4kWMv8B+NKsz2P3e6/SvR0w5Jf+OwwQkGmco= ; Message-ID: <20051127104904.1771.qmail@web51611.mail.yahoo.com> Received: from [210.213.151.1] by web51611.mail.yahoo.com via HTTP; Sun, 27 Nov 2005 02:49:03 PST Date: Sun, 27 Nov 2005 02:49:03 -0800 (PST) From: Mark Jayson Alvarez To: freebsd-questions@freebsd.org Cc: freebsd-questions@freebsd.org In-Reply-To: <448xvbqwen.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 10:49:06 -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? 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... --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free.