Sort sections, drop trailing whitespace, s/ipip/gif/, and minor fixes.

This commit is contained in:
wiz 2002-03-04 14:50:54 +00:00
parent 33c4414e8b
commit bb4f5583f7
1 changed files with 30 additions and 31 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: gif.4,v 1.18 2002/03/04 13:24:07 sommerfeld Exp $
.\" $NetBSD: gif.4,v 1.19 2002/03/04 14:50:54 wiz Exp $
.\" $KAME: gif.4,v 1.24 2001/02/20 12:54:01 itojun Exp $
.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -146,27 +146,6 @@ Ingress filter can be turned off by
.Dv IFF_LINK2
bit.
.\"
.Sh SEE ALSO
.Xr inet 4 ,
.Xr inet6 4 ,
.Xr ifconfig 8
.Rs
.%A R. Gilligan
.%A E. Nordmark
.%B RFC2893
.%T Transition Mechanisms for IPv6 Hosts and Routers
.%D August 2000
.%O ftp://ftp.isi.edu/in-notes/rfc2893.txt
.Re
.Rs
.%A Sally Floyd
.%A David L. Black
.%A K. K. Ramakrishnan
.%T "IPsec Interactions with ECN"
.%D December 1999
.%O draft-ietf-ipsec-ecn-02.txt
.Re
.\"
.Sh EXAMPLES
Configuration example:
.Bd -literal
@ -176,7 +155,9 @@ Host X--NetBSD A ----------------tunnel---------- cisco D------Host E
+-----Router B--------Router C---------+
.Ed
On NetBSD system A
On
.Nx
system A
.Ns ( Nx ) :
.Bd -literal
# route add default B
@ -201,16 +182,37 @@ or on Host D
.Ns ( Nx ) :
.Bd -literal
# route add default C
# ifconfig ipipN D A
# ifconfig gifN D A
.Ed
.Pp
If all goes well, you should see packets flowing ;-)
If all goes well, you should see packets flowing.
.Pp
If you want to reach Host A over the tunnel (from the Cisco D), then
you have to have an alias on Host A for e.g. the Ethernet interface like:
.Ic ifconfig Ar <etherif> alias Y
and on the cisco
.Ic ip Ar route Y mask tunnelX .
.Sh SEE ALSO
.Xr inet 4 ,
.Xr inet6 4 ,
.Xr ifconfig 8
.Rs
.%A R. Gilligan
.%A E. Nordmark
.%B RFC2893
.%T Transition Mechanisms for IPv6 Hosts and Routers
.%D August 2000
.%O ftp://ftp.isi.edu/in-notes/rfc2893.txt
.Re
.Rs
.%A Sally Floyd
.%A David L. Black
.%A K. K. Ramakrishnan
.%T "IPsec Interactions with ECN"
.%D December 1999
.%O draft-ietf-ipsec-ecn-02.txt
.Re
.\"
.Sh HISTORY
The
.Nm
@ -254,6 +256,3 @@ to add an interface route to a
interface in one step rather than having to tweak it
later with
.Dv change .