You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Ban: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Ayounsi
(Created page with "== Network layer == === Prefixes === # On a cumin host, edit <code>/srv/homer/private/config/common.yaml</code> # Add v4 or v6 prefixes under <code>blackhole:</code> (see exam...")
 
imported>Volans
m (Use the CuminHosts template instead of hardcoding the hostnames)
 
Line 1: Line 1:
== Network layer ==
== Network layer ==
=== Prefixes ===
=== Prefixes ===
# On a cumin host, edit <code>/srv/homer/private/config/common.yaml</code>
# On one of the cluster management hosts ({{CuminHosts}}), edit <code>/srv/homer/private/config/common.yaml</code>
# Add v4 or v6 prefixes under <code>blackhole:</code> (see examples)
# Add v4 or v6 prefixes under <code>blackhole:</code> (see examples)
# Commit the file
# Commit the file
# Run homer on all routers <code>homer "cr*" commit "Ban prefixes"</code>
# Run homer on all routers <code>homer "cr*" commit "Ban prefixes"</code>

Latest revision as of 12:08, 11 March 2022

Network layer

Prefixes

  1. On one of the cluster management hosts (cumin1001.eqiad.wmnet, cumin2002.codfw.wmnet), edit /srv/homer/private/config/common.yaml
  2. Add v4 or v6 prefixes under blackhole: (see examples)
  3. Commit the file
  4. Run homer on all routers homer "cr*" commit "Ban prefixes"