test
This commit is contained in:
parent
a320e0aa36
commit
1c3c991780
1 changed files with 8 additions and 8 deletions
|
@ -3,14 +3,14 @@
|
|||
sudo apt update
|
||||
sudo apt install -y isc-dhcp-server
|
||||
|
||||
config="default-lease-time 600; \
|
||||
max-lease-time 7200; \
|
||||
\
|
||||
subnet 192.168.1.0 netmask 255.255.255.0 { \
|
||||
range 192.168.1.10 192.168.1.100; \
|
||||
option routers 192.168.1.1; \
|
||||
option subnet-mask 255.255.255.0; \
|
||||
option domain-name-servers 192.168.1.1; \
|
||||
config="default-lease-time 600;
|
||||
max-lease-time 7200;
|
||||
|
||||
subnet 192.168.1.0 netmask 255.255.255.0 {
|
||||
range 192.168.1.10 192.168.1.100;
|
||||
option routers 192.168.1.1;
|
||||
option subnet-mask 255.255.255.0;
|
||||
option domain-name-servers 192.168.1.1;
|
||||
}"
|
||||
|
||||
echo -e "INTERFACES='$1'" | sudo tee /etc/default/isc-dhcp-server >/dev/null
|
||||
|
|
Loading…
Reference in a new issue