dhcp server liuxLinux serverNETWORK ADMINISTRATIONS

شرح درس مصادر المفتوحة طريقة DHCP Configure Range IP

شرح درس مصادر المفتوحة طريقة DHCP Configure Range IP
في هذا الدرس شرحت طريقة تحديد عناوين الشبكة للاجهزة المتصلة وتطبيقها على لينكس وايضا حل مشكلة عدم سحب باكج DHCP SERVER
————-
On server
Sudo apt-get update
Sudo apt-get install isc-dhcp-server
Cd /etc/netplan
Sudo nano 50-cloud-init.yaml
——
Network:
verson: 2
renderer: networkManager
ethernets:
ens33:
dhcp4: yes for dynamic or no for static
Addresses: [xxx.xxx.xxx.xxx/24]
Gateway4: xxx.xxx.xxx.1
Nameservers:
addresses: [8.8.8.8,8.8.4.4]
Ctrl + x
Sudo netplan apply
Cd /etc/dhcp
Ls
Sudo nano dhcpd.conf
Subnet 192.168.1.0 Netmask 255.255.255.0
Range 192.168.1.10 192.168.1.15
Option Subnet-mask 255.255.255.0
Option Routers 192.168.1.1
Option Broadcast 192.168.1.255
Ctrl + X
Y
Systemctl start isc-dhcp-server
Systemctl status isc-dhcp-server

source

by MR IT

linux dhcp server

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.