Date: Tue, 18 Dec 2001 06:20:02 -0800 (PST) From: Ceri Davies <setantae@submonkey.net> To: freebsd-doc@freebsd.org Subject: Re: docs/32373: Bad ifconfig(8) alias advice in FAQ 10.9 Message-ID: <200112181420.fBIEK2265057@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/32373; it has been noted by GNATS. From: Ceri Davies <setantae@submonkey.net> 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 @@ <qandaentry> <question id="ethernet-aliases"> - <para>How can I setup Ethernet aliases?</para> + <para>How can I set up Ethernet aliases?</para> </question><answer> - <para>Add <literal>netmask 0xffffffff</literal> to your - &man.ifconfig.8; command-line like the following:</para> + <para>If the alias is on the same subnet as an address already configured on + the interface, then add <literal>netmask 0xffffffff</literal> to your + &man.ifconfig.8; command-line, as in the following:</para> - <screen>&prompt.root; <userinput>ifconfig ed0 alias 204.141.95.2 netmask 0xffffffff</userinput></screen> + <screen>&prompt.root; <userinput>ifconfig ed0 alias 10.20.30.40 netmask 0xffffffff</userinput></screen> + + <para>Otherwise, just specify the network address and netmask as usual:</para> + + <screen>&prompt.root; <userinput>ifconfig ed0 alias 172.16.141.5 netmask 0xffffff00</userinput</screen> </answer> </qandaentry> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112181420.fBIEK2265057>