Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NetworkAndCo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hugo Lacherez
NetworkAndCo
Commits
0a45f4a3
Commit
0a45f4a3
authored
2 years ago
by
Al Massati Bilal
Browse files
Options
Downloads
Patches
Plain Diff
v7-Final
parent
16e4b5aa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/procedure-dhcp.md
+21
-3
21 additions, 3 deletions
docs/procedure-dhcp.md
with
21 additions
and
3 deletions
docs/procedure-dhcp.md
+
21
−
3
View file @
0a45f4a3
...
@@ -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"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment