Update Question 12.8:

- Add <replaceable> elements
- Add a reference for the FreeBSD Handbook (Virtual Hosts)

Reviewed by:  trhodes, danger
Approved by:  gabor
This commit is contained in:
Gabor Pali 2008-06-21 08:11:50 +00:00
parent 3ac2ffdf7f
commit 2761c0dc25
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32362

View file

@ -7482,12 +7482,15 @@ Key F15 A A Menu Workplace Nop</programlisting>
<literal>netmask 0xffffffff</literal> to your
&man.ifconfig.8; command-line, as in the following:</para>
<screen>&prompt.root; <userinput>ifconfig ed0 alias 192.0.2.2 netmask 0xffffffff</userinput></screen>
<screen>&prompt.root; <userinput>ifconfig <replaceable>ed0</replaceable> alias <replaceable>192.0.2.2</replaceable> 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>
<screen>&prompt.root; <userinput>ifconfig <replaceable>ed0</replaceable> alias <replaceable>172.16.141.5</replaceable> netmask 0xffffff00</userinput></screen>
<para>You can read more about this in the &os; <ulink
url="&url.books.handbook;/configtuning-virtual-hosts.html">Handbook</ulink>.</para>
</answer>
</qandaentry>