diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-05-08 20:18:46 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-05-08 20:18:46 +0000 |
commit | de71d62ffc43a7c9a09eb2e7c989a4b993bbadbc (patch) | |
tree | dbd5d5880db372d26f9a778884cfb436cce58174 /usr.sbin/bgpd/bgpd.conf.5 | |
parent | e754b83b54b9f9cd151d1512a1261c371089f772 (diff) |
as bloody attempt to document neighbor cloning
Diffstat (limited to 'usr.sbin/bgpd/bgpd.conf.5')
-rw-r--r-- | usr.sbin/bgpd/bgpd.conf.5 | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.conf.5 b/usr.sbin/bgpd/bgpd.conf.5 index cbe9b58e9a6..00e1aca6e99 100644 --- a/usr.sbin/bgpd/bgpd.conf.5 +++ b/usr.sbin/bgpd/bgpd.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bgpd.conf.5,v 1.23 2004/05/08 20:00:44 henning Exp $ +.\" $OpenBSD: bgpd.conf.5,v 1.24 2004/05/08 20:18:45 henning Exp $ .\" .\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org> .\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -245,6 +245,25 @@ group "peering AS65002" { } .Ed .Pp +Instead of the neighbor's IP address an address/netmask pair may be given. +.Bd -literal -offset indent +neighbor 10.0.0.0/8 +.Ed +.Pp +In this case, the neighbor specification becomes a +.Em template , +and if a neighbor connects from an IP address within the given network, +the template is +.Em cloned , +inheriting everything from the template but the remote address which is +replaced by the connecting neighbor's address. +With a template specification it is valid to omit +.Ar remote-as , +.Ar bgpd +will accept any AS the neighbor presents in the +.Em OPEN +message then. +.Pp There are several neighbor properties: .Bl -tag -width xxxxxxxx .It Ar announce |