-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello list!

There are a bunch of IP addresses used in example bird.conf.

Maybe we can consider using addresses from rfc5737 (IPv4 Address Blocks
Reserved for Documentation) for this?

I mean, do sed 's?62.168.0?198.51.100?g' bird.conf, for example

The same approach can be taken for ASN, there is rfc 5398 giving us
64496 - 64511 ASN block for 16-bits ASN.

Diff to current bird.conf (just an example) attached

P.S. and consider using rfc3849 2001:DB8::/32 when writing examples for
 bird6.conf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6IR7EACgkQwcJ4iSZ1q2nOegCeMnYdufDLiCMP9K635P9NgB9h
pKEAoKgTQYv/Em+m7RZZGbXJ3Fb0XEAy
=5Q10
-----END PGP SIGNATURE-----
--- bird.conf.example   2011-09-29 18:38:34.000000000 +0400
+++ /home/melifaro/bird.conf    2011-10-02 15:10:33.964294041 +0400
@@ -10,7 +10,7 @@
 #log "tmp" all;
 
 # Override router ID
-#router id 62.168.0.1;
+#router id 198.51.100.1;
 
 # You can define your own symbols...
 #define xyzzy = (120+10);
@@ -66,12 +66,12 @@
 #      preference 1000;        # Default preference of routes
 #      debug { states, routes, filters, interfaces, events, packets };
 #      debug all;
-#      route 0.0.0.0/0 via 62.168.0.13;
-#      route 62.168.0.0/25 reject;
+#      route 0.0.0.0/0 via 198.51.100.13;
+#      route 198.51.100.0/25 reject;
 #      route 10.0.0.0/8 reject;
-#      route 10.1.1.0:255.255.255.0 via 62.168.0.3;
-#      route 10.1.2.0:255.255.255.0 via 62.168.0.3;
-#      route 10.1.3.0:255.255.255.0 via 62.168.0.4;
+#      route 10.1.1.0:255.255.255.0 via 198.51.100.3;
+#      route 10.1.2.0:255.255.255.0 via 198.51.100.3;
+#      route 10.1.3.0:255.255.255.0 via 198.51.100.4;
 #      route 10.2.0.0/24 via "arc0";
 }
 
@@ -168,7 +168,7 @@
 #      disabled;
 #      description "My BGP uplink";
 #      local as 65000;
-#      neighbor 62.168.0.130 as 5588;
+#      neighbor 198.51.100.130 as 64496;
 #      multihop;
 #      hold time 240;
 #      startup hold time 240;
@@ -183,7 +183,7 @@
 #      path metric 1;          # Prefer routes with shorter paths (like Cisco 
does)
 #      default bgp_med 0;      # MED value we use for comparison when none is 
defined
 #      default bgp_local_pref 0;       # The same for local preference
-#      source address 62.168.0.14;     # What local address we use for the TCP 
connection
+#      source address 198.51.100.14;   # What local address we use for the TCP 
connection
 #      password "secret";      # Password used for MD5 authentication
 #      rr client;              # I am a route reflector and the neighor is my 
client
 #      rr cluster id 1.0.0.1;  # Use this value for cluster id instead of my 
router id 
@@ -193,7 +193,7 @@
 #                      bgp_community = -empty-; bgp_community = 
add(bgp_community,(65000,5678));
 #                      bgp_origin = 0;
 #                      bgp_community = -empty-; 
bgp_community.add((65000,5678));
-#                      if (65000,5678) ~ bgp_community then
+#                      if (65000,64501) ~ bgp_community then
 #                              bgp_community.add((0, 1));
 #                      if bgp_path ~ [= 65000 =] then
 #                              bgp_path.prepend(65000);

Reply via email to