ISC DHCPD-TIP

xiaoxiao2021-03-06  64

Server-Identifier 192.168.1.254; // Specify the address of the HDCP binding Option Domain-name "eXample.org"; // Specify the domain name of the DHCP Client default search domain Option Domain-name-Servers ns1.example.org, ns2.example .org; // Specify DNS Server, multiple use "," separated default-lese-time 600; // default rental time unit is a second max-lease-time 7200; // maximum rental time DDNS-UPDATE-STYLE AD- HOC; / / Do not update or release the IP address, do not update DNS, open DDNS-Update-Style None; // Close Subnet 10.152.187.0 Netmask 255.255.255.0 {// Set DHCP IP / NETMAST} Option Broadcast-Address 10.254.239.31 ; // Broadcast address Option Routers RTR-239-32-1.Example.org; // GatewayRange 10.254.239.10 10.254.239.20; // Address Pool Range Host Fantasia {Hardware Ethernet 08: 00: 07: 26: C0: A5 ; // Set a specific MAC address as the specified IP Fixed-Address Fantasia.fugue.com; // To specify the host name, you can also use ip} ------------- -------------------------------------------------- ---------------------- List Server-Identifier 192.168.1.254;

DDNS-UPDATE-STYLE NONE NONE NONE

Option Domain-Name-Servers 61.139.2.69, 218.89.0.124; Option Routers 192.168.1.254; Option Broadcast-Address 192.168.1.255; default-lease-time 5500000; Max-Lease-Time 7700000;

Subnet 192.168.1.0 Netmask 255.255.255.0 {Range 192.168.1.10 192.168.1.20; Range 192.168.1.50 192.168.1.60;

Host A {Hardware Ethernet 00: E0: 4C: D9: BA: 12; Fixed-Address 192.168.1.155;} ------------------------- -------------------------------------------------- ----------- cp dhcpd.conf.sample dhcpd.conf ~ vi dhcpd.conf ~ grep -v "#" dhcpd.conf ~> dhcpd.confchmod 400 dhcpd.conf ------ -------------------------------------------------- ------------------- Related File /usR/local/sbin/dhcpd/usr/local/etc/dhcpd.conf/var/db/dhcpd.Leases/USR / local / sbin / dhcrelay

转载请注明原文地址:https://www.9cbs.com/read-111115.html

New Post(0)