summaryrefslogtreecommitdiffstats
path: root/doc/bird.sgml
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-10-06 23:01:23 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2011-10-06 23:05:41 +0200
commit9491f9f593c1195039cecd1bb2a502363b58c66d (patch)
treef7c58845e9ada0bf9fea8fa29cb8390e8755d177 /doc/bird.sgml
parent32f95476a8d60508ca9d24fe20b09899b72de9d7 (diff)
downloadbird-9491f9f593c1195039cecd1bb2a502363b58c66d.tar
bird-9491f9f593c1195039cecd1bb2a502363b58c66d.zip
Use reserved address blocks for documentation (RFC 5737).
Diffstat (limited to 'doc/bird.sgml')
-rw-r--r--doc/bird.sgml20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index c929dbe..d454629 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1401,22 +1401,22 @@ with `<tt/O/') are optional.
<p><code>
protocol bgp {
local as 65000; # Use a private AS number
- neighbor 62.168.0.130 as 5588; # Our neighbor ...
+ neighbor 198.51.100.130 as 64496; # Our neighbor ...
multihop; # ... which is connected indirectly
export filter { # We use non-trivial export rules
if source = RTS_STATIC then { # Export only static routes
# Assign our community
- bgp_community.add((65000,5678));
+ bgp_community.add((65000,64501));
# Artificially increase path length
# by advertising local AS number twice
- if bgp_path ~ [= 65000 =] then
- bgp_path.prepend(65000);
+ if bgp_path ~ [= 65000 =] then
+ bgp_path.prepend(65000);
accept;
}
reject;
};
import all;
- source address 62.168.0.1; # Use a non-standard source address
+ source address 198.51.100.14; # Use a non-standard source address
}
</code>
@@ -2469,12 +2469,12 @@ definition of the protocol contains mainly a list of static routes:
<p><code>
protocol static {
table testable; # Connect to a non-default routing table
- route 0.0.0.0/0 via 62.168.0.13; # Default route
+ route 0.0.0.0/0 via 198.51.100.130; # Default route
route 10.0.0.0/8 multipath # Multipath route
- via 62.168.0.14 weight 2
- via 62.168.1.10
- via 62.168.1.11;
- route 62.168.0.0/25 reject; # Sink route
+ via 198.51.100.10 weight 2
+ via 198.51.100.20
+ via 192.0.2.1;
+ route 203.0.113.0/24 reject; # Sink route
route 10.2.0.0/24 via "arc0"; # Secondary network
}
</code>