diff --git a/docs/procedures/procedure-dhcp.md b/docs/procedures/procedure-dhcp.md index a7bcff7cf913d5fbd159ffb6503493d7341ee2f8..be2a880b0a1b6f349bf8b879ffed29226ca0320b 100644 --- a/docs/procedures/procedure-dhcp.md +++ b/docs/procedures/procedure-dhcp.md @@ -1,26 +1,26 @@ # DHCP -## Installation dhcp +## Installation du package du service DHCP apt-get install isc-dhcp-server -## commande dhcp +## Activation du service DHCP systemctl start isc-dhcp-server systemctl stop isc-dhcp-server systemctl restart isc-dhcp-server --------- -### Configuration dhcpd.conf +## Configuration dhcpd.conf -#### atteindre fichier de configuration : +### Atteindre fichier de configuration : cd /etc/dhcp nano dhcpd.conf -#### dhcpd.conf : +## Modifier le fichier dhcpd.conf : -# dhcpd.conf +### dhcpd.conf option domain-name "networkandco.org"; @@ -38,7 +38,7 @@ ddns-update-style interim; -#VLAN 2 +### VLAN 2 subnet 192.168.40.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.40.20 192.168.40.100; @@ -48,7 +48,7 @@ option domain-name-servers 192.168.40.151; } -#VLAN 3 +### VLAN 3 subnet 192.168.50.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.50.20 192.168.50.100; @@ -58,7 +58,7 @@ option domain-name-servers 192.168.40.151; } -#VLAN 4 +### VLAN 4 subnet 192.168.60.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.60.20 192.168.60.100; @@ -101,18 +101,14 @@ ddns-rev-domainname "in-addr.arpa."; - +## Configuration DHCP inter-VLAN : - - -### Configuration dhcp inter-vlan: - -#### Installation package inter-vlan : +#### Installation du package inter-VLAN : sudo apt-get update sudo apt-get install vlan -#### configuration fichier /etc/network/interfaces +#### Configuration fichier /etc/network/interfaces nano /etc/network/interfaces :