dhcp server liuxLinux serverNETWORK ADMINISTRATIONS

DHCP Setup

DHCP stands for Dynamic Host Configuration Protocol. It is a network management protocol used to automatically assign IP addresses and other network configuration parameters to devices on a network.

Network : VMNET1

nmtui
ip : 192.168.10.10/25
Gate: 192.168.10.1
DNS: 192.168.10.130
domains: linuxmhi.local

hostname: dhcp.linuxmhi.local

ping dr.dk -c2

dnf install dhcp-server -y

cd /etc/dhcp

cp /usr/share/doc/dhcp-server/dhcpd.conf.example dhcpd.conf

y

vim dhcpd.conf

option domain-name “linuxmhi.local”;
option domain-name-servers dns.linuxmhi.local;

# This is a very basic subnet declaration.

subnet 192.168.10.0 netmask 255.255.255.128 {
range 192.168.10.20 192.168.10.119;
option routers dg.linuxmhi.local;
}

😡

nslookupwww

systemctl start dhcpd
systemctl status dhcpd

source

by HI Tech

linux dhcp client

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.