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
a3fa805e
Commit
a3fa805e
authored
2 years ago
by
Antonin Renier
Browse files
Options
Downloads
Patches
Plain Diff
Replace procedure-dhcp.md
parent
d5228d80
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/procedures/procedure-dhcp.md
+12
-16
12 additions, 16 deletions
docs/procedures/procedure-dhcp.md
with
12 additions
and
16 deletions
docs/procedures/procedure-dhcp.md
+
12
−
16
View file @
a3fa805e
# DHCP
## Installation d
hcp
## Installation d
u package du service DHCP
apt-get install isc-dhcp-server
##
commande dhcp
##
Activation du service DHCP
systemctl start isc-dhcp-server
systemctl stop isc-dhcp-server
systemctl restart isc-dhcp-server
---------
##
#
Configuration dhcpd.conf
## Configuration dhcpd.conf
###
# a
tteindre fichier de configuration :
###
A
tteindre fichier de configuration :
cd /etc/dhcp
nano dhcpd.conf
##
##
dhcpd.conf :
##
Modifier le fichier
dhcpd.conf :
# dhcpd.conf
##
# dhcpd.conf
option domain-name "networkandco.org";
...
...
@@ -38,7 +38,7 @@
ddns-update-style interim;
#VLAN 2
#
##
VLAN 2
subnet 192.168.40.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.40.20 192.168.40.100;
...
...
@@ -48,7 +48,7 @@
option domain-name-servers 192.168.40.151;
}
#VLAN 3
#
##
VLAN 3
subnet 192.168.50.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.50.20 192.168.50.100;
...
...
@@ -58,7 +58,7 @@
option domain-name-servers 192.168.40.151;
}
#VLAN 4
#
##
VLAN 4
subnet 192.168.60.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.60.20 192.168.60.100;
...
...
@@ -101,18 +101,14 @@
ddns-rev-domainname "in-addr.arpa.";
## Configuration DHCP inter-VLAN :
### Configuration dhcp inter-vlan:
#### Installation package inter-vlan :
#### Installation du package inter-VLAN :
sudo apt-get update
sudo apt-get install vlan
####
c
onfiguration fichier /etc/network/interfaces
####
C
onfiguration fichier /etc/network/interfaces
nano /etc/network/interfaces :
...
...
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