diff --git a/procedure-dhcp.md b/procedure-dhcp.md deleted file mode 100644 index a757be67895cd0faf71355d73498ce62e121bb01..0000000000000000000000000000000000000000 --- a/procedure-dhcp.md +++ /dev/null @@ -1,84 +0,0 @@ -# DHCP - -## Installation dhcp - - apt-get instal isc-dhcp-server - ---------- - -### Configuration dhcpd.conf - -#### atteindre fichier de configuration : - - cd /etc/dhcp - nano dhcpd.conf - -#### dhcpd.conf : - -# dhcpd.conf - - option domain-name "networkandco.org"; - - default-lease-time 600; - max-lease-time 7200; - allow booting; - allow bootp; - - - ddns-update-style none; - - - server-identifier 192.168.40.150; - authoritative; - ddns-update-style interim; - - -#VLAN 2 - - subnet 192.168.40.0 netmask 255.255.255.0 { - range dynamic-bootp 192.168.40.20 192.168.40.100; - option routers 192.168.40.254; - option subnet-mask 255.255.255.0; - option domain-name "networkandco.org"; - option domain-name-servers 192.168.40.151; - } - -#VLAN 3 - - subnet 192.168.50.0 netmask 255.255.255.0 { - range dynamic-bootp 192.168.50.20 192.168.50.100; - option routers 192.168.50.254; - option subnet-mask 255.255.255.0; - option domain-name "networkandco.org"; - } - -#VLAN 4 - - subnet 192.168.60.0 netmask 255.255.255.0 { - range dynamic-bootp 192.168.60.20 192.168.60.100; - option routers 192.168.60.254; - option subnet-mask 255.255.255.0; - option domain-name "networkandco.org"; - option domain-name-servers 192.168.40.151; - } - --------- - - key "dhcp-update-key" { - algorithm hmac-md5; - secret "7R1U767pLKhR+O/0hF11TfeNmoVpVU+lfLnL3GhvWpI="; - } - - zone networkandco.org { - primary 192.168.40.151; - key "dhcp-update-key"; - } - - zone 40.168.192.in-addr-arpa { - primary 192.168.40.151; - key "rndc-key"; - } - -### TIPS ! - - Ne pas oublier chmod sur les fichiers config dhcp/dns \ No newline at end of file