-
-
Save anonymous/9e5d429b811d59fdda43e3b67961948f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
source /etc/network/interfaces.d/* | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# Management Physical interface | |
auto enp5s0f1 | |
iface enp5s0f1 inet manual | |
# Container/Host management VLAN interface | |
auto ens3f0 | |
iface ens3f0 inet manual | |
# Storage/VxLAN Physical interface | |
auto ens1f0 | |
iface ens1f0 inet manual | |
mtu 9000 | |
# OpenStack Networking VXLAN (tunnel/overlay) VLAN interface | |
auto ens1f0.101 | |
iface ens1f0.101 inet manual | |
vlan-raw-device ens1f0 | |
mtu 9000 | |
# Storage network VLAN interface (optional) | |
auto ens1f0.102 | |
iface ens1f0.102 inet manual | |
vlan-raw-device ens1f0 | |
mtu 9000 | |
# Container/Host management bridge | |
auto br-mgmt | |
iface br-mgmt inet static | |
bridge_stp off | |
bridge_waitport 0 | |
bridge_fd 0 | |
bridge_ports enp5s0f1 | |
address 10.42.100.3 | |
netmask 255.255.255.0 | |
gateway 10.42.100.1 | |
dns-nameservers 10.42.100.1 | |
# OpenStack Networking VXLAN (tunnel/overlay) bridge | |
auto br-vxlan | |
iface br-vxlan inet static | |
bridge_stp off | |
bridge_waitport 0 | |
bridge_fd 0 | |
bridge_ports ens1f0.101 | |
address 10.42.101.3 | |
netmask 255.255.255.0 | |
post-up ip link set ens1f0.101 mtu 9000 | |
# OpenStack Networking VLAN bridge | |
auto br-vlan | |
iface br-vlan inet manual | |
bridge_stp off | |
bridge_waitport 0 | |
bridge_fd 0 | |
bridge_ports ens3f0 | |
# Storage bridge (optional) | |
auto br-storage | |
iface br-storage inet static | |
bridge_stp off | |
bridge_waitport 0 | |
bridge_fd 0 | |
bridge_ports ens1f0.102 | |
address 10.42.102.3 | |
netmask 255.255.255.0 | |
post-up ip link set ens1f0.102 mtu 9000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@infra1:~# cat /etc/network/interfaces | |
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
source /etc/network/interfaces.d/* | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# Management Physical interface | |
auto eno2 | |
iface eno2 inet manual | |
# Container/Host management VLAN interface | |
auto eno1 | |
iface eno1 inet manual | |
# Storage/VxLAN Physical interface | |
auto enp6s0f0 | |
iface enp6s0f0 inet manual | |
mtu 9000 | |
# OpenStack Networking VXLAN (tunnel/overlay) VLAN interface | |
auto enp6s0f0.101 | |
iface enp6s0f0.101 inet manual | |
vlan-raw-device enp6s0f0 | |
mtu 9000 | |
# Storage network VLAN interface (optional) | |
auto enp6s0f0.102 | |
iface enp6s0f0.102 inet manual | |
vlan-raw-device enp6s0f0 | |
mtu 9000 | |
# Container/Host management bridge | |
auto br-mgmt | |
iface br-mgmt inet static | |
bridge_stp off | |
bridge_waitport 0 | |
bridge_fd 0 | |
bridge_ports eno2 | |
address 10.42.100.2 | |
netmask 255.255.255.0 | |
gateway 10.42.100.1 | |
dns-nameservers 10.42.100.1 | |
iface br-mgmt inet static | |
address 10.42.100.8 | |
netmask 255.255.255.0 | |
dns-nameservers 10.42.100.1 | |
# OpenStack Networking VXLAN (tunnel/overlay) bridge | |
auto br-vxlan | |
iface br-vxlan inet static | |
bridge_stp off | |
bridge_waitport 0 | |
bridge_fd 0 | |
bridge_ports enp6s0f0.101 | |
address 10.42.101.2 | |
netmask 255.255.255.0 | |
post-up ip link set enp6s0f0.101 mtu 9000 | |
# OpenStack Networking VLAN bridge | |
auto br-vlan | |
iface br-vlan inet manual | |
bridge_stp off | |
bridge_waitport 0 | |
bridge_fd 0 | |
bridge_ports eno1 | |
# Storage bridge (optional) | |
auto br-storage | |
iface br-storage inet static | |
bridge_stp off | |
bridge_waitport 0 | |
bridge_fd 0 | |
bridge_ports enp6s0f0.102 | |
address 10.42.102.2 | |
netmask 255.255.255.0 | |
post-up ip link set enp6s0f0.102 mtu 9000 | |
source /etc/network/interfaces.d/*.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment