Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
doc:filters [2020/03/21 16:07] – [Juniper] Johan Fleurydoc:filters [2020/09/05 11:53] – [Juniper] Benjamin Collet
Line 3: Line 3:
  
   * Everyone is free to filter on his AS as he wishes, however it is recommended to deny the default route((IPv4: ''0.0.0.0/0'' | IPv6: ''::0/0'')), inbound and outbound.   * Everyone is free to filter on his AS as he wishes, however it is recommended to deny the default route((IPv4: ''0.0.0.0/0'' | IPv6: ''::0/0'')), inbound and outbound.
-  * It is also recommended that you don't advertise IPv4 prefixes longer than 28 bits and IPv6 prefixes longer than 60 bits. Of course there are exceptions:+  * It is also recommended that you don't advertise IPv4 prefixes longer than 28 bits and IPv6 prefixes longer than 61 bits((Some members have small allocations)). Of course there are exceptions:
     * Non-RFC1918 addresses reachable via GLaNET.     * Non-RFC1918 addresses reachable via GLaNET.
     * GLaNET services addresses (/32s from 192.168.248.0/22 and /128s from ''fd00:6b64:f3b0::/48'').     * GLaNET services addresses (/32s from 192.168.248.0/22 and /128s from ''fd00:6b64:f3b0::/48'').
Line 62: Line 62:
         /* 6to4 */         /* 6to4 */
         2002::/16;         2002::/16;
-        /* Pandora - Hack Hack Hack */ 
-        2620:106:e000::/44; 
-        /* Facebook - Latency nightmare */ 
-        2a03:2880::/29; 
         /* Unique-Local */         /* Unique-Local */
         fc00::/7;         fc00::/7;
Line 82: Line 78:
         /* High risk of collision within GLaNET */         /* High risk of collision within GLaNET */
         192.168.252.0/22;         192.168.252.0/22;
 +    }
 +    prefix-list as-self {
 +        /* REPLACE WITH YOUR OWN IPv4 PUBLIC PREFIX */
 +        192.0.2.0/24;
     }     }
     prefix-list as-self-glanet {     prefix-list as-self-glanet {
-        /* REPLACE WITH YOUR OWN NETWORK */+        /* REPLACE WITH YOUR OWN IPv4 GLANET PREFIX */
         192.168.40.0/22;         192.168.40.0/22;
     }     }
     prefix-list as-self6 {     prefix-list as-self6 {
-        /* REPLACE WITH YOUR OWN NETWORK */ +        /* REPLACE WITH YOUR OWN IPv6 PUBLIC PREFIX */ 
-        2a06:e881:1100::/44;+        2001:db8::/48;
     }     }
     policy-statement bgp-import-glanet {     policy-statement bgp-import-glanet {
Line 119: Line 119:
                 route-filter 0.0.0.0/0 upto /7;                 route-filter 0.0.0.0/0 upto /7;
                 prefix-list-filter bogons orlonger;                 prefix-list-filter bogons orlonger;
 +                prefix-list-filter as-self orlonger;
             }             }
             then reject;             then reject;