DYNAMIC HOST CONFIGURATION PROTOTCOL DAEMON
Features:
1. Provides automatic configuration of IPv4 clients
•IPv4 address
•Subnet mask
•Default gateway
•DNS Servers
•NTP Servers
•WINS Servers
2. Leases the addreses and related information based on predefined values:
•1 day
•1 week
•1 month
3. DHCP uses UDP protocol and layer-2 information to request/assign addresses
4. DHCP Process - DORA
•Discovery - client broadcasts on the local subnet for a DHCP server
•Offer - returned by the DHCP server
•Request - formal address request by client
•Acknowledgement/Acceptance - Acknowledgement occurrs
Note: DHCPD records leases in: /var/lib/dhcpd/dhcpd.leases
Tasks:
1. Install DHCP server
•yum -y install dhcp
2.Configure: /etc/dhcpd.conf - primary config file
3. Set service up to start when system boots
•chkconfig dhcpd on - 2345
4. Disable service on 192.168.75.100 box
•rcdhcpd stop
5. Start service on localhost:
•service dhcpd start
6. Setup DHCP reservation
•Requires the MAC address of the client (00:0C:29:B5:16:92)
•Requires the 'fixed-address' - IPv4 address to map to the MAC address
•Optional 'option-*' are supported between host { } block
•service dhcpd restart - restart to effect changes
No comments:
Post a Comment