From owner-freebsd-doc Thu Nov 29 5:30: 7 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 03F9937B442 for ; Thu, 29 Nov 2001 05:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fATDU1o77689; Thu, 29 Nov 2001 05:30:01 -0800 (PST) (envelope-from gnats) Date: Thu, 29 Nov 2001 05:30:01 -0800 (PST) Message-Id: <200111291330.fATDU1o77689@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: Ceri Subject: Re: docs/32373: Bad ifconfig(8) alias advice in FAQ 10.9 Reply-To: Ceri Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/32373; it has been noted by GNATS. From: Ceri To: "Crist J. Clark" Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: docs/32373: Bad ifconfig(8) alias advice in FAQ 10.9 Date: Thu, 29 Nov 2001 13:25:15 +0000 How about this patch ? Ceri --- doc/en_US.ISO8859-1/books/faq/book.sgml.old Thu Nov 29 13:18:34 2001 +++ doc/en_US.ISO8859-1/books/faq/book.sgml Thu Nov 29 13:23:36 2001 @@ -8802,10 +8802,15 @@ How can I setup Ethernet aliases? - Add netmask 0xffffffff to your - &man.ifconfig.8; command-line like the following: + If the alias is on the same subnet as the first address, then add + netmask 0xffffffff to your &man.ifconfig.8; command-line + like the following: - &prompt.root; ifconfig ed0 alias 204.141.95.2 netmask 0xffffffff + &prompt.root; ifconfig ed0 alias 10.20.30.40 netmask 0xffffffff + + Otherwise, just specify the network address and netmask as usual: + + &prompt.root; ifconfig ed0 alias 172.16.141.5 netmask 0xffffff00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message