From owner-freebsd-questions Fri Oct 26 20:57:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lsmls01.we.mediaone.net (lsmls01.we.mediaone.net [24.130.1.20]) by hub.freebsd.org (Postfix) with ESMTP id D0B6837B401 for ; Fri, 26 Oct 2001 20:57:11 -0700 (PDT) Received: from home (we-66-74-164-119.we.mediaone.net [66.74.164.119]) by lsmls01.we.mediaone.net (8.11.4/8.11.3) with SMTP id f9R3ugB19876; Fri, 26 Oct 2001 20:56:46 -0700 (PDT) Message-ID: <00a301c15e9b$83ce6d10$77a44a42@home> From: "PetBuilder" To: "Yet Another FreeBSD Hacker" Cc: "FreeBSD-Questions" References: Subject: Re: Binding additional IP addresses Date: Fri, 26 Oct 2001 20:57:32 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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 Thank You, that worked great. Also, Thanks to Kyle. It didn't work for me but it got me started. 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. ----- Original Message ----- From: "Yet Another FreeBSD Hacker" To: "PetBuilder" Cc: "FreeBSD-Questions" Sent: Friday, October 26, 2001 8:39 PM Subject: Re: Binding additional IP addresses 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