Ajout des fichiers configs dhcp et dns avec la carte réseau

This commit is contained in:
2025-02-17 09:31:55 +01:00
parent 6e4a091d0a
commit b48e82f549
7 changed files with 252 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# 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
# The primary network interface
allow-hotplug enp0s3
#iface enp0s3 inet dhcp
auto enp0s3
iface enp0s3 inet static
address 172.16.0.2/24
gateway 172.16.0.1