Docsity

DHCP - Linux Network Administration - Lecture Slides, Slides of Linux skills

Partial preview of the text

Download DHCP - Linux Network Administration - Lecture Slides and more Slides Linux skills in PDF only on Docsity!

DHCP

DHCP

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 Docsity.com

DHCP Client Configuration

DHCP

Configure the Network Configuration to pickup network settings from DHCP server /etc/sysconfig/network-scripts/ifcg-eth BOOTPROTO=dhcp (static) Applications  System Settings  Network

NIS Server Setup

NIS SERVER SETUP

NIS Server Configuration

NIS Server Setup

Edit File /etc/sysconfig/network and add NISDOMAIN=

Build NIS maps by running /usr/lib/yp/ypinit –m (ypserv should be running)

service ypserv start/stop/restart

service yppasswdd start/stop/restart

NIS Client Configuration

NIS Server Setup

Specify NIS Server and NIS Domain /etc/yp.conf domain server /etc/nsswitch.conf passwd: files nis shadow: files nis group: files nis /etc/sysconfig/network NISDOMAIN=

service ypbind start/stop/restart