From owner-freebsd-net Wed Jan 19 9:36:43 2000 Delivered-To: freebsd-net@freebsd.org Received: from altair.origenbio.com (altair.origenbio.com [216.30.62.130]) by hub.freebsd.org (Postfix) with ESMTP id 1AE0515346 for ; Wed, 19 Jan 2000 09:36:35 -0800 (PST) (envelope-from dmartin@origen.com) Received: from origen.com (dubhe.origen [192.168.0.5]) by altair.origenbio.com (8.9.3/8.9.3) with ESMTP id LAA24235 for ; Wed, 19 Jan 2000 11:36:32 -0600 (CST) (envelope-from dmartin@origen.com) Message-ID: <3885F5E4.9323AE01@origen.com> Date: Wed, 19 Jan 2000 11:35:32 -0600 From: Richard Martin X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Virtual IPs & rc.conf Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm a bit new to FreeBSD, and not quite sure how to add routes for virtual IPs we host into the startup file. I know that the commands: ifconfig xl0 alias [new ip] netmask 0xffffffff route add -host [new ip] -interface xl0 will add the ip and route to the routing table, but I can't seem to get this into the startup scripts correctly. I have tried fiddling with the static_route command, but no success and its a pain to have to reboot to try each new iteration Is this what goes in rc.conf? /usr/local/etc/rc.d? if_config_xl0="alias [new ip] netmask 0xffffffff" static_route="-host [new ip] -interface xl0" We have a lot of IPs to add, maybe just use a script run at boot? Thanks, -- Richard Martin dmartin@origen.com OriGen Biomedical Tel: +1 512 474 7278 2525 Hartford Rd. Fax: +1 512 708 8522 Austin, TX 78703 http://www.formed.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message