Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:filters [2020/03/21 16:07] – [Juniper] johan | doc:filters [2023/08/25 16:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| 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: | * Everyone is free to filter on his AS as he wishes, however it is recommended to deny the default route((IPv4: | ||
| - | * 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/ | * GLaNET services addresses (/32s from 192.168.248.0/ | ||
| Line 62: | Line 62: | ||
| /* 6to4 */ | /* 6to4 */ | ||
| 2002::/16; | 2002::/16; | ||
| - | /* Pandora - Hack Hack Hack */ | ||
| - | 2620: | ||
| - | /* Facebook - Latency nightmare */ | ||
| - | 2a03: | ||
| /* 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/ | 192.168.252.0/ | ||
| + | } | ||
| + | prefix-list as-self { | ||
| + | /* REPLACE WITH YOUR OWN IPv4 PUBLIC PREFIX */ | ||
| + | 192.0.2.0/ | ||
| } | } | ||
| 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/ | 192.168.40.0/ | ||
| } | } | ||
| prefix-list as-self6 { | prefix-list as-self6 { | ||
| - | /* REPLACE WITH YOUR OWN NETWORK | + | /* REPLACE WITH YOUR OWN IPv6 PUBLIC PREFIX |
| - | | + | |
| } | } | ||
| 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; | ||