SlideServe
Menu
Préférences
© SlideServe · v2026

DHCP

rhea avatar
9 diapositives · 656 Views · Mar 10, 2013

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

DHCP - slide 1
01 / 9DHCP
1 / 17

Télécharger la présentation

DHCP
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. DHCP DHCP

  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

  3. DHCP DHCP Server Configuration • Configuration File: /etc/dhcpd.conf subnet 172.28.0.0 netmask 255.255.0.0 { authoritative; option routers 172.28.1.254; option subnet-mask 255.255.0.0; option domain-name "iitk.ac.in"; option domain-name-servers 172.31.1.1; range 172.28.4.2 172.28.7.254; default-lease-time 7200; max-lease-time 10800; host tc1 { hardware ethernet 00:80:64:1A:E9:14; fixed-address 172.28.120.32; } }

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

  5. NIS Server Setup NIS SERVER SETUP

  6. NIS Server Setup Network Information Service • 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 Setup NIS Server Configuration • 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 Server Setup NIS Client Configuration • 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 Server Setup NIS Troubleshooting • 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