Premier commit
This commit is contained in:
12
roles/post/files/interfaces.graylog-pont
Normal file
12
roles/post/files/interfaces.graylog-pont
Normal file
@@ -0,0 +1,12 @@
|
||||
#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
|
||||
|
||||
# Accès par pont
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.0.50
|
||||
netmask 255.255.255.0
|
38
roles/post/files/interfaces.r-ext
Normal file
38
roles/post/files/interfaces.r-ext
Normal file
@@ -0,0 +1,38 @@
|
||||
### 0.2 - putconf - jeudi 7 janvier 2016, 16:18:49 (UTC+0100)
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# carte reseau admin
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.13
|
||||
netmask 255.255.255.0
|
||||
|
||||
# Réseau DMZ
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.100.254
|
||||
netmask 255.255.255.0
|
||||
|
||||
# carte en bridge
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet dhcp
|
||||
up /root/nat.sh
|
||||
|
||||
# Réseau VPN
|
||||
allow-hotplug enp0s10
|
||||
iface enp0s10 inet static
|
||||
address 192.168.1.1
|
||||
netmask 255.255.255.0
|
||||
up ip route add 172.16.128.0/24 via 192.168.1.2
|
||||
|
||||
|
||||
# Réseau liaison entre routeur
|
||||
allow-hotplug enp0s16
|
||||
iface enp0s16 inet static
|
||||
address 192.168.200.253
|
||||
netmask 255.255.255.0
|
||||
up ip route add 172.16.0.0/24 via 192.168.200.254
|
||||
up ip route add 172.16.64.0/24 via 192.168.200.254
|
37
roles/post/files/interfaces.r-int
Normal file
37
roles/post/files/interfaces.r-int
Normal file
@@ -0,0 +1,37 @@
|
||||
# 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
|
||||
|
||||
# Reseau N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.12/24
|
||||
|
||||
|
||||
# Reseau liaison avec r-ext
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.200.254/24
|
||||
gateway 192.168.200.253
|
||||
|
||||
|
||||
# Reseau wifi
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 172.16.65.254/24
|
||||
|
||||
|
||||
# Reseau user
|
||||
allow-hotplug enp0s10
|
||||
iface enp0s10 inet static
|
||||
address 172.16.64.254/24
|
||||
|
||||
|
||||
# Reseau infra
|
||||
allow-hotplug enp0s16
|
||||
iface enp0s16 inet static
|
||||
address 172.16.0.254/24
|
||||
post-up sleep 10 && systemctl restart isc-dhcp-server
|
31
roles/post/files/interfaces.r-vp1
Executable file
31
roles/post/files/interfaces.r-vp1
Executable file
@@ -0,0 +1,31 @@
|
||||
# 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
|
||||
|
||||
#cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.112
|
||||
netmask 255.255.255.0
|
||||
|
||||
# réseaux interne n-linkv
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.1.2
|
||||
netmask 255.255.255.0
|
||||
|
||||
# accés par pont et entre vpn
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.0.51
|
||||
netmask 255.255.255.0
|
||||
up ip route add 192.168.200.0/24 via 192.168.1.1
|
||||
up ip route add 172.16.0.0/24 via 192.168.1.1
|
||||
# up ip route add 192.168.0.0/24 via 192.168.0.51
|
||||
# up ip route add 192.168.1.0/24 via 192.168.1.2
|
||||
# up route add -net 172.16.128.0/24 gw 192.168.0.52
|
||||
# up route add default gw 192.168.1.1
|
||||
# post-up /bin/bash /root/iptables-vpn
|
||||
# post-up /etc/init.d/ipsec restart
|
29
roles/post/files/interfaces.r-vp2
Normal file
29
roles/post/files/interfaces.r-vp2
Normal file
@@ -0,0 +1,29 @@
|
||||
# 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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.102
|
||||
netmask 255.255.255.0
|
||||
|
||||
# cote Agence
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.128.254
|
||||
netmask 255.255.255.0
|
||||
|
||||
# cote VPN
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.0.52
|
||||
netmask 255.255.255.0
|
||||
# post-up /usr/sbin/ip route add 192.168.1.0/24 via 172.16.128.254/24
|
||||
# post-up /usr/sbin/ip route add 172.16.0.0/24 via 172.16.128.254/24
|
||||
|
||||
# up route add -net 192.168.1.0/24 gw 192.168.0.52
|
||||
# post-up /bin/bash /root/iptables-vpn
|
||||
# post-up /etc/init.d/ipsec restart
|
20
roles/post/files/interfaces.s-adm
Normal file
20
roles/post/files/interfaces.s-adm
Normal file
@@ -0,0 +1,20 @@
|
||||
#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
|
||||
|
||||
# cote public
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet dhcp
|
||||
post-up iptables -t nat -A POSTROUTING -o enp0s3 -j MASQUERADE
|
||||
post-up echo "1" > /proc/sys/net/ipv4/ip_forward
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.99.99
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
14
roles/post/files/interfaces.s-agence
Normal file
14
roles/post/files/interfaces.s-agence
Normal file
@@ -0,0 +1,14 @@
|
||||
# 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
|
||||
|
||||
# cote n-ag
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet dhcp
|
||||
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet dhcp
|
||||
|
27
roles/post/files/interfaces.s-appli
Normal file
27
roles/post/files/interfaces.s-appli
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.3
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.99.99
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.3
|
||||
netmask 255.255.255.0
|
||||
post-up route add -net 172.16.64.0/24 gw 172.16.0.254
|
||||
post-up route add -net 172.16.65.0/24 gw 172.16.0.254
|
||||
|
||||
#cote N-san
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.20.103
|
||||
netmask 255.255.255.0
|
25
roles/post/files/interfaces.s-backup
Normal file
25
roles/post/files/interfaces.s-backup
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.4
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.99.99
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.4
|
||||
netmask 255.255.255.0
|
||||
|
||||
# cote N-San
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.20.4
|
||||
netmask 255.255.255.0
|
21
roles/post/files/interfaces.s-bdd
Normal file
21
roles/post/files/interfaces.s-bdd
Normal file
@@ -0,0 +1,21 @@
|
||||
# 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
|
||||
|
||||
# cote n-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet dhcp
|
||||
address 192.168.99.154
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
# cote N-dmz-db
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.102.254
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
20
roles/post/files/interfaces.s-docker
Normal file
20
roles/post/files/interfaces.s-docker
Normal file
@@ -0,0 +1,20 @@
|
||||
#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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.19
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.99.99
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.19
|
||||
netmask 255.255.255.0
|
20
roles/post/files/interfaces.s-elk
Normal file
20
roles/post/files/interfaces.s-elk
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.11
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.99.99
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.11
|
||||
netmask 255.255.255.0
|
||||
post-up route add -net 172.16.64.0/24 gw 172.16.0.254
|
26
roles/post/files/interfaces.s-fog
Normal file
26
roles/post/files/interfaces.s-fog
Normal file
@@ -0,0 +1,26 @@
|
||||
# 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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.16
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.99.99
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.16
|
||||
netmask 255.255.255.0
|
||||
|
||||
#cote N-user
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 172.16.64.16
|
||||
netmask 255.255.255.0
|
24
roles/post/files/interfaces.s-gestsup
Normal file
24
roles/post/files/interfaces.s-gestsup
Normal file
@@ -0,0 +1,24 @@
|
||||
#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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.17
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.99.99
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.17
|
||||
netmask 255.255.255.0
|
||||
post-up route add -net 172.16.64.0/24 gw 172.16.0.254
|
||||
post-up route add -net 172.16.65.0/24 gw 172.16.0.254
|
||||
|
||||
|
21
roles/post/files/interfaces.s-graylog
Normal file
21
roles/post/files/interfaces.s-graylog
Normal file
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.20
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.20
|
||||
netmask 255.255.255.0
|
||||
up route add -net 192.168.200.0/24 gw 172.16.0.254
|
||||
up route add default gw 192.168.99.99
|
24
roles/post/files/interfaces.s-infra
Normal file
24
roles/post/files/interfaces.s-infra
Normal file
@@ -0,0 +1,24 @@
|
||||
#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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.1
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.99.99
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.1
|
||||
netmask 255.255.255.0
|
||||
up ip route add 172.16.64.0/24 via 172.16.0.254
|
||||
up ip route add 172.16.128.0/24 via 172.16.0.254
|
||||
up ip route add 192.168.0.0/16 via 172.16.0.254
|
||||
|
20
roles/post/files/interfaces.s-itil
Normal file
20
roles/post/files/interfaces.s-itil
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.9
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.99.99
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.9
|
||||
netmask 255.255.255.0
|
||||
up ip route add 172.16.64.0/24 via 172.16.0.254
|
24
roles/post/files/interfaces.s-itil-cs
Normal file
24
roles/post/files/interfaces.s-itil-cs
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.9
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.9
|
||||
netmask 255.255.255.0
|
||||
# routage statique
|
||||
post-up route add -net 172.16.64.0/24 gw 172.16.0.254
|
||||
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet dhcp
|
27
roles/post/files/interfaces.s-lb
Normal file
27
roles/post/files/interfaces.s-lb
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.100
|
||||
netmask 255.255.255.0
|
||||
|
||||
# cote N-dmz
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.100.10
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.100.254
|
||||
up ip route add 192.168.200.0/24 via 192.168.100.254
|
||||
up ip route add 172.16.0.0/24 via 192.168.100.254
|
||||
|
||||
# cote N-dmz-lb
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.101.100
|
||||
netmask 255.255.255.0
|
21
roles/post/files/interfaces.s-lb-bd
Normal file
21
roles/post/files/interfaces.s-lb-bd
Normal file
@@ -0,0 +1,21 @@
|
||||
# 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
|
||||
|
||||
# cote n-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.154
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
# cote N-dmz-db
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.102.254
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
27
roles/post/files/interfaces.s-lb-web1
Normal file
27
roles/post/files/interfaces.s-lb-web1
Normal file
@@ -0,0 +1,27 @@
|
||||
### 0.2 - putconf - jeudi 7 janvier 2016, 16:18:49 (UTC+0100)
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# carte n-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.101
|
||||
netmask 255.255.255.0
|
||||
|
||||
# Réseau n-dmz-lb
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.101.1
|
||||
netmask 255.255.255.0
|
||||
|
||||
# réseau n-dmz-db
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.102.1
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
|
||||
|
25
roles/post/files/interfaces.s-lb-web2
Normal file
25
roles/post/files/interfaces.s-lb-web2
Normal file
@@ -0,0 +1,25 @@
|
||||
### 0.2 - putconf - jeudi 7 janvier 2016, 16:18:49 (UTC+0100)
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# n-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.102
|
||||
netmask 255.255.255.0
|
||||
|
||||
# n-dmz-lb
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.101.2
|
||||
netmask 255.255.255.0
|
||||
|
||||
# n-dmz-db
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.102.2
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
25
roles/post/files/interfaces.s-lb-web3
Normal file
25
roles/post/files/interfaces.s-lb-web3
Normal file
@@ -0,0 +1,25 @@
|
||||
### 0.2 - putconf - jeudi 7 janvier 2016, 16:18:49 (UTC+0100)
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# n-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.103
|
||||
netmask 255.255.255.0
|
||||
|
||||
# n-dmz-lb
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.101.3
|
||||
netmask 255.255.255.0
|
||||
|
||||
# n-dmz-db
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.102.3
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
39
roles/post/files/interfaces.s-lb-wordpress
Normal file
39
roles/post/files/interfaces.s-lb-wordpress
Normal file
@@ -0,0 +1,39 @@
|
||||
### 0.2 - putconf - jeudi 7 janvier 2016, 16:18:49 (UTC+0100)
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# carte reseau admin
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet dhcp
|
||||
address 192.168.99.11
|
||||
netmask 255.255.255.0
|
||||
|
||||
# Réseau N-lb-f
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.101.1
|
||||
netmask 255.255.255.0
|
||||
|
||||
# réseau N-lb-b
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.102.1
|
||||
netmask 255.255.255.0
|
||||
# up /root/nat.sh
|
||||
|
||||
# Réseau VPN
|
||||
#allow-hotplug enp0s10
|
||||
#iface enp0s10 inet static
|
||||
# address 192.168.1.1
|
||||
# netmask 255.255.255.0
|
||||
|
||||
|
||||
|
||||
# Réseau liaison entre routeur
|
||||
#allow-hotplug enp0s16
|
||||
#iface enp0s16 inet static
|
||||
# address 192.168.200.253
|
||||
# netmask 255.255.255.0
|
||||
|
39
roles/post/files/interfaces.s-lb-wordpress2
Normal file
39
roles/post/files/interfaces.s-lb-wordpress2
Normal file
@@ -0,0 +1,39 @@
|
||||
### 0.2 - putconf - jeudi 7 janvier 2016, 16:18:49 (UTC+0100)
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# carte reseau admin
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet dhcp
|
||||
address 192.168.99.12
|
||||
netmask 255.255.255.0
|
||||
|
||||
# Réseau N-lb-f
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.101.2
|
||||
netmask 255.255.255.0
|
||||
|
||||
# réseau N-lb-b
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.102.2
|
||||
netmask 255.255.255.0
|
||||
# up /root/nat.sh
|
||||
|
||||
# Réseau VPN
|
||||
#allow-hotplug enp0s10
|
||||
#iface enp0s10 inet static
|
||||
# address 192.168.1.1
|
||||
# netmask 255.255.255.0
|
||||
|
||||
|
||||
|
||||
# Réseau liaison entre routeur
|
||||
#allow-hotplug enp0s16
|
||||
#iface enp0s16 inet static
|
||||
# address 192.168.200.253
|
||||
# netmask 255.255.255.0
|
||||
|
39
roles/post/files/interfaces.s-lb-wordpress3
Normal file
39
roles/post/files/interfaces.s-lb-wordpress3
Normal file
@@ -0,0 +1,39 @@
|
||||
### 0.2 - putconf - jeudi 7 janvier 2016, 16:18:49 (UTC+0100)
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# carte reseau admin
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet dhcp
|
||||
address 192.168.99.13
|
||||
netmask 255.255.255.0
|
||||
|
||||
# Réseau N-lb-f
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.101.3
|
||||
netmask 255.255.255.0
|
||||
|
||||
# réseau N-lb-b
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.102.3
|
||||
netmask 255.255.255.0
|
||||
# up /root/nat.sh
|
||||
|
||||
# Réseau VPN
|
||||
#allow-hotplug enp0s10
|
||||
#iface enp0s10 inet static
|
||||
# address 192.168.1.1
|
||||
# netmask 255.255.255.0
|
||||
|
||||
|
||||
|
||||
# Réseau liaison entre routeur
|
||||
#allow-hotplug enp0s16
|
||||
#iface enp0s16 inet static
|
||||
# address 192.168.200.253
|
||||
# netmask 255.255.255.0
|
||||
|
24
roles/post/files/interfaces.s-mess
Normal file
24
roles/post/files/interfaces.s-mess
Normal file
@@ -0,0 +1,24 @@
|
||||
#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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.7
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.99.99
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.7
|
||||
netmask 255.255.255.0
|
||||
post-up route add -net 172.16.64.0/24 gw 172.16.0.254
|
||||
post-up route add -net 172.16.65.0/24 gw 172.16.0.254
|
||||
|
||||
|
23
roles/post/files/interfaces.s-mon
Normal file
23
roles/post/files/interfaces.s-mon
Normal file
@@ -0,0 +1,23 @@
|
||||
# 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
|
||||
|
||||
# cote n-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.8/24
|
||||
gateway 192.168.99.99
|
||||
|
||||
# Cote n-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.8/24
|
||||
up ip route add 172.16.64.0/24 via 172.16.0.254
|
||||
up ip route add 172.16.128.0/24 via 172.16.0.254
|
||||
up ip route add 192.168.0.0/16 via 172.16.0.254
|
||||
up ip route add 192.168.200.0/24 via 172.16.0.254
|
22
roles/post/files/interfaces.s-mon-gm
Normal file
22
roles/post/files/interfaces.s-mon-gm
Normal file
@@ -0,0 +1,22 @@
|
||||
#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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.8
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.8
|
||||
netmask 255.255.255.0
|
||||
up route add -net 192.168.200.0/24 gw 172.16.0.254
|
||||
up route add -net 192.168.100.0/24 gw 172.16.0.254
|
||||
up route add default gw 192.168.99.99
|
22
roles/post/files/interfaces.s-mon-kb
Normal file
22
roles/post/files/interfaces.s-mon-kb
Normal file
@@ -0,0 +1,22 @@
|
||||
#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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.8
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.8
|
||||
netmask 255.255.255.0
|
||||
up route add -net 192.168.200.0/24 gw 172.16.0.254
|
||||
up route add -net 192.168.100.0/24 gw 172.16.0.254
|
||||
up route add default gw 192.168.99.99
|
22
roles/post/files/interfaces.s-mon-yb
Normal file
22
roles/post/files/interfaces.s-mon-yb
Normal file
@@ -0,0 +1,22 @@
|
||||
#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
|
||||
|
||||
#cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.8
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
#cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.8
|
||||
netmask 255.255.255.0
|
||||
up route add -net 192.168.200.0/24 gw 172.16.0.254
|
||||
up route add -net 192.168.100.0/24 gw 172.16.0.254
|
||||
up route add default gw 192.168.99.99
|
21
roles/post/files/interfaces.s-mon2
Normal file
21
roles/post/files/interfaces.s-mon2
Normal file
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.8
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.8
|
||||
netmask 255.255.255.0
|
||||
gateway 172.16.0.254
|
||||
|
24
roles/post/files/interfaces.s-mon3
Normal file
24
roles/post/files/interfaces.s-mon3
Normal file
@@ -0,0 +1,24 @@
|
||||
#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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.8
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.8
|
||||
netmask 255.255.255.0
|
||||
up route add default gw 172.16.0.254
|
||||
up route add default gw 192.168.99.99
|
||||
|
||||
# bridge
|
||||
iface enp0s9 inet dhcp
|
17
roles/post/files/interfaces.s-nas
Normal file
17
roles/post/files/interfaces.s-nas
Normal file
@@ -0,0 +1,17 @@
|
||||
#source /etc/network/interfaces.d/*
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# n-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.153
|
||||
netmask 255.255.255.0
|
||||
|
||||
# n-dmz-db
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.102.253
|
||||
netmask 255.255.255.0
|
24
roles/post/files/interfaces.s-nxc
Normal file
24
roles/post/files/interfaces.s-nxc
Normal file
@@ -0,0 +1,24 @@
|
||||
#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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.7
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.99.99
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.7
|
||||
netmask 255.255.255.0
|
||||
post-up route add -net 172.16.64.0/24 gw 172.16.0.254
|
||||
post-up route add -net 172.16.65.0/24 gw 172.16.0.254
|
||||
|
||||
|
17
roles/post/files/interfaces.s-peertube
Normal file
17
roles/post/files/interfaces.s-peertube
Normal file
@@ -0,0 +1,17 @@
|
||||
### 0.1 - putconf - jeudi 30 mars 2023, 8:11:30 (UTC+0100)
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# carte n-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.120/24
|
||||
gateway 192.168.99.99
|
||||
|
||||
# Réseau n-dmz
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.100.20/24
|
||||
post-up systemctl start k3s
|
22
roles/post/files/interfaces.s-proxy
Normal file
22
roles/post/files/interfaces.s-proxy
Normal file
@@ -0,0 +1,22 @@
|
||||
# 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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.2
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.2
|
||||
netmask 255.255.255.0
|
||||
gateway 172.16.0.254
|
||||
|
||||
|
25
roles/post/files/interfaces.s-san
Normal file
25
roles/post/files/interfaces.s-san
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.15
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.99.99
|
||||
|
||||
# cote S-appli
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.20.103
|
||||
netmask 255.255.255.0
|
||||
|
||||
# cote s-Backup
|
||||
#allow-hotplug enp0s9
|
||||
#iface enp0s9 inet static
|
||||
# address 192.168.20.104
|
||||
# netmask 255.255.255.0
|
22
roles/post/files/interfaces.s-sspec
Normal file
22
roles/post/files/interfaces.s-sspec
Normal file
@@ -0,0 +1,22 @@
|
||||
# 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
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.10
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 172.16.0.10
|
||||
netmask 255.255.255.0
|
||||
gateway 172.16.0.254
|
||||
|
||||
|
21
roles/post/files/interfaces.s-test
Normal file
21
roles/post/files/interfaces.s-test
Normal file
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
|
||||
# cote n-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.18
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.99.99
|
||||
|
||||
|
||||
# cote n-dmz
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.100.150
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.100.254
|
20
roles/post/files/interfaces.s-web
Normal file
20
roles/post/files/interfaces.s-web
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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
|
||||
|
||||
|
||||
|
||||
# cote N-dmz
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.100.11
|
||||
netmask 255.255.255.0
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.99.14
|
||||
netmask 255.255.255.0
|
27
roles/post/files/interfaces.s-web1
Normal file
27
roles/post/files/interfaces.s-web1
Normal file
@@ -0,0 +1,27 @@
|
||||
### 0.2 - putconf - jeudi 7 janvier 2016, 16:18:49 (UTC+0100)
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# carte n-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.101
|
||||
netmask 255.255.255.0
|
||||
|
||||
# Réseau n-dmz-lb
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.101.1
|
||||
netmask 255.255.255.0
|
||||
|
||||
# réseau n-dmz-db
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.102.1
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
|
||||
|
25
roles/post/files/interfaces.s-web2
Normal file
25
roles/post/files/interfaces.s-web2
Normal file
@@ -0,0 +1,25 @@
|
||||
### 0.2 - putconf - jeudi 7 janvier 2016, 16:18:49 (UTC+0100)
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# n-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.102
|
||||
netmask 255.255.255.0
|
||||
|
||||
# n-dmz-lb
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.101.2
|
||||
netmask 255.255.255.0
|
||||
|
||||
# n-dmz-db
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.102.2
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
27
roles/post/files/interfaces.s-web3
Normal file
27
roles/post/files/interfaces.s-web3
Normal file
@@ -0,0 +1,27 @@
|
||||
### 0.2 - putconf - jeudi 7 janvier 2016, 16:18:49 (UTC+0100)
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# carte n-adm
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.99.103
|
||||
netmask 255.255.255.0
|
||||
|
||||
# Réseau n-dmz-lb
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.101.3
|
||||
netmask 255.255.255.0
|
||||
|
||||
# réseau n-dmz-db
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 192.168.102.3
|
||||
netmask 255.255.255.0
|
||||
|
||||
|
||||
|
||||
|
23
roles/post/files/interfaces.user-yb
Normal file
23
roles/post/files/interfaces.user-yb
Normal file
@@ -0,0 +1,23 @@
|
||||
# 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
|
||||
|
||||
# cote n-dmz
|
||||
allow-hotplug enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.100.20/24
|
||||
|
||||
# cote N-adm
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.99.20
|
||||
netmask 255.255.255.0
|
||||
|
||||
# cote N-infra
|
||||
allow-hotplug enp0s9
|
||||
iface enp0s9 inet static
|
||||
address 172.16.0.20
|
||||
netmask 255.255.255.0
|
4
roles/post/files/resolv.conf
Normal file
4
roles/post/files/resolv.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
search gsb.lan
|
||||
domain gsb.lan
|
||||
nameserver 172.16.0.1
|
||||
|
4
roles/post/files/resolv.conf.s-proxy
Normal file
4
roles/post/files/resolv.conf.s-proxy
Normal file
@@ -0,0 +1,4 @@
|
||||
search gsb.lan
|
||||
domain gsb.lan
|
||||
nameserver 172.16.0.1
|
||||
|
Reference in New Issue
Block a user