From owner-freebsd-doc Thu Nov 29 6:10: 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 E311637B503 for ; Thu, 29 Nov 2001 06:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fATEA1191309; Thu, 29 Nov 2001 06:10:01 -0800 (PST) (envelope-from gnats) Date: Thu, 29 Nov 2001 06:10:01 -0800 (PST) Message-Id: <200111291410.fATEA1191309@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: Peter Pentchev Cc: freebsd-gnats-submit@freebsd.org Subject: Re: docs/32373: Bad ifconfig(8) alias advice in FAQ 10.9 Date: Thu, 29 Nov 2001 14:05:42 +0000 > > Maybe "..as an address already configured on the interface"? > It is quite possible (and quite common) to configure an Ethernet > interface with several different addresses on several different subnets. Fair point. This one ? 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 14:03:37 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 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