@@ -8,154 +8,7 @@ function no_advertise(int asn) {
88 bgp_large_community.add((24115, 0, asn)); # Equinix
99}
1010
11- filter grapheneos_ipv4_filter {
12- # Cogent: set localpref to 10 upon entering AF Region from other regions of the Cogent backbone
13- bgp_community.add((174, 932));
14- # Cogent: set localpref to 10 upon entering AU Region from other regions of the Cogent backbone
15- bgp_community.add((174, 942));
16- # Cogent: set localpref to 10 upon entering SA Region from other regions of the Cogent backbone
17- bgp_community.add((174, 952));
18- # Cogent: set localpref to 10 upon entering AP Region from other regions of the Cogent backbone
19- bgp_community.add((174, 962));
20- # Cogent: set localpref to 10 upon entering EU Region from other regions of the Cogent backbone
21- bgp_community.add((174, 982));
22-
23- # Arelion: set localpref to 50 beyond the connected region
24- bgp_community.add((1299, 10050));
25- # Arelion: prepend 2x to all peers in Europe
26- bgp_community.add((1299, 2002));
27- # Arelion: prepend 2x to all peers in Asia & Pacific
28- bgp_community.add((1299, 7002));
29-
30- # NTT: set localpref to 96 (customer fallback)
31- bgp_community.add((2914, 450));
32- # NTT: set localpref to 50 beyond the connected region
33- bgp_community.add((2914, 436));
34- # NTT: prepend 2x to all customers in Europe
35- bgp_community.add((2914, 4212));
36- # NTT: prepend 2x to all peers in Europe
37- bgp_community.add((2914, 4222));
38- # NTT: prepend 2x to all customers in Asia
39- bgp_community.add((2914, 4412));
40- # NTT: prepend 2x to all peers in Asia
41- bgp_community.add((2914, 4422));
42- # NTT: prepend 2x to all customers in South America
43- bgp_community.add((2914, 4612));
44- # NTT: prepend 2x to all peers in South America
45- bgp_community.add((2914, 4622));
46-
47- # GTT: set localpref way below peers in configured regions
48- bgp_community.add((3257, 1960));
49- # GTT: set localpref in Europe
50- bgp_community.add((3257, 2010));
51- # GTT: set localpref in Asia
52- bgp_community.add((3257, 2011));
53- # GTT: set localpref in Africa
54- bgp_community.add((3257, 2012));
55- # GTT: set localpref in South America
56- bgp_community.add((3257, 2013));
57- # GTT: prepend 2x in Europe
58- bgp_community.add((3257, 2492));
59- # GTT: prepend 2x in Asia
60- bgp_community.add((3257, 2592));
61- # GTT: prepend 2x in Africa
62- bgp_community.add((3257, 2692));
63- # GTT: prepend 2x in South America
64- bgp_community.add((3257, 2892));
65-
66- # Lumen: set BGP Local Pref to 70 (less than peer routes)
67- bgp_community.add((3356, 70));
68-
69- # PCCW: set localpref to 60 beyond the connected region
70- bgp_community.add((3491, 51912));
71- # PCCW: prepend 2x to all peers in Europe
72- bgp_community.add((3491, 50302));
73- # PCCW: prepend 2x to all peers in Asia
74- bgp_community.add((3491, 50402));
75- # PCCW: prepend 2x to all peers in Africa
76- bgp_community.add((3491, 50502));
77- # PCCW: prepend 2x to all peers in Australia
78- bgp_community.add((3491, 50702));
79-
80- # Comcast: do not advertise to Orange
81- bgp_community.add((65100, 5511));
82-
83- # Comcast: do not advertise to TATA
84- bgp_community.add((65100, 6453));
85-
86- # Sparkle (Seabone): set localpref to 50 (backup route)
87- bgp_community.add((6762, 1050));
88-
89- # Misaka.io: do not advertise to HE
90- bgp_ext_community.add((rt, 65009, 6939));
91- # Misaka.io: prepend 1x to HE
92- bgp_ext_community.add((rt, 65001, 6939));
93-
94- # Misaka.io: do not advertise to Google
95- bgp_ext_community.add((rt, 65009, 15169));
96-
97- # Misaka.io: prepend 1x to Equinix
98- bgp_ext_community.add((rt, 65001, 24115));
99- # Equinix: advertise to all peers
100- bgp_large_community.add((24115, 1, 24115));
101-
102- # Core-Backbone: do not advertise to Europe
103- bgp_community.add((33891, 41000));
104- # Core-Backbone: do not advertise to Asia
105- bgp_community.add((33891, 41020));
106- # Core-Backbone: do not advertise on PNI with Bharti
107- bgp_community.add((33891, 2230));
108- # Core-Backbone: do not advertise on IXP
109- bgp_community.add((33891, 4000));
110- bgp_community.add((33891, 5000));
111- bgp_community.add((33891, 6000));
112- bgp_community.add((33891, 7000));
113- bgp_community.add((33891, 8000));
114- bgp_community.add((33891, 9000));
115- bgp_community.add((33891, 10000));
116- bgp_community.add((33891, 11000));
117- bgp_community.add((33891, 12000));
118- bgp_community.add((33891, 13000));
119- bgp_community.add((33891, 14000));
120- bgp_community.add((33891, 15000));
121- bgp_community.add((33891, 16000));
122- bgp_community.add((33891, 17000));
123- bgp_community.add((33891, 18000));
124- bgp_community.add((33891, 19000));
125- bgp_community.add((33891, 20000));
126- bgp_community.add((33891, 21000));
127- bgp_community.add((33891, 22000));
128- bgp_community.add((33891, 23000));
129- bgp_community.add((33891, 24000));
130- bgp_community.add((33891, 25000));
131- bgp_community.add((33891, 26000));
132- bgp_community.add((33891, 27000));
133- bgp_community.add((33891, 28000));
134- bgp_community.add((33891, 29000));
135-
136- # CDN77: do not advertise to backbone
137- bgp_community.add((60068, 60010));
138-
139- # Misaka.io: do not advertise to GSL via Hyonix (Krixe)
140- bgp_ext_community.add((rt, 65009, 931));
141- # Misaka.io: remove Misaka from path to Krixe GSL transit
142- #bgp_community.add((931, 47005));
143- # GSL: export prefix to all external ports (legacy quirk required in Ashburn)
144- #bgp_community.add((65500, 10000));
145-
146- no_advertise(6939); # HE
147- no_advertise(9498); # Bharti
148- no_advertise(24482); # SG.GS
149- no_advertise(57463); # NetIX
150- no_advertise(58453); # China Mobile International
151- no_advertise(58715); # Earth Telecommunication
152- no_advertise(137409); # GSL
153- no_advertise(139901); # Startrek Telecom
154-
155- accept;
156- };
157-
158- filter grapheneos_ipv6_filter {
11+ filter grapheneos_filter {
15912 # Cogent: set localpref to 10 upon entering AF Region from other regions of the Cogent backbone
16013 bgp_community.add((174, 932));
16114 # Cogent: set localpref to 10 upon entering AU Region from other regions of the Cogent backbone
0 commit comments