Date: Thu, 29 Nov 2001 05:30:01 -0800 (PST) From: Ceri <setantae@submonkey.net> To: freebsd-doc@freebsd.org Subject: Re: docs/32373: Bad ifconfig(8) alias advice in FAQ 10.9 Message-ID: <200111291330.fATDU1o77689@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 <setantae@submonkey.net> To: "Crist J. Clark" <cjc@earthlink.net> 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 @@ <para>How can I setup 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 the first address, then add + <literal>netmask 0xffffffff</literal> to your &man.ifconfig.8; command-line + like 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?200111291330.fATDU1o77689>