correction interfaces sources ignore

This commit is contained in:
root 2023-01-10 09:41:08 +01:00
parent b4e7f7e067
commit b017071726
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# 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/*
#source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
@ -10,7 +10,7 @@ iface lo inet loopback
# cote n-adm
allow-hotplug enp0s3
iface enp0s3 inet static
address 192.168.99.104/24
address 192.168.99.8/24
gateway 192.168.99.99
# 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.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
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
auto lo
@ -14,4 +14,4 @@ iface enp0s3 inet static
allow-hotplug enp0s8
iface enp0s8 inet static
address 192.168.102.253
netmask 255.255.255.0
netmask 255.255.255.0