diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2003-12-08 10:03:44 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2003-12-08 10:03:44 +0000 |
commit | 198d38fc405f391c1b7c4938e7f8ec2f4f25a81d (patch) | |
tree | a3fd61818fe3ec473879ee049f2e0d050893a9cb /share/man/man4/gre.4 | |
parent | 51fdd92000b2c50f1e5eec294b1e87b12402eb75 (diff) |
mention ifconfig create; sync synopsis like (Op Ar count). with jmc, deraadt
Diffstat (limited to 'share/man/man4/gre.4')
-rw-r--r-- | share/man/man4/gre.4 | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/share/man/man4/gre.4 b/share/man/man4/gre.4 index 90a946592e2..48e13f54b62 100644 --- a/share/man/man4/gre.4 +++ b/share/man/man4/gre.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gre.4,v 1.21 2003/11/21 09:26:54 jmc Exp $ +.\" $OpenBSD: gre.4,v 1.22 2003/12/08 10:03:43 markus Exp $ .\" $NetBSD: gre.4,v 1.10 1999/12/22 14:55:49 kleink Exp $ .\" .\" Copyright 1998 (c) The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ .Nm gre .Nd encapsulating network device .Sh SYNOPSIS -.Cd pseudo-device gre Op Ar count +.Cd "pseudo-device gre" Op Ar count .Sh NOTE .Tn GRE , .Tn WCCPv1 , @@ -66,6 +66,15 @@ The network interface allows tunnel construction using the Cisco GRE or the Mobile-IP (RFC 2004) encapsulation protocols. .Pp +A +.Nm +interface can be created at runtime using the +.Ic ifconfig greN create +command or by setting up a +.Xr hostname.if 5 +configuration file for +.Xr netstart 8 . +.Pp This driver currently supports the following modes of operation: .Bl -tag -width abc .It GRE encapsulation (IP protocol number 47). @@ -136,6 +145,7 @@ Host X-- Host A ----------------tunnel---------- Cisco D------Host E On Host A (OpenBSD): .Bd -literal -offset indent # route add default B +# ifconfig greN create # ifconfig greN A D netmask 0xffffffff linkX up # ifconfig greN tunnel A D # route add E D @@ -157,6 +167,7 @@ OR On Host D (OpenBSD): .Bd -literal -offset indent # route add default C +# ifconfig greN create # ifconfig greN D A # ifconfig greN tunnel D A .Ed |