Page MenuHomeSoftware Heritage

network: Remove unecessary route between internal network and VLAN1300
ClosedPublic

Authored by vsellier on Mon, Mar 29, 5:58 PM.

Details

Summary

This route was needed to reach pergamon (debian.softwareheritage.org)
from VLAN1300 when pergamon was still on VLAN210
https://inventory.internal.softwareheritage.org/ipam/prefixes/1/ip-addresses/

The swh repository was not reachable from all the nodes
attached to the VLAN1300 (moma/kafka/...), probably since the last
reboot of pergamon.

Test Plan
diff origin/production/pergamon.softwareheritage.org current/pergamon.softwareheritage.org
*******************************************
  Concat::Fragment[eth1_stanza] =>
   parameters =>
     content =>
      @@ -9,5 +9,4 @@
         up ip route add 192.168.130.0/24 via 192.168.100.130
         up ip route add 192.168.50.0/24 via 192.168.100.130
      -  up ip route add 128.93.166.0/26 via 192.168.100.130
         up ip rule add from 192.168.100.29 table private
         up ip route add 192.168.100.0/24 src 192.168.100.29 dev eth1 table private
      @@ -17,5 +16,4 @@
         down ip route del 192.168.100.0/24 src 192.168.100.29 dev eth1 table private
         down ip rule del from 192.168.100.29 table private
      -  down ip route del 128.93.166.0/26 via 192.168.100.130
         down ip route del 192.168.50.0/24 via 192.168.100.130
         down ip route del 192.168.130.0/24 via 192.168.100.130
*******************************************
  Concat_fragment[eth1_stanza] =>
   parameters =>
     content =>
      @@ -9,5 +9,4 @@
         up ip route add 192.168.130.0/24 via 192.168.100.130
         up ip route add 192.168.50.0/24 via 192.168.100.130
      -  up ip route add 128.93.166.0/26 via 192.168.100.130
         up ip rule add from 192.168.100.29 table private
         up ip route add 192.168.100.0/24 src 192.168.100.29 dev eth1 table private
      @@ -17,5 +16,4 @@
         down ip route del 192.168.100.0/24 src 192.168.100.29 dev eth1 table private
         down ip rule del from 192.168.100.29 table private
      -  down ip route del 128.93.166.0/26 via 192.168.100.130
         down ip route del 192.168.50.0/24 via 192.168.100.130
         down ip route del 192.168.130.0/24 via 192.168.100.130
*******************************************
  Debnet::Iface[eth1] =>
   parameters =>
     downs =>
      - ["ip route del default via 192.168.100.1 dev eth1 table private", "ip route del 192.168.100.0/24 src 192.168.100.29 dev eth1 table private", "ip rule del from 192.168.100.29 table private", "ip route del 128.93.166.0/26 via 192.168.100.130", "ip route del 192.168.50.0/24 via 192.168.100.130", "ip route del 192.168.130.0/24 via 192.168.100.130", "ip route del 192.168.128.0/24 via 192.168.100.125", "ip route del 192.168.200.0/21 via 192.168.100.1", "ip route del 192.168.101.0/24 via 192.168.100.1", "ip route flush cache"]
      + ["ip route del default via 192.168.100.1 dev eth1 table private", "ip route del 192.168.100.0/24 src 192.168.100.29 dev eth1 table private", "ip rule del from 192.168.100.29 table private", "ip route del 192.168.50.0/24 via 192.168.100.130", "ip route del 192.168.130.0/24 via 192.168.100.130", "ip route del 192.168.128.0/24 via 192.168.100.125", "ip route del 192.168.200.0/21 via 192.168.100.1", "ip route del 192.168.101.0/24 via 192.168.100.1", "ip route flush cache"]
     ups =>
      - ["ip route add 192.168.101.0/24 via 192.168.100.1", "ip route add 192.168.200.0/21 via 192.168.100.1", "ip route add 192.168.128.0/24 via 192.168.100.125", "ip route add 192.168.130.0/24 via 192.168.100.130", "ip route add 192.168.50.0/24 via 192.168.100.130", "ip route add 128.93.166.0/26 via 192.168.100.130", "ip rule add from 192.168.100.29 table private", "ip route add 192.168.100.0/24 src 192.168.100.29 dev eth1 table private", "ip route add default via 192.168.100.1 dev eth1 table private", "ip route flush cache"]
      + ["ip route add 192.168.101.0/24 via 192.168.100.1", "ip route add 192.168.200.0/21 via 192.168.100.1", "ip route add 192.168.128.0/24 via 192.168.100.125", "ip route add 192.168.130.0/24 via 192.168.100.130", "ip route add 192.168.50.0/24 via 192.168.100.130", "ip rule add from 192.168.100.29 table private", "ip route add 192.168.100.0/24 src 192.168.100.29 dev eth1 table private", "ip route add default via 192.168.100.1 dev eth1 table private", "ip route flush cache"]
*******************************************
*** End octocatalog-diff on pergamon.softwareheritage.org

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.