DHCP (Dynamic Host Configuration Protocol) is a network service that enables clients to obtain network settings (IP Address, Subnet Mask, Default Gateway, DNS Server, Hostname and Domain) automatically from a central server.
2. DHCP
DHCP
DHCP (Dynamic Host Configuration Protocol) is a
network service that enables clients to obtain
network settings (IP Address, Subnet Mask, Default
Gateway, DNS Server, Hostname and Domain)
automatically from a central server
The DHCP client sends a broadcast request to find
the DHCP server and the DHCP server in the subnet
responds with an IP address (and other common
network parameters) from a pool of IP addresses
The IP address can be bound to the MAC address
of the client
Daemon: dhcpd
Lease file: /var/lib/dhcp/dhcpd.leases
4. DHCP Client Configuration
DHCP
Configure the Network Configuration to pickup
network settings from DHCP server
/etc/sysconfig/network-scripts/ifcg-eth0
BOOTPROTO=dhcp (static)
Applications System Settings Network
6. Network Information Service
NIS Server Setup
Directory Service for Centralized
Authentication and Accounting
The NIS server and all NIS clients are
members of a NIS domain
Single Master Server and Multiple Slave
Servers
Uses ypserv, yppasswdd and ypbind
daemon (also uses portmap and rpc service)
7. NIS Server Configuration
NIS Server Setup
Edit File /etc/sysconfig/network and add
NISDOMAIN=<mynisdomain>
Build NIS maps by running
/usr/lib/yp/ypinit –m
(ypserv should be running)
service ypserv start/stop/restart
service yppasswdd start/stop/restart
8. NIS Client Configuration
NIS Server Setup
Specify NIS Server and NIS Domain
/etc/yp.conf
domain <mynisdomain> server <nis server IP>
/etc/nsswitch.conf
passwd: files nis
shadow: files nis
group: files nis
/etc/sysconfig/network
NISDOMAIN=<mynisdomain>
service ypbind start/stop/restart
9. NIS Troubleshooting
NIS Server Setup
Use ypwhich to find and verify which server a
client is bound to, if any
Use ypcat to verify that correct NIS data is
available.
ypcat passwd | more
10. Thank you
Sreenatha Reddy K R
https://in.linkedin.com/in/sreenathaa
https://twitter.com/SreenathReddyK
https://www.fb.com/sreenathareddy.kr