finishing file cleanup
This commit is contained in:
293
bare-metal/interfaces-fnfDedi
Normal file
293
bare-metal/interfaces-fnfDedi
Normal file
@@ -0,0 +1,293 @@
|
||||
#This file is fairly long and complex. Don't change it unless you know what you are doing.
|
||||
#And if you aren't Charles Wyble, you don't know what your doing in this context. Trust me.
|
||||
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
|
||||
#First we create the bonded interfaces for high availabilty:
|
||||
|
||||
|
||||
###########################################################################################
|
||||
#First bond here (eth0/1 ha pair)
|
||||
###########################################################################################
|
||||
|
||||
auto eth0
|
||||
allow-bond0 eth0
|
||||
|
||||
iface eth0 inet manual
|
||||
bond-master bond0
|
||||
|
||||
auto eth1
|
||||
allow-bond0 eth1
|
||||
|
||||
iface eth1 inet manual
|
||||
bond-master bond0
|
||||
|
||||
auto bond0
|
||||
iface bond0 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
bond-slaves none
|
||||
bond-mode active-backup
|
||||
bond-miimon 100
|
||||
bond-downdelay 200
|
||||
bond-updelay 100
|
||||
dns-nameservers 208.67.222.222 208.67.220.220
|
||||
|
||||
###########################################################################################
|
||||
#Second bond here (eth2/3 ha pair)
|
||||
###########################################################################################
|
||||
|
||||
auto eth2
|
||||
allow-bond1 eth2
|
||||
|
||||
iface eth2 inet manual
|
||||
bond-master bond1
|
||||
|
||||
auto eth3
|
||||
allow-bond1 eth3
|
||||
|
||||
iface eth3 inet manual
|
||||
bond-master bond1
|
||||
|
||||
auto bond1
|
||||
|
||||
iface bond1 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
bond-slaves none
|
||||
bond-mode active-backup
|
||||
bond-miimon 100
|
||||
bond-downdelay 200
|
||||
bond-updelay 100
|
||||
dns-nameservers 208.67.222.222 208.67.220.220
|
||||
|
||||
###########################################################################################
|
||||
#Interface defintions #
|
||||
###########################################################################################
|
||||
|
||||
###########################################################################################
|
||||
#Backend MGMT interface (used for overall management network, physical devices) #
|
||||
###########################################################################################
|
||||
auto bond0.2
|
||||
iface bond0.2 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
vlan-raw-device bond0
|
||||
|
||||
auto br2
|
||||
iface br2 inet static
|
||||
address 10.250.2.3
|
||||
netmask 255.255.255.0
|
||||
gateway 10.250.2.1
|
||||
bridge_ports bond0.2
|
||||
bridge_stp off
|
||||
bridge_fd 0
|
||||
bridge_maxwait 0
|
||||
|
||||
###########################################################################################
|
||||
#Backend FNF interface (used for FNF management network). For now all virtual machines #
|
||||
###########################################################################################
|
||||
auto bond0.4
|
||||
iface bond0.4 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
vlan-raw-device bond0
|
||||
|
||||
auto br4
|
||||
iface br4 inet static
|
||||
address 10.250.4.3
|
||||
netmask 255.255.255.0
|
||||
gateway 10.250.4.1
|
||||
bridge_ports bond0.4
|
||||
bridge_stp off
|
||||
bridge_fd 0
|
||||
bridge_maxwait 0
|
||||
|
||||
###########################################################################################
|
||||
#Frontend FNF interface (used for internet traffic) #
|
||||
###########################################################################################
|
||||
auto bond1.5
|
||||
iface bond1.5 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
vlan-raw-device bond1
|
||||
|
||||
auto br5
|
||||
iface br5 inet static
|
||||
address 10.250.5.3
|
||||
netmask 255.255.255.0
|
||||
gateway 10.250.5.1
|
||||
bridge_ports bond1.5
|
||||
bridge_stp off
|
||||
bridge_fd 0
|
||||
bridge_maxwait 0
|
||||
|
||||
|
||||
###########################################################################################
|
||||
#Backend infra interface (used for shared infra services like DNS)
|
||||
###########################################################################################
|
||||
auto bond0.6
|
||||
iface bond0.6 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
vlan-raw-device bond0
|
||||
|
||||
auto br6
|
||||
iface br6 inet static
|
||||
address 10.250.6.3
|
||||
netmask 255.255.255.0
|
||||
gateway 10.250.6.1
|
||||
bridge_ports bond0.6
|
||||
bridge_stp off
|
||||
bridge_fd 0
|
||||
bridge_maxwait 0
|
||||
|
||||
###########################################################################################
|
||||
#Backend www interface (used for www management network) #
|
||||
###########################################################################################
|
||||
auto bond0.8
|
||||
iface bond0.8 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
vlan-raw-device bond0
|
||||
|
||||
auto br8
|
||||
iface br8 inet static
|
||||
address 10.250.8.3
|
||||
netmask 255.255.255.0
|
||||
gateway 10.250.8.1
|
||||
bridge_ports bond0.8
|
||||
bridge_stp off
|
||||
bridge_fd 0
|
||||
bridge_maxwait 0
|
||||
|
||||
###########################################################################################
|
||||
#Frontend www interface (used for www external network) #
|
||||
###########################################################################################
|
||||
|
||||
auto bond1.9
|
||||
iface bond1.9 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
vlan-raw-device bond1
|
||||
|
||||
auto br9
|
||||
iface br9 inet static
|
||||
address 10.250.9.3
|
||||
netmask 255.255.255.0
|
||||
gateway 10.250.9.1
|
||||
bridge_ports bond1.9
|
||||
bridge_stp off
|
||||
bridge_fd 0
|
||||
bridge_maxwait 0
|
||||
|
||||
###########################################################################################
|
||||
#IMW backend interface #
|
||||
###########################################################################################
|
||||
|
||||
auto bond0.54
|
||||
iface bond0.54 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
vlan-raw-device bond1
|
||||
|
||||
auto br54
|
||||
iface br54 inet static
|
||||
address 10.250.54.3
|
||||
netmask 255.255.255.0
|
||||
gateway 10.250.54.1
|
||||
bridge_ports bond0.54
|
||||
bridge_stp off
|
||||
bridge_fd 0
|
||||
|
||||
###########################################################################################
|
||||
#AutoTunnel interfaces #
|
||||
###########################################################################################
|
||||
|
||||
#Management
|
||||
auto bond0.88
|
||||
iface bond0.88 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
vlan-raw-device bond1
|
||||
|
||||
auto br88
|
||||
iface br88 inet static
|
||||
address 10.250.88.3
|
||||
netmask 255.255.255.0
|
||||
gateway 10.250.88.1
|
||||
bridge_ports bond0.88
|
||||
bridge_stp off
|
||||
bridge_fd 0
|
||||
|
||||
#Inline
|
||||
auto bond0.89
|
||||
iface bond0.89 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
vlan-raw-device bond1
|
||||
|
||||
auto br89
|
||||
iface br89 inet static
|
||||
address 10.250.89.3
|
||||
netmask 255.255.255.0
|
||||
gateway 10.250.89.1
|
||||
bridge_ports bond0.89
|
||||
bridge_stp off
|
||||
bridge_fd 0
|
||||
|
||||
#Isolation
|
||||
auto bond0.90
|
||||
iface bond0.90 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
vlan-raw-device bond1
|
||||
|
||||
auto br90
|
||||
iface br90 inet static
|
||||
address 10.250.90.3
|
||||
netmask 255.255.255.0
|
||||
gateway 10.250.90.1
|
||||
bridge_ports bond0.90
|
||||
bridge_stp off
|
||||
bridge_fd 0
|
||||
|
||||
#Registration
|
||||
auto bond0.91
|
||||
iface bond0.91 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
vlan-raw-device bond1
|
||||
|
||||
auto br91
|
||||
iface br91 inet static
|
||||
address 10.250.91.3
|
||||
netmask 255.255.255.0
|
||||
gateway 10.250.91.1
|
||||
bridge_ports bond0.91
|
||||
bridge_stp off
|
||||
bridge_fd 0
|
||||
|
||||
###########################################################################################
|
||||
#KNEL backend interface #
|
||||
###########################################################################################
|
||||
|
||||
auto bond0.24
|
||||
iface bond0.24 inet manual
|
||||
post-up ifconfig $IFACE up
|
||||
pre-down ifconfig $IFACE down
|
||||
vlan-raw-device bond0
|
||||
|
||||
auto br24
|
||||
iface br24 inet static
|
||||
address 10.250.24.3
|
||||
netmask 255.255.255.0
|
||||
gateway 10.250.24.1
|
||||
bridge_ports bond0.24
|
||||
bridge_stp off
|
||||
bridge_fd 0
|
||||
bridge_maxwait 0
|
169
bare-metal/interfaces-tsysDedi
Normal file
169
bare-metal/interfaces-tsysDedi
Normal file
@@ -0,0 +1,169 @@
|
||||
# This file describes the network interfaces available on your system
|
||||
# and how to activate them. For more information, see interfaces(5).
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
auto eth0
|
||||
iface eth0 inet manual
|
||||
|
||||
|
||||
##########################################################################
|
||||
#WAN bridge - non ovs, physical interface
|
||||
##########################################################################
|
||||
auto brWan
|
||||
iface brWan inet static
|
||||
address 158.69.225.97
|
||||
netmask 255.255.255.0
|
||||
network 158.69.225.0
|
||||
broadcast 158.69.225.255
|
||||
gateway 158.69.225.254
|
||||
bridge_ports eth0
|
||||
bridge_stp off
|
||||
bridge_fd 0
|
||||
bridge_hello 2
|
||||
bridge_maxage 12
|
||||
|
||||
#Routing network
|
||||
#10.253.0.0/24
|
||||
|
||||
#No VLAN1 obviously, what do you think this is? A holiday inn?
|
||||
|
||||
##########################################################################
|
||||
#bare metal net vlan2 goes nowhere just provides isolation
|
||||
##########################################################################
|
||||
auto baremetal
|
||||
allow-ovs baremetal
|
||||
iface baremetal inet static
|
||||
address 10.253.44.2
|
||||
netmask 255.255.255.0
|
||||
ovs_type OVSBridge
|
||||
ovs_ports vlan2
|
||||
|
||||
allow-baremetal vlan2
|
||||
iface vlan2 inet manual
|
||||
ovs_bridge baremetal
|
||||
ovs_type OVSIntPort
|
||||
ovs_options tag=2
|
||||
|
||||
##########################################################################
|
||||
#mgmt net vlan3
|
||||
##########################################################################
|
||||
auto mgmt
|
||||
allow-ovs mgmt
|
||||
iface mgmt inet static
|
||||
address 10.253.3.2
|
||||
netmask 255.255.255.0
|
||||
ovs_type OVSBridge
|
||||
ovs_ports vlan3
|
||||
|
||||
allow-mgmt vlan3
|
||||
iface vlan3 inet manual
|
||||
ovs_bridge mgmt
|
||||
ovs_type OVSIntPort
|
||||
ovs_options tag=3
|
||||
|
||||
##########################################################################
|
||||
#asn2net net vlan4
|
||||
##########################################################################
|
||||
auto asn2net
|
||||
allow-ovs asn2net
|
||||
iface asn2net inet static
|
||||
address 10.253.4.2
|
||||
netmask 255.255.255.0
|
||||
ovs_type OVSBridge
|
||||
ovs_ports vlan4
|
||||
|
||||
allow-asn2net vlan4
|
||||
iface vlan4 inet manual
|
||||
ovs_bridge asn2net
|
||||
ovs_type OVSIntPort
|
||||
ovs_options tag=4
|
||||
|
||||
##########################################################################
|
||||
#S2l net vlan5
|
||||
##########################################################################
|
||||
auto s2l
|
||||
allow-ovs s2l
|
||||
iface s2l inet static
|
||||
address 10.253.5.2
|
||||
netmask 255.255.255.0
|
||||
ovs_type OVSBridge
|
||||
ovs_ports vlan5
|
||||
|
||||
allow-s2l vlan5
|
||||
iface vlan5 inet manual
|
||||
ovs_bridge s2l
|
||||
ovs_type OVSIntPort
|
||||
ovs_options tag=5
|
||||
|
||||
|
||||
##########################################################################
|
||||
#rackrental net vlan6
|
||||
##########################################################################
|
||||
auto rackrental
|
||||
allow-ovs rackrental
|
||||
iface rackrental inet static
|
||||
address 10.253.6.2
|
||||
netmask 255.255.255.0
|
||||
ovs_type OVSBridge
|
||||
ovs_ports vlan6
|
||||
|
||||
allow-rackrental vlan6
|
||||
iface vlan6 inet manual
|
||||
ovs_bridge rackrental
|
||||
ovs_type OVSIntPort
|
||||
ovs_options tag=6
|
||||
|
||||
|
||||
##########################################################################
|
||||
#fnf net vlan7
|
||||
##########################################################################
|
||||
auto fnf
|
||||
allow-ovs fnf
|
||||
iface fnf inet static
|
||||
address 10.253.7.2
|
||||
netmask 255.255.255.0
|
||||
ovs_type OVSBridge
|
||||
ovs_ports vlan7
|
||||
|
||||
allow-fnf vlan7
|
||||
iface vlan7 inet manual
|
||||
ovs_bridge fnf
|
||||
ovs_type OVSIntPort
|
||||
ovs_options tag=7
|
||||
|
||||
##########################################################################
|
||||
#knel net vlan8
|
||||
##########################################################################
|
||||
auto knel
|
||||
allow-ovs knel
|
||||
iface knel inet static
|
||||
address 10.253.8.2
|
||||
netmask 255.255.255.0
|
||||
ovs_type OVSBridge
|
||||
ovs_ports vlan8
|
||||
|
||||
allow-knel vlan8
|
||||
iface vlan8 inet manual
|
||||
ovs_bridge knel
|
||||
ovs_type OVSIntPort
|
||||
ovs_options tag=8
|
||||
|
||||
##########################################################################
|
||||
#tsys net vlan9
|
||||
##########################################################################
|
||||
auto tsys
|
||||
allow-ovs tsys
|
||||
iface tsys inet static
|
||||
address 10.253.9.2
|
||||
netmask 255.255.255.0
|
||||
ovs_type OVSBridge
|
||||
ovs_ports vlan9
|
||||
|
||||
allow-tsys vlan9
|
||||
iface vlan9 inet manual
|
||||
ovs_bridge tsys
|
||||
ovs_type OVSIntPort
|
||||
ovs_options tag=9
|
Reference in New Issue
Block a user