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