Changeset View
Changeset View
Standalone View
Standalone View
data/hostname/pergamon.softwareheritage.org.yaml
Show All 14 Lines | smtp::mynetworks: | ||||
- 192.168.200.0/21 | - 192.168.200.0/21 | ||||
networks: | networks: | ||||
private: | private: | ||||
interface: eth1 | interface: eth1 | ||||
address: 192.168.100.29 | address: 192.168.100.29 | ||||
netmask: 255.255.255.0 | netmask: 255.255.255.0 | ||||
gateway: 192.168.100.1 | gateway: 192.168.100.1 | ||||
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" | |||||
ardumont: as @ftigeot noticed, this should pass by the staging gateway directly.
I think i made it pass… | |||||
- "ip route add 192.168.128.0/24 via 192.168.100.125" | |||||
- "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' | |||||
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 192.168.128.0/24 via 192.168.100.125" | |||||
- "ip route del 192.168.200.0/24 via 192.168.100.1" | |||||
- "ip route del 192.168.101.0/24 via 192.168.100.1" | |||||
- 'ip route flush cache' | |||||
default: | default: | ||||
interface: eth0 | interface: eth0 | ||||
address: 128.93.193.29 | address: 128.93.193.29 | ||||
netmask: 255.255.255.0 | netmask: 255.255.255.0 | ||||
gateway: 128.93.193.254 | gateway: 128.93.193.254 | ||||
# Set apache MPM to prefork | # Set apache MPM to prefork | ||||
apache::mpm_module: prefork | apache::mpm_module: prefork | ||||
Show All 31 Lines |
as @ftigeot noticed, this should pass by the staging gateway directly.
I think i made it pass through louvre to avoid duplicating the gateway's production ip twice (one in louvre and one in pergamon)...
But that makes the paquets bounce one more node so i'll skip that and fix it.
Thanks.