49 lines
899 B
Django/Jinja
49 lines
899 B
Django/Jinja
auto eno1
|
|
iface eno1 inet manual
|
|
mtu 1500
|
|
|
|
auto enp1s0f0
|
|
iface enp1s0f0 inet manual
|
|
mtu 9000
|
|
|
|
iface enp1s0f1 inet manual
|
|
mtu 9000
|
|
|
|
# Mgmt interface
|
|
auto vmbr0
|
|
iface vmbr0 inet static
|
|
address {{ vmbr0_ip }}/22
|
|
bridge-ports eno1
|
|
bridge-stp off
|
|
bridge-fd 0
|
|
mtu 1500
|
|
|
|
auto vmbr1
|
|
iface vmbr1 inet manual
|
|
bridge-ports enp1s0f0
|
|
bridge-stp off
|
|
bridge-fd 0
|
|
bridge-vlan-aware yes
|
|
bridge-vids 2-4094
|
|
mtu 9000
|
|
|
|
# Prod interface
|
|
auto vmbr1.1337
|
|
iface vmbr1.1337 inet static
|
|
address {{ vmbr1_1337_ip }}/22
|
|
gateway 10.133.7.1
|
|
mtu 9000
|
|
|
|
# DMZ interface
|
|
auto vmbr1.666
|
|
iface vmbr1.666 inet static
|
|
address {{ vmbr1_666_ip }}/22
|
|
mtu 1500
|
|
|
|
# Cluster network
|
|
auto {{ cluster_iface }}
|
|
iface {{ cluster_iface }} inet static
|
|
address {{ cluster_ip }}/28
|
|
mtu 1500
|
|
|