Clarify that 'ifconfig -a' might not show an tun devices in recent releases,

and that they are dynamically created.

PR:		20107
Noticed by:	George Russell <george.russell@clara.net>
This commit is contained in:
Ben Smithurst 2000-07-23 19:51:30 +00:00
parent 460016ce35
commit ac84d257b3
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=7702
2 changed files with 28 additions and 2 deletions

View file

@ -1,7 +1,7 @@
<!-- <!--
The FreeBSD Documentation Project The FreeBSD Documentation Project
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/ppp-and-slip/chapter.sgml,v 1.25 2000/06/14 20:30:38 jim Exp $ $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/ppp-and-slip/chapter.sgml,v 1.26 2000/07/16 16:43:40 alex Exp $
--> -->
<chapter id="ppp-and-slip"> <chapter id="ppp-and-slip">
@ -156,6 +156,15 @@ tun2: flags=8051&lt;UP,POINTOPOINT,RUNNING,MULTICAST&gt; mtu 1500
inet 203.10.100.1 --&gt; 203.10.100.20 netmask 0xffffffff inet 203.10.100.1 --&gt; 203.10.100.20 netmask 0xffffffff
tun3: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1500</screen> tun3: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1500</screen>
<note>
<para>In FreeBSD 4.0 and later releases, you will only see any
<devicename>tun</devicename> devices which have already been
used. This means you might not see <emphasis>any</emphasis>
<devicename>tun</devicename> devices. If this is the case, do
not worry; the device should be created dynamically when
<command>ppp</command> attempts to use it.</para>
</note>
<para>This case shows four tunnel devices, two of which are <para>This case shows four tunnel devices, two of which are
currently configured and being used. It should be noted that currently configured and being used. It should be noted that
the <literal>RUNNING</literal> flag above indicates that the the <literal>RUNNING</literal> flag above indicates that the
@ -209,6 +218,10 @@ tun0: flags=8050&lt;POINTOPOINT,RUNNING,MULTICAST&gt; mut 1500</screen>
<screen>&prompt.root; <userinput>ifconfig tun0</userinput> <screen>&prompt.root; <userinput>ifconfig tun0</userinput>
tun0: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1500</screen> tun0: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1500</screen>
<para>Remember from earlier that you might not see the device if it
has not been used yet, as <devicename>tun</devicename> devices are
created on demand in FreeBSD 4.0 and later releases.</para>
</sect3> </sect3>
<sect3> <sect3>

View file

@ -1,7 +1,7 @@
<!-- <!--
The FreeBSD Documentation Project The FreeBSD Documentation Project
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/ppp-and-slip/chapter.sgml,v 1.25 2000/06/14 20:30:38 jim Exp $ $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/ppp-and-slip/chapter.sgml,v 1.26 2000/07/16 16:43:40 alex Exp $
--> -->
<chapter id="ppp-and-slip"> <chapter id="ppp-and-slip">
@ -156,6 +156,15 @@ tun2: flags=8051&lt;UP,POINTOPOINT,RUNNING,MULTICAST&gt; mtu 1500
inet 203.10.100.1 --&gt; 203.10.100.20 netmask 0xffffffff inet 203.10.100.1 --&gt; 203.10.100.20 netmask 0xffffffff
tun3: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1500</screen> tun3: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1500</screen>
<note>
<para>In FreeBSD 4.0 and later releases, you will only see any
<devicename>tun</devicename> devices which have already been
used. This means you might not see <emphasis>any</emphasis>
<devicename>tun</devicename> devices. If this is the case, do
not worry; the device should be created dynamically when
<command>ppp</command> attempts to use it.</para>
</note>
<para>This case shows four tunnel devices, two of which are <para>This case shows four tunnel devices, two of which are
currently configured and being used. It should be noted that currently configured and being used. It should be noted that
the <literal>RUNNING</literal> flag above indicates that the the <literal>RUNNING</literal> flag above indicates that the
@ -209,6 +218,10 @@ tun0: flags=8050&lt;POINTOPOINT,RUNNING,MULTICAST&gt; mut 1500</screen>
<screen>&prompt.root; <userinput>ifconfig tun0</userinput> <screen>&prompt.root; <userinput>ifconfig tun0</userinput>
tun0: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1500</screen> tun0: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1500</screen>
<para>Remember from earlier that you might not see the device if it
has not been used yet, as <devicename>tun</devicename> devices are
created on demand in FreeBSD 4.0 and later releases.</para>
</sect3> </sect3>
<sect3> <sect3>