version 1.4, 2004/05/05 15:25:04 |
version 1.5, 2004/05/08 18:43:06 |
|
|
# see bgpd.conf(5) |
# see bgpd.conf(5) |
|
|
#macros |
#macros |
peer1="10.0.0.2" |
peer1="10.1.0.2" |
peer2="10.0.0.3" |
peer2="10.1.0.3" |
|
|
# global configuration |
# global configuration |
AS 65001 |
AS 65001 |
|
|
holdtime 180 |
holdtime 180 |
holdtime min 3 |
holdtime min 3 |
listen on 127.0.0.1 |
listen on 127.0.0.1 |
|
listen on ::1 |
fib-update no |
fib-update no |
|
# route-collector yes |
# log updates |
# log updates |
# network 10.0.1.0/24 |
# network 10.0.1.0/24 |
|
|
|
|
tcp md5sig password mekmitasdigoat |
tcp md5sig password mekmitasdigoat |
} |
} |
neighbor $peer2 { |
neighbor $peer2 { |
descr "AS 65001 peer 2" |
descr "AS 65001 peer 2" |
announce all |
announce all |
|
local-address 10.0.0.8 |
|
ipsec esp ike |
} |
} |
} |
} |
|
|
|
group "peering AS65042" { |
|
descr "peering AS 65042" |
|
local-address 10.0.0.8 |
|
ipsec ah ike |
|
neighbor 10.2.0.1 |
|
neighbor 10.2.0.2 |
|
} |
|
|
neighbor 10.0.1.0 { |
neighbor 10.0.1.0 { |
remote-as 65003 |
remote-as 65003 |
descr upstream |
descr upstream |
|
|
holdtime min 3 |
holdtime min 3 |
announce none |
announce none |
tcp md5sig key deadbeef |
tcp md5sig key deadbeef |
|
} |
|
|
|
neighbor 10.0.2.0 { |
|
remote-as 65004 |
|
descr upstream2 |
|
local-address 10.0.0.8 |
|
ipsec ah ike |
|
} |
|
|
|
neighbor 10.0.0.0/24 { |
|
descr "template for local peers" |
} |
} |
|
|
# filter out prefixes longer than 24 or shorter than 8 bits |
# filter out prefixes longer than 24 or shorter than 8 bits |