Compare commits

...

3 Commits

Author SHA1 Message Date
root
ca6a1b9513 Merge branch 'main' of https://gitea.lyc-lecastel.fr/gadmin/gsb2023 2023-01-10 09:41:43 +01:00
root
2ab19a6497 modif goss r-ext 2023-01-10 09:41:14 +01:00
root
b017071726 correction interfaces sources ignore 2023-01-10 09:41:08 +01:00
3 changed files with 5 additions and 7 deletions

View File

@@ -34,8 +34,6 @@ interface:
- 192.168.100.254/24 - 192.168.100.254/24
enp0s9: enp0s9:
exists: true exists: true
addrs:
- 192.168.0.38/24
enp0s16: enp0s16:
exists: true exists: true
addrs: addrs:

View File

@@ -1,7 +1,7 @@
# This file describes the network interfaces available on your system # This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5). # and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/* #source /etc/network/interfaces.d/*
# The loopback network interface # The loopback network interface
auto lo auto lo
@@ -10,7 +10,7 @@ iface lo inet loopback
# cote n-adm # cote n-adm
allow-hotplug enp0s3 allow-hotplug enp0s3
iface enp0s3 inet static iface enp0s3 inet static
address 192.168.99.104/24 address 192.168.99.8/24
gateway 192.168.99.99 gateway 192.168.99.99
# Cote n-infra # Cote n-infra
@@ -20,4 +20,4 @@ iface enp0s8 inet static
up ip route add 172.16.64.0/24 via 172.16.0.254 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 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.0.0/16 via 172.16.0.254
up ip route add 192.168.200.0/24 via 172.16.0.254 up ip route add 192.168.200.0/24 via 172.16.0.254

View File

@@ -1,4 +1,4 @@
source /etc/network/interfaces.d/* #source /etc/network/interfaces.d/*
# The loopback network interface # The loopback network interface
auto lo auto lo
@@ -14,4 +14,4 @@ iface enp0s3 inet static
allow-hotplug enp0s8 allow-hotplug enp0s8
iface enp0s8 inet static iface enp0s8 inet static
address 192.168.102.253 address 192.168.102.253
netmask 255.255.255.0 netmask 255.255.255.0