From owner-freebsd-questions Mon Aug 26 0:48:19 2002 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 5A51837B400 for ; Mon, 26 Aug 2002 00:48:15 -0700 (PDT) Received: from hotmail.com (oe41.pav2.hotmail.com [64.4.36.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id D34EE43E6E for ; Mon, 26 Aug 2002 00:47:42 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 26 Aug 2002 00:47:16 -0700 X-Originating-IP: [202.41.224.36] From: "Unix Tools" To: "Roger Harrell" , References: <3D67FEA3.81CA0D0B@audiblefaith.com> Subject: Re: How to configure multiple IPs on FreeBSD Date: Mon, 26 Aug 2002 01:32:25 +0530 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 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 26 Aug 2002 07:47:16.0536 (UTC) FILETIME=[CC5F2380:01C24CD4] 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 /sbin/ifconfig rl0 netmask 255.255.255.255 alias OR entry in rc.conf ifconfig_rl0_alias11="inet netmask 255.255.255.255" ----- Original Message ----- From: "Roger Harrell" To: Sent: Sunday, August 25, 2002 03:16 AM Subject: How to configure multiple IPs on FreeBSD > I need to add several IP addresses on my server. The IPs have been > provisioned but in the past I haven't had to do the server config piece. > I looked at the docs on rc.conf but it wasn't clear how to set up > multiple IPs. > > If my current rc.local is: > > hostname="hostname" > ifconfig_fxp0="inet currentserverip netmask 255.255.255.0 media > 100baseTX mediao > pt full-duplex" > kern_securelevel_enable="NO" > nfs_reserved_port_only="YES" > sendmail_enable="YES" > sshd_enable="YES" > usbd_enable="YES" > defaultrouter="defgateway" > nfs_client_enable="NO" > nfs_server_enable="NO" > usbd_enable="NO" > sshd_enable="YES" > portmap_enable="NO" > syslogd_flags="-ss" > sendmail_flags="-bd -q30m" > nfs_client_enable="NO" > nfs_server_enable="NO" > usbd_enable="NO" > sshd_enable="YES" > portmap_enable="NO" > syslogd_flags="-ss" > sendmail_flags="-bd -q30m" > > What can I do to get the server to respond to two more IP addresses? Are > there other files I need to edit as well. Also I did see a post about > being able to do something like this without rebooting, so if that's > possible I'd like information on that as well. Always better if it can > be done without a reboot. I'm pretty new to this level of admin. Thanks. > > -- > Roger Harrell > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message