|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: bgpd.conf,v 1.2 2003/12/28 12:52:28 henning Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: bgpd.conf,v 1.3 2004/02/07 20:03:30 henning Exp $ |
|
|
# sample bgpd configuration file |
|
|
# sample bgpd configuration file |
|
|
# see bgpd.conf(5) |
|
|
# see bgpd.conf(5) |
|
|
|
|
|
|
|
@ -12,17 +12,21 @@ router-id 10.0.0.1 |
|
|
holdtime 180 |
|
|
holdtime 180 |
|
|
holdtime min 3 |
|
|
holdtime min 3 |
|
|
listen on 127.0.0.1 |
|
|
listen on 127.0.0.1 |
|
|
# fib-update no |
|
|
|
|
|
|
|
|
fib-update no |
|
|
# log updates |
|
|
# log updates |
|
|
|
|
|
# network 10.0.1.0/24 |
|
|
|
|
|
|
|
|
# neighbors and peers |
|
|
# neighbors and peers |
|
|
group "peering AS65002" { |
|
|
group "peering AS65002" { |
|
|
remote-as 65002 |
|
|
remote-as 65002 |
|
|
neighbor $peer1 { |
|
|
neighbor $peer1 { |
|
|
descr "AS 65001 peer 1" |
|
|
descr "AS 65001 peer 1" |
|
|
|
|
|
announce self |
|
|
|
|
|
tcp md5sig password mekmitasdigoat |
|
|
} |
|
|
} |
|
|
neighbor $peer2 { |
|
|
neighbor $peer2 { |
|
|
descr "AS 65001 peer 2" |
|
|
descr "AS 65001 peer 2" |
|
|
|
|
|
announce all |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -32,5 +36,9 @@ neighbor 10.0.1.0 { |
|
|
multihop 2 |
|
|
multihop 2 |
|
|
local-address 10.0.0.8 |
|
|
local-address 10.0.0.8 |
|
|
passive |
|
|
passive |
|
|
|
|
|
holdtime 180 |
|
|
|
|
|
holdtime min 3 |
|
|
|
|
|
announce none |
|
|
|
|
|
tcp md5sig key deadbeef |
|
|
} |
|
|
} |
|
|
|
|
|
|