From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 00:44:33 2005 Return-Path: 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 6D84416A4CE for ; Fri, 4 Mar 2005 00:44:33 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0E7743D5C for ; Fri, 4 Mar 2005 00:44:32 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j240iSqS010114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Mar 2005 16:44:29 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j240iSSF010112; Thu, 3 Mar 2005 16:44:28 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Thu, 3 Mar 2005 16:44:28 -0800 From: "Loren M. Lang" To: Jerry McAllister Message-ID: <20050304004428.GN30896@alzatex.com> References: <200503011619.j21GJ9L05511@clunix.cl.msu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="N1GIdlSm9i+YlY4t" Content-Disposition: inline In-Reply-To: <200503011619.j21GJ9L05511@clunix.cl.msu.edu> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: questions@freebsd.org cc: Ted Mittelstaedt cc: "Jason D. Montgomery" Subject: Re: Documentation Error? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2005 00:44:33 -0000 --N1GIdlSm9i+YlY4t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 01, 2005 at 11:19:07AM -0500, Jerry McAllister wrote: > >=20 > > owner-freebsd-questions@freebsd.org wrote: > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/confi > > > gtuning-v irtual-hosts.html > > >=20 > > > states that adding a virtual address is done in rc.conf like this: > > >=20 > > > ifconfig_fxp0=3D"inet 10.1.1.1 netmask 255.255.255.0" > > > ifconfig_fxp0_alias0=3D"inet 10.1.1.2 netmask 255.255.255.255" > > >=20 > > > Shouldn't it be this instead? > > >=20 > > > ifconfig_fxp0=3D"inet 10.1.1.1 netmask 255.255.255.0" > > > ifconfig_fxp0_alias0=3D"alias 10.1.1.2 netmask 255.255.255.255" > >=20 > > No. The actual command to make one is: > >=20 > > ifconfig fxp0 inet 10.1.1.2 netmask 255.255.255.255 alias > >=20 > > So you do need to pass the "inet" to ifconfig. The _alias0 makes > > the script pass the trailing "alias" >=20 > Hmmmm, So what is happening when no 'inet' is in the string? > It seems to work fine. Is something still not right and just > waiting to explode? We have lots of servers configured that way. Looking at ifconfig(8), I believe it's purely optional, ifconfig can reconize what address type your giving it. It's more useful when using ifconfig to display information. I've done it both ways and if your servers work now, I doubt they'll blow up later. It is probably something that was required in the past. >=20 > ////jerry >=20 > >=20 > > Ted > >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2 =20 --N1GIdlSm9i+YlY4t Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCJ69sbTXoRwEYo9IRAoDPAJ9ImXI1J3CjRcxgn1unoc21bhh9wwCfY6Z2 5lekJp9Xucc0dKb7Bfd6hl8= =k8PK -----END PGP SIGNATURE----- --N1GIdlSm9i+YlY4t--