From owner-freebsd-doc Tue Dec 18 6:20: 5 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 175DF37B416 for ; Tue, 18 Dec 2001 06:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBIEK2265057; Tue, 18 Dec 2001 06:20:02 -0800 (PST) (envelope-from gnats) Date: Tue, 18 Dec 2001 06:20:02 -0800 (PST) Message-Id: <200112181420.fBIEK2265057@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: Ceri Davies Subject: Re: docs/32373: Bad ifconfig(8) alias advice in FAQ 10.9 Reply-To: Ceri Davies 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 Davies To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: docs/32373: Bad ifconfig(8) alias advice in FAQ 10.9 Date: Tue, 18 Dec 2001 14:19:29 +0000 Here you go then: --- doc/en_US.ISO8859-1/books/faq/book.sgml.orig Thu Dec 13 13:49:57 2001 +++ doc/en_US.ISO8859-1/books/faq/book.sgml Tue Dec 18 14:17:06 2001 @@ -8926,13 +8926,18 @@ - How can I setup Ethernet aliases? + How can I set up Ethernet aliases? - Add netmask 0xffffffff to your - &man.ifconfig.8; command-line like the following: + If the alias is on the same subnet as an address already configured on + the interface, then add netmask 0xffffffff to your + &man.ifconfig.8; command-line, as in 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