From owner-freebsd-doc Thu Nov 29 0: 0:22 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 C144D37B41D for ; Thu, 29 Nov 2001 00:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fAT802J16124; Thu, 29 Nov 2001 00:00:02 -0800 (PST) (envelope-from gnats) Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 3030237B41F for ; Wed, 28 Nov 2001 23:52:21 -0800 (PST) Received: from dialup-209.247.138.241.dial1.sanjose1.level3.net ([209.247.138.241] helo=blossom.cjclark.org) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 169LzY-00043k-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 28 Nov 2001 23:52:20 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fAT7qJd06994; Wed, 28 Nov 2001 23:52:19 -0800 (PST) (envelope-from cjc) Message-Id: <200111290752.fAT7qJd06994@blossom.cjclark.org> Date: Wed, 28 Nov 2001 23:52:19 -0800 (PST) From: "Crist J. Clark" Reply-To: "Crist J. Clark" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/32373: Bad ifconfig(8) alias advice in FAQ 10.9 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 >Number: 32373 >Category: docs >Synopsis: Bad ifconfig(8) alias advice in FAQ 10.9 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 29 00:00:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Crist J. Clark >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD blossom.cjclark.org 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed Nov 7 14:50:28 PST 2001 cjc@blossom.cjclark.org:/usr/obj/export/stable/src/sys/BLOSSOM i386 >Description: The FAQ says, 10.9. How can I setup Ethernet aliases? Add netmask 0xffffffff to your ifconfig(8) command-line like the following: # ifconfig ed0 alias 204.141.95.2 netmask 0xffffffff This is incorrect. You use a netmask of 0xffffffff for aliases which exist on the same logical network as a previously configured address on the same logical network. The ifconfig(8) manpage gets it right, alias Establish an additional network address for this interface. This is sometimes useful when changing network numbers, and one wishes to accept packets addressed to the old interface. If the address is on the same subnet as the first network address for this interface, a netmask of 0xffffffff has to be specified. >How-To-Repeat: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/networking.html#ETHERNET-ALIASES >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message