Skip to content
Snippets Groups Projects
Commit 0a45f4a3 authored by Al Massati Bilal's avatar Al Massati Bilal
Browse files

v7-Final

parent 16e4b5aa
No related branches found
No related tags found
No related merge requests found
...@@ -68,6 +68,14 @@ ...@@ -68,6 +68,14 @@
option domain-name-servers 192.168.40.151; 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" { key "dhcp-update-key" {
...@@ -100,7 +108,7 @@ vlan-raw-device enp0s3 ...@@ -100,7 +108,7 @@ vlan-raw-device enp0s3
# The primary network interface # The primary network interface
allow-hotplug enp0s3 allow-hotplug enp0s3
iface enp0s3 inet static 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 gateway 192.168.40.254
...@@ -135,5 +143,15 @@ vlan-raw-device enp0s3 ...@@ -135,5 +143,15 @@ vlan-raw-device enp0s3
### TIPS ! ### TIPS !
Ne pas oublier chmod sur les fichiers config dhcp/dns -Ne pas oublier chmod sur les fichiers config dhcp/dns
actvier les interfaces activer les interfaces
\ No newline at end of file
-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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment