Make sure the ifconfig gif0 example is correct, we cannot
adjust tunnel settings without specifying the interface first. PR: docs/105000 Submitted by: dawnshade <h-k at mail dot ru> Pointyhat: remko (me, previous commit was my mistake).
This commit is contained in:
parent
fd4eca42c7
commit
fbf51fa66e
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=28985
1 changed files with 2 additions and 2 deletions
|
|
@ -3429,7 +3429,7 @@ Network #2 [ Internal Hosts ]
|
|||
following commands to configure the tunnel.</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>gif0</replaceable> create</userinput>
|
||||
&prompt.root; <userinput>ifconfig tunnel <replaceable>gif0</replaceable> <replaceable>A.B.C.D</replaceable> <replaceable>W.X.Y.Z</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>gif0</replaceable> tunnel <replaceable>A.B.C.D</replaceable> <replaceable>W.X.Y.Z</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>gif0</replaceable> inet <replaceable>192.168.1.1</replaceable> <replaceable>192.168.2.1</replaceable> netmask <replaceable>0xffffffff</replaceable></userinput>
|
||||
</screen>
|
||||
|
||||
|
|
@ -3437,7 +3437,7 @@ Network #2 [ Internal Hosts ]
|
|||
but with the order of the IP addresses reversed.</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>gif0</replaceable> create</userinput>
|
||||
&prompt.root; <userinput>ifconfig tunnel <replaceable>gif0</replaceable> <replaceable>W.X.Y.Z</replaceable> <replaceable>A.B.C.D</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>gif0</replaceable> tunnel <replaceable>W.X.Y.Z</replaceable> <replaceable>A.B.C.D</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>gif0</replaceable> inet <replaceable>192.168.2.1</replaceable> <replaceable>192.168.1.1</replaceable> netmask <replaceable>0xffffffff</replaceable></userinput>
|
||||
</screen>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue