Date: Fri, 26 Aug 2016 17:25:01 +0000 (UTC) From: Warren Block <wblock@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r49352 - head/en_US.ISO8859-1/books/handbook/advanced-networking Message-ID: <201608261725.u7QHP1Vk013428@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wblock Date: Fri Aug 26 17:25:01 2016 New Revision: 49352 URL: https://svnweb.freebsd.org/changeset/doc/49352 Log: Whitespace-only fixes, translators please ignore. Modified: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Fri Aug 26 13:51:30 2016 (r49351) +++ head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Fri Aug 26 17:25:01 2016 (r49352) @@ -5218,44 +5218,47 @@ ifconfig_carp1="vhid <replaceable>2</rep <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>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>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>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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608261725.u7QHP1Vk013428>