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
b507c1c3
Commit
b507c1c3
authored
2 years ago
by
Al Massati Bilal
Browse files
Options
Downloads
Patches
Plain Diff
v7 Final correction
parent
0a45f4a3
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
+25
-13
25 additions, 13 deletions
docs/procedure-dhcp.md
with
25 additions
and
13 deletions
docs/procedure-dhcp.md
+
25
−
13
View file @
b507c1c3
...
@@ -56,8 +56,8 @@
...
@@ -56,8 +56,8 @@
option subnet-mask 255.255.255.0;
option subnet-mask 255.255.255.0;
option domain-name "networkandco.org";
option domain-name "networkandco.org";
option domain-name-servers 192.168.40.151;
option domain-name-servers 192.168.40.151;
}
}
#VLAN 4
#VLAN 4
subnet 192.168.60.0 netmask 255.255.255.0 {
subnet 192.168.60.0 netmask 255.255.255.0 {
...
@@ -67,15 +67,18 @@
...
@@ -67,15 +67,18 @@
option domain-name "networkandco.org";
option domain-name "networkandco.org";
option domain-name-servers 192.168.40.151;
option domain-name-servers 192.168.40.151;
}
}
-----
host dns {
host dns {
hardware ethernet "MAC ADRESSE SERVEUR DNS"
hardware ethernet "MAC ADRESSE SERVEUR DNS"
fixed-adress "IP DNS"
fixed-adress "IP DNS"
}
}
host dhcp {
//PARTIE DNS DYNAMIQUE
host dhcp {
hardware ethernet "MAC ADRESSE SERVEUR dhcp"
hardware ethernet "MAC ADRESSE SERVEUR dhcp"
fixed-adress "IP dhcp"
fixed-adress "IP dhcp"
}
}
--------
--------
key "dhcp-update-key" {
key "dhcp-update-key" {
...
@@ -83,14 +86,23 @@ host dhcp {
...
@@ -83,14 +86,23 @@ host dhcp {
secret "7R1U767pLKhR+O/0hF11TfeNmoVpVU+lfLnL3GhvWpI=";
secret "7R1U767pLKhR+O/0hF11TfeNmoVpVU+lfLnL3GhvWpI=";
}
}
zone networkandco.org {#VLAN 4
zone networkandco.org {
primary 192.168.40.151;
key "rndc-key";
}
zone 40.168.192.in-addr-arpa
{
primary 192.168.40.151;
key "rndc-key";
}
ddns-domainname "networkandco.org.";
ddns-rev-domainname "in-addr.arpa.";
auto enp0s3
iface Production inet static
address 192.168.60.3
netmask 255.255.255.0
gateway 192.168.60.254
vlan-raw-device enp0s3
### Configuration dhcp inter-vlan:
### Configuration dhcp inter-vlan:
...
...
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