diff options
author | Warren Block <wblock@FreeBSD.org> | 2016-08-26 17:25:01 +0000 |
---|---|---|
committer | Warren Block <wblock@FreeBSD.org> | 2016-08-26 17:25:01 +0000 |
commit | 0c61f3faacc8753b0ec0759b5d3a4270474ca4ca (patch) | |
tree | a701c3b19cc35a87a81ff9cf68786133beb9db0b | |
parent | b2d2c78fbdfd5aafc1f96e41ba7f514ce13ad5e5 (diff) | |
download | doc-0c61f3faacc8753b0ec0759b5d3a4270474ca4ca.tar.gz doc-0c61f3faacc8753b0ec0759b5d3a4270474ca4ca.zip |
Whitespace-only fixes, translators please ignore.
Notes
Notes:
svn path=/head/; revision=49352
-rw-r--r-- | en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml | 47 |
1 files changed, 25 insertions, 22 deletions
diff --git a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml index a249fda4cc..618be51d95 100644 --- a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml @@ -5218,44 +5218,47 @@ ifconfig_carp1="vhid <replaceable>2</replaceable> advskew <replaceable>100</repl <primary>Virtual LANs</primary> </indexterm> - <para><acronym>VLANs</acronym> are a way of virtually dividing up a - network into many different subnetworks. Each will have its own - broadcast domain and be isolated from the rest of the + <para><acronym>VLANs</acronym> are a way of virtually dividing up + a network into many different subnetworks. Each will have its + own broadcast domain and be isolated from the rest of the <acronym>VLANs</acronym>.</para> - <para>On &os;, <acronym>VLANs</acronym> must be supported by the network - card driver. To see which drivers support vlans, refer to the - &man.vlan.4; manual page.</para> + <para>On &os;, <acronym>VLANs</acronym> must be supported by the + network card driver. To see which drivers support vlans, refer + to the &man.vlan.4; manual page.</para> - <para>When configuring a <acronym>VLAN</acronym>, a couple pieces of - information must be known. First, which network interface? Second, - what is the <acronym>VLAN</acronym> tag?</para> + <para>When configuring a <acronym>VLAN</acronym>, a couple pieces + of information must be known. First, which network interface? + Second, what is the <acronym>VLAN</acronym> tag?</para> <para>To configure <acronym>VLANs</acronym> at run time, with a <acronym>NIC</acronym> of <literal>em0</literal> and a - <acronym>VLAN</acronym> tag of <systemitem>5</systemitem>. The command - would look like this:</para> + <acronym>VLAN</acronym> tag of <systemitem>5</systemitem>. The + command would look like this:</para> <screen>&prompt.root; <userinput>ifconfig <replaceable>em0.5</replaceable> create vlan <replaceable>5</replaceable> vlandev <replaceable>em0</replaceable> inet 192.168.20.20/24</userinput></screen> <note> - <para>See how the interface name includes the <acronym>NIC</acronym> - driver name and the <acronym>VLAN</acronym> tag, separated by a - period? This is a best practice to make maintaining the - <acronym>VLAN</acronym> configuration easy when many - <acronym>VLANs</acronym> are present on a machine.</para> + <para>See how the interface name includes the + <acronym>NIC</acronym> driver name and the + <acronym>VLAN</acronym> tag, separated by a period? This is a + best practice to make maintaining the <acronym>VLAN</acronym> + configuration easy when many <acronym>VLANs</acronym> are + present on a machine.</para> </note> <para>To configure <acronym>VLANs</acronym> at boot time, - <filename>/etc/rc.conf</filename> must be updated. To duplicate the - configuration above, the following will need to be added:</para> + <filename>/etc/rc.conf</filename> must be updated. To duplicate + the configuration above, the following will need to be + added:</para> <programlisting>vlans_<replaceable>em0</replaceable>="<replaceable>5</replaceable>" ifconfig_<replaceable>em0</replaceable>_<replaceable>5</replaceable>="inet 192.168.20.20/24"</programlisting> - <para>Additional <acronym>VLANs</acronym> may be added, by simply adding - the tag to the <literal>vlans_<replaceable>em0</replaceable></literal> - field and adding an additional line configuring the network on that - <acronym>VLAN</acronym> tag's interface.</para> + <para>Additional <acronym>VLANs</acronym> may be added, by simply + adding the tag to the + <literal>vlans_<replaceable>em0</replaceable></literal> + field and adding an additional line configuring the network on + that <acronym>VLAN</acronym> tag's interface.</para> </sect1> </chapter> |