diff --git a/docs/procedure-dhcp.md b/docs/procedure-dhcp.md index b9a26d0f49c712172c08d5306864864b15ef5dd7..b92a6f0063abf0166e45f08c21126683ed79d3f7 100644 --- a/docs/procedure-dhcp.md +++ b/docs/procedure-dhcp.md @@ -68,6 +68,14 @@ option domain-name-servers 192.168.40.151; } +host dns { + hardware ethernet "MAC ADRESSE SERVEUR DNS" + fixed-adress "IP DNS" +} +host dhcp { + hardware ethernet "MAC ADRESSE SERVEUR dhcp" + fixed-adress "IP dhcp" +} -------- key "dhcp-update-key" { @@ -100,7 +108,7 @@ vlan-raw-device enp0s3 # The primary network interface allow-hotplug enp0s3 iface enp0s3 inet static - address 192.168.40.150 + address 192.168.40.150 //adresse ip static du serveur dhcp gateway 192.168.40.254 @@ -135,5 +143,15 @@ vlan-raw-device enp0s3 ### TIPS ! - Ne pas oublier chmod sur les fichiers config dhcp/dns - actvier les interfaces \ No newline at end of file + -Ne pas oublier chmod sur les fichiers config dhcp/dns + activer les interfaces + + -Pour les machines en STATIC ne pas oublier de précisier le DNS dans le fichier /etc/network/interfaces: + + allow-hotplug "interface" + iface "interface" inet static + address "adresse ip static" + gateway "adresse passerel" + dns-search "DNS" + dns-namesservers "IP DNS" +