Browse Source

change from a /16 subnet to a /24 subnet

With the transition to the new ninux-compatible network we choose to
have a ip pool for vm that resides on the 10.150.42 network.
As 254 unique addresses are sufficient for our need we reduce the subnet
to a /24
master
Edoardo Putti 8 years ago
parent
commit
a9b4fcf0af
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roles/lxc_guest/templates/config.j2

+ 1
- 1
roles/lxc_guest/templates/config.j2 View File

@ -10,6 +10,6 @@ lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0
lxc.network.name = eth0
lxc.network.ipv4 = {{ hostvars[vm_name]['ansible_host'] }}/16
lxc.network.ipv4 = {{ hostvars[vm_name]['ansible_host'] }}/24
lxc.network.ipv4.gateway = {{ hostvars[ext_gateway]['ansible_host'] }}
lxc.start.auto = {% if auto_start %}1{% else %}0{% endif %}

Loading…
Cancel
Save