From 58e6f4478938cedc22d68d5d14f9b5162f238cfa Mon Sep 17 00:00:00 2001 From: Guillaume Emorine Date: Mon, 16 Sep 2024 17:28:41 +0200 Subject: [PATCH] =?UTF-8?q?=09nouveau=20fichier=C2=A0:=20bts=5Fannee=5F2/s?= =?UTF-8?q?isr2/pxe/DHCP/README.md=20=09renomm=C3=A9=C2=A0:=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20bts=5Fannee=5F2/sisr2/pxe/dhcpd.conf=20->=20bts=5Fa?= =?UTF-8?q?nnee=5F2/sisr2/pxe/DHCP/dhcpd.conf=20=09renomm=C3=A9=C2=A0:=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20bts=5Fannee=5F2/sisr2/pxe/isc-dhcp-serv?= =?UTF-8?q?er=20->=20bts=5Fannee=5F2/sisr2/pxe/DHCP/isc-dhcp-server=20=09n?= =?UTF-8?q?ouveau=20fichier=C2=A0:=20bts=5Fannee=5F2/sisr2/pxe/Interfaces/?= =?UTF-8?q?README.md=20=09nouveau=20fichier=C2=A0:=20bts=5Fannee=5F2/sisr2?= =?UTF-8?q?/pxe/Interfaces/enp0s3=20=09nouveau=20fichier=C2=A0:=20bts=5Fan?= =?UTF-8?q?nee=5F2/sisr2/pxe/Interfaces/enp0s8=20=09nouveau=20fichier?= =?UTF-8?q?=C2=A0:=20bts=5Fannee=5F2/sisr2/pxe/nftables/README.md=20=09ren?= =?UTF-8?q?omm=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20bts=5Fannee=5F2/sisr?= =?UTF-8?q?2/pxe/nftables.conf=20->=20bts=5Fannee=5F2/sisr2/pxe/nftables/n?= =?UTF-8?q?ftables.conf=20=09nouveau=20fichier=C2=A0:=20bts=5Fannee=5F2/si?= =?UTF-8?q?sr2/pxe/routing=5Fcommand?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bts_annee_2/sisr2/pxe/DHCP/README.md | 1 + bts_annee_2/sisr2/pxe/{ => DHCP}/dhcpd.conf | 0 bts_annee_2/sisr2/pxe/{ => DHCP}/isc-dhcp-server | 0 bts_annee_2/sisr2/pxe/Interfaces/README.md | 1 + bts_annee_2/sisr2/pxe/Interfaces/enp0s3 | 3 +++ bts_annee_2/sisr2/pxe/Interfaces/enp0s8 | 4 ++++ bts_annee_2/sisr2/pxe/nftables/README.md | 1 + bts_annee_2/sisr2/pxe/{ => nftables}/nftables.conf | 0 bts_annee_2/sisr2/pxe/routing_command | 1 + 9 files changed, 11 insertions(+) create mode 100644 bts_annee_2/sisr2/pxe/DHCP/README.md rename bts_annee_2/sisr2/pxe/{ => DHCP}/dhcpd.conf (100%) rename bts_annee_2/sisr2/pxe/{ => DHCP}/isc-dhcp-server (100%) create mode 100644 bts_annee_2/sisr2/pxe/Interfaces/README.md create mode 100644 bts_annee_2/sisr2/pxe/Interfaces/enp0s3 create mode 100644 bts_annee_2/sisr2/pxe/Interfaces/enp0s8 create mode 100644 bts_annee_2/sisr2/pxe/nftables/README.md rename bts_annee_2/sisr2/pxe/{ => nftables}/nftables.conf (100%) create mode 100644 bts_annee_2/sisr2/pxe/routing_command diff --git a/bts_annee_2/sisr2/pxe/DHCP/README.md b/bts_annee_2/sisr2/pxe/DHCP/README.md new file mode 100644 index 0000000..37b35b9 --- /dev/null +++ b/bts_annee_2/sisr2/pxe/DHCP/README.md @@ -0,0 +1 @@ +Fichiers de configuration du serveur DHCP de la machine PXE. diff --git a/bts_annee_2/sisr2/pxe/dhcpd.conf b/bts_annee_2/sisr2/pxe/DHCP/dhcpd.conf similarity index 100% rename from bts_annee_2/sisr2/pxe/dhcpd.conf rename to bts_annee_2/sisr2/pxe/DHCP/dhcpd.conf diff --git a/bts_annee_2/sisr2/pxe/isc-dhcp-server b/bts_annee_2/sisr2/pxe/DHCP/isc-dhcp-server similarity index 100% rename from bts_annee_2/sisr2/pxe/isc-dhcp-server rename to bts_annee_2/sisr2/pxe/DHCP/isc-dhcp-server diff --git a/bts_annee_2/sisr2/pxe/Interfaces/README.md b/bts_annee_2/sisr2/pxe/Interfaces/README.md new file mode 100644 index 0000000..67da17b --- /dev/null +++ b/bts_annee_2/sisr2/pxe/Interfaces/README.md @@ -0,0 +1 @@ +Fichiers d'interfaces réseau des deux cartes de la machine PXE. diff --git a/bts_annee_2/sisr2/pxe/Interfaces/enp0s3 b/bts_annee_2/sisr2/pxe/Interfaces/enp0s3 new file mode 100644 index 0000000..8cfd0e7 --- /dev/null +++ b/bts_annee_2/sisr2/pxe/Interfaces/enp0s3 @@ -0,0 +1,3 @@ +# generated by FAI +auto enp0s3 +iface enp0s3 inet dhcp diff --git a/bts_annee_2/sisr2/pxe/Interfaces/enp0s8 b/bts_annee_2/sisr2/pxe/Interfaces/enp0s8 new file mode 100644 index 0000000..a46d1ae --- /dev/null +++ b/bts_annee_2/sisr2/pxe/Interfaces/enp0s8 @@ -0,0 +1,4 @@ +# generated by FAI +auto enp0s8 +iface enp0s8 inet static +address 192.168.1.100/24 diff --git a/bts_annee_2/sisr2/pxe/nftables/README.md b/bts_annee_2/sisr2/pxe/nftables/README.md new file mode 100644 index 0000000..0d8e638 --- /dev/null +++ b/bts_annee_2/sisr2/pxe/nftables/README.md @@ -0,0 +1 @@ +Fichier de configuration nftables de la machine PXE. diff --git a/bts_annee_2/sisr2/pxe/nftables.conf b/bts_annee_2/sisr2/pxe/nftables/nftables.conf similarity index 100% rename from bts_annee_2/sisr2/pxe/nftables.conf rename to bts_annee_2/sisr2/pxe/nftables/nftables.conf diff --git a/bts_annee_2/sisr2/pxe/routing_command b/bts_annee_2/sisr2/pxe/routing_command new file mode 100644 index 0000000..7ee3aeb --- /dev/null +++ b/bts_annee_2/sisr2/pxe/routing_command @@ -0,0 +1 @@ +sysctl net.ipv4.ip_forward=1 \ No newline at end of file