linuxcbt-dhcpd

###DHCPD###
Features:
 1. Auto-configuration of IP client(s)
 2. Include all sorts of settings: IPv4 IPv6
 3. DHCP is an UDP application (UDP:67)

Tasks:
 1. Reconfigure 'eth1' to use: '/27'
  a. 'nano /etc/sysconfig/network-scripts/ifcfg-eth1' - 'PREFIX=27

 2. Install DHCP
  a. 'yum -y install dhcp'
  b. 'rpm -ql dhcp'
/etc/dhcp - container for DHCPD configuration
/etc/dhcp/dhcpd.conf - IPv4 config
/etc/dhcp/dhcpd6.conf - IPv6 config

/var/lib/dhcpd - container for leases
/var/lib/dhcpd/dhcpd.leases - IPv4 lease
/var/lib/dhcpd/dhcpd6.leases - IPv6 lease

 3. Configure scope for: '192.168.76.0/27' - focilitates 2**5 -2 hosts
192.168.76.0 - Network address
192.168.76.1-30 - Usable
192.168.76.32 - broadcast

Note: Alter DHCPD to log using a different facility: i.e. 'local6' becauses boot messages are logged via : 'local7'

 4. Start/invoke 'eth1' interface on: 'linuxcbtserv1'
Note: This will launch the 'dhcpclient' process, which will request configuration via DHCP
  a. 'ifup eth1'
 inet addr:192.168.0.23  Bcast:192.168.0.255  Mask:255.255.255.0
'.224' = '/27'
'/24' = '.0'
'/25' = '.128'
'/26' = '.192'
'/27' = '.224'

 5. Configre a reservation to ensure that: 'linuxcbtserv1' is ALWAYS served the same address
  a. 'nano /etc/dhcp/dhcpd.conf'

Note: DHCPD follows the DORA process:
D - Discovery (Client)
O - Offer (Server)
R - Request (Client)
A - Acknowledgement (Server)

你可能感兴趣的:(linux,职场,休闲,dhcpd)