From owner-freebsd-questions Fri Oct 26 20:40: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fremont.bolingbroke.com (adsl-216-102-90-210.dsl.snfc21.pacbell.net [216.102.90.210]) by hub.freebsd.org (Postfix) with ESMTP id 1A6C237B403 for ; Fri, 26 Oct 2001 20:39:58 -0700 (PDT) Received: from fremont.bolingbroke.com (fremont.bolingbroke.com [216.102.90.210]) by fremont.bolingbroke.com (8.12.1/8.12.1) with ESMTP id f9R3dqXt016762; Fri, 26 Oct 2001 20:39:53 -0700 (PDT) Date: Fri, 26 Oct 2001 20:39:52 -0700 (PDT) From: Yet Another FreeBSD Hacker To: PetBuilder Cc: FreeBSD-Questions Subject: Re: Binding additional IP addresses In-Reply-To: <001001c15e90$21acf850$77a44a42@home> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From /etc/defaults/rc.conf, you'll find a sample entry: #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. Copy that line to /etc/rc.conf, and adjust it to suit your specific needs, such as: ifconfig_ed0_alias0="inet 192.168.0.2 netmask 0xffffffff" ifconfig_ed0_alias1="inet 192.168.0.3 netmask 0xffffffff" Ken On Fri, 26 Oct 2001, PetBuilder wrote: > How do you bind additional IP addresses to a network card? > We need the extra IP on the system for several sites that will require their own IP. > > Do we just add the numbers to the /etc/rc.conf at the following line: > ifconfig_ed0="192.168.0.1 192.168.0.2 192.168.0.3 netmask 255.255.255.0" > > Thanks, > > Craig Rose > Web-Zonic, Inc. > > CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. > If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message