Juan Ortega 10/7/09 NTW342. Setting up the Configuration File ddns-update-style interim; Ignore...
-
Upload
arron-wilkins -
Category
Documents
-
view
212 -
download
0
description
Transcript of Juan Ortega 10/7/09 NTW342. Setting up the Configuration File ddns-update-style interim; Ignore...
Juan Ortega10/7/09NTW342
Setting up the Configuration File
ddns-update-style interim;Ignore client-updates;
Subnet 10.0.0.0 netmask 255.255.255.0 {
option routers 10.0.0.1;option domain-name-servers 10.0.0.1;option subnet-mask 255.255.255.0;option domain-name
“handsonhistory.com”;
Range 10.0.0.150 10.0.0.255;Default-lease-time 21600;Max-release-time 43200;
Host ns {Next-server ns1.handsonhistory.com;Hardware ethernet 00:D0:B3:79:B5:35;Fixed-address 10.0.0.1;
}}
Do not update update DNS records for the local domain based on the IP address it assigns.
Represents the network, other data in this file define what information the DHCP server will hand out to clients on this LAN.
Sets default router and DNS.
Address range goes from 10.0.0.150 to 10.0.0.255.
Lease time in seconds.
Fixed Addresses
host pipe {hardware ethernet 00:04:5A:4F:8E:47;fixed-address 10.0.0.254;
}
You can set fixed addresses for a particular host, also called address reservations.One way to do this is by the Ethernet hardware address.
Leases
/var/log/messages contains troubleshooting information for DHCP./var/lig/dhcpd/dhcpd.leases If a client has been assigned an IP address, a least line should be in that file.
Leases
Starting Server
# service dhcpd start
Clients
# dhclient (interface)# dhcpd (interface)
Or the GUI.