From owner-freebsd-stable Tue Jul 20 8:23: 0 1999 Delivered-To: freebsd-stable@freebsd.org Received: from cliff.i-plus.net (mail.i-plus.net [209.100.20.10]) by hub.freebsd.org (Postfix) with ESMTP id B2B9014F86 for ; Tue, 20 Jul 1999 08:22:56 -0700 (PDT) (envelope-from st@i-plus.net) Received: from ARCADIA (arcadia.i-plus.net [209.100.20.194]) by cliff.i-plus.net (8.9.3/8.9.3) with SMTP id LAA68096; Tue, 20 Jul 1999 11:21:06 -0400 (EDT) From: "Troy Settle" To: "Chris Malayter" , Subject: RE: Binding Virtual IP's Date: Tue, 20 Jul 1999 11:18:57 -0400 Message-ID: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There is a mechinism already in place where can add lines to /etc/rc.conf, but that is a highly messy way to do it if you are binding many IPs. I use this script to do the deed: #!/bin/sh echo -n 'Binding Aliased IPs' i=1 j=255 while test ${i} -lt ${j} ; do /sbin/ifconfig fxp0 inet 209.100.27.${i} netmask 0xFFFFFFFF alias i=`/bin/expr ${i} + 1` echo -n . done echo " done" This script could be easily modified to bind multiple blocks of ip addresses. This does the job for me though (for at least another 100 vhosts :) -- Troy Settle iPlus Internet Services It's always a long day... 86400 doesn't fit into a short. > -----Original Message----- > From: owner-freebsd-stable@FreeBSD.ORG > [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Chris Malayter > Sent: Saturday, July 17, 1999 12:44 PM > To: stable@FreeBSD.ORG > Subject: Binding Virtual IP's > > > > What is the syntax to bind virtual IP's to my primary eth interface? > > Chris Malayter > > > Mustang@TeraHertz.Net > > ---------------------------------------------------------------- > --------- > Administrator, TeraHertz Communications | > | > | InterNIC CM3647 | > Chief Engineer - 95.1 WVUR - Valparaiso,Indiana | | > ---------------------------------------------------------------- > --------- > > "Behavior is hard to change...but charactor is nearly impossible" > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message