Skip to content

Commit

Permalink
Fix server virtual-IP config
Browse files Browse the repository at this point in the history
We want every server to have the same virtual IP on it, not
per-server-instance IP.
  • Loading branch information
rbtcollins committed Aug 5, 2017
1 parent c54741f commit c123605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions salt/server.sls
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ system:
hn0.0:
network.managed:
- type: alias
- ipaddr: 10.1.0.{{ salt['rr.hostnumber'](grains['id']) }}
- ipaddr: 10.1.0.1
- netmask: 255.255.255.0

gre0:
Expand All @@ -20,7 +20,7 @@ gre0:
- tunnel_addr: server{{salt['rr.hostnumber'](grains['id'])}}.mshome.net
# nodes own hostname because the LB can't route to the non-on-net address yet
# (and perhaps we simply don't need to do that?)
# - tunnel_addr: 10.1.0.{{ salt['rr.hostnumber'](grains['id']) }}
# - tunnel_addr: 10.1.0.1
# NB: tunnel_peer won't be used as we won't ever send traffic to 172.16.0.1...
# and we're not going to route the client through the tunnel since we want DSR
# - tunnel peer is the LB because the src address is filtered by the gre stack.
Expand Down

0 comments on commit c123605

Please sign in to comment.