diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-05-04 18:05:02 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-05-04 18:05:02 +0000 |
commit | 3df519a362ecb2e7ff6fae720f2f0c76dbfaa46c (patch) | |
tree | 156f6fe9df799b1449a1255abbe5c284cfbbc89d /sbin/brconfig | |
parent | 0729abd02c641dc3f71294a3f1f6ec187fbd4847 (diff) |
in IPSEC BRIDGE:
- need to explicitly bring bridge0 up; from mpf
- final example needs "link2"; from bsd
ok mpf
Diffstat (limited to 'sbin/brconfig')
-rw-r--r-- | sbin/brconfig/brconfig.8 | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/sbin/brconfig/brconfig.8 b/sbin/brconfig/brconfig.8 index f2d6a37143d..dbdb9bdbda5 100644 --- a/sbin/brconfig/brconfig.8 +++ b/sbin/brconfig/brconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: brconfig.8,v 1.70 2009/01/31 19:37:12 sobrado Exp $ +.\" $OpenBSD: brconfig.8,v 1.71 2009/05/04 18:05:01 jmc Exp $ .\" .\" Copyright (c) 1999-2001 Jason L. Wright (jason@thought.net) .\" All rights reserved. @@ -24,7 +24,7 @@ .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 31 2009 $ +.Dd $Mdocdate: May 4 2009 $ .Dt BRCONFIG 8 .Os .Sh NAME @@ -370,10 +370,13 @@ both bridges have fxp1 on their internal network (network1 and network2, respectively), the following configuration can be used to bridge network1 and network2. .Pp -Add the encapsulation interface and internal Ethernet interface to the bridge -interface: -.Pp -.Dl # brconfig bridge0 add gif0 add fxp1 +First create the bridge interface, +then add the encapsulation interface and internal Ethernet interface +to the bridge interface: +.Bd -literal -offset indent +# ifconfig bridge0 create +# brconfig bridge0 add gif0 add fxp1 +.Ed .Pp Create and configure the gif0 interface: .Bd -literal -offset indent @@ -438,7 +441,7 @@ interface: Finally, bring the bridge interface up and allow it to start processing frames: .Pp -.Dl # brconfig bridge0 up +.Dl # brconfig bridge0 up link2 .Pp The internal interface on each bridge need not have an IP address: the bridge can function without it. |