From owner-freebsd-questions Thu Jan 18 7:19: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail0.bna.bellsouth.net (mail0.bna.bellsouth.net [205.152.150.12]) by hub.freebsd.org (Postfix) with ESMTP id DD12237B400 for ; Thu, 18 Jan 2001 07:18:52 -0800 (PST) Received: from planetwe.com (adsl-20-109-209.bna.bellsouth.net [66.20.109.209]) by mail0.bna.bellsouth.net (3.3.5alt/0.75.2) with ESMTP id KAA13918 for ; Thu, 18 Jan 2001 10:18:51 -0500 (EST) Message-ID: <3A670981.4090308@planetwe.com> Date: Thu, 18 Jan 2001 09:19:29 -0600 From: Drew Sanford User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.12 i386; en-US; m18) Gecko/20001107 Netscape6/6.0 X-Accept-Language: en MIME-Version: 1.0 To: questions Subject: ifconfig in rc.conf Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a NIC I need to answer to two IP addresses. Lets say hypothetically I have something like: ifconfig_dc0="inet 192.168.1.6 mtu 1462 netmask 255.255.255.0" in my rc.conf file. If the machine is up, I type something like: ifconfig dc0 alias 192.168.1.16 to add the second ip address. If I want this to happen automatically on startup (FBSD 4.2-stable) I would add: ifconfig_dc0="alias 192.168.1.16" to my rc.conf, right? I'm trying to verify this because if the machine goes down, and comes back up, and that doesn't work, I'd hate to have to rely on my memory to check on it. Thanks in advance for confirming or correcting my suspicions on this. -- Drew Sanford Systems Administrator drew@planetwe.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message