SlideShare a Scribd company logo
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 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; } } 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 DHCP
NIS SERVER SETUP  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) 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 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 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  NIS Server Setup

More Related Content

What's hot (20)

PDF
Designate - Operators Deep Dive
Graham Hayes
 
KEY
Building Scalable, Distributed Job Queues with Redis and Redis::Client
Mike Friedman
 
PDF
Designate - DNSaaS for OpenStack - FOSDEM 2014
Graham Hayes
 
PPTX
501 ch 3 network technologies tools
gocybersec
 
PPTX
12 linux archiving tools
Shay Cohen
 
PDF
Scylla Summit 2022: ScyllaDB Embraces Wasm
ScyllaDB
 
PDF
三分鐘用 PMM 架好監控系統
Adam Chen
 
PDF
Graph Everything
Kunal Kerkar
 
PPTX
Loadbalancing In-depth study for scale @ 80K TPS
Shrey Agarwal
 
PDF
Ubuntu server wireless access point (eng)
Anatoliy Okhotnikov
 
PDF
Seastar @ SF/BA C++UG
Avi Kivity
 
KEY
CCResourceAsyncLoader
Keisuke Hata
 
PDF
Introduction to ns2
ProfDrSharadSharma
 
PPT
Dhcp by lalit bhati
Lalit Bhati
 
PPT
Unit10
Nurul Nadirah
 
PDF
Debugging with-wireshark-niels-de-vos
Gluster.org
 
PPT
IPTABLES
Tan Huynh Cong
 
PDF
Seastar / ScyllaDB, or how we implemented a 10-times faster Cassandra
Tzach Livyatan
 
PDF
Nsq & python worker
Felinx Lee
 
PPTX
Dns server setup on ubuntu vps (master+slave)
Vijay Sharma
 
Designate - Operators Deep Dive
Graham Hayes
 
Building Scalable, Distributed Job Queues with Redis and Redis::Client
Mike Friedman
 
Designate - DNSaaS for OpenStack - FOSDEM 2014
Graham Hayes
 
501 ch 3 network technologies tools
gocybersec
 
12 linux archiving tools
Shay Cohen
 
Scylla Summit 2022: ScyllaDB Embraces Wasm
ScyllaDB
 
三分鐘用 PMM 架好監控系統
Adam Chen
 
Graph Everything
Kunal Kerkar
 
Loadbalancing In-depth study for scale @ 80K TPS
Shrey Agarwal
 
Ubuntu server wireless access point (eng)
Anatoliy Okhotnikov
 
Seastar @ SF/BA C++UG
Avi Kivity
 
CCResourceAsyncLoader
Keisuke Hata
 
Introduction to ns2
ProfDrSharadSharma
 
Dhcp by lalit bhati
Lalit Bhati
 
Debugging with-wireshark-niels-de-vos
Gluster.org
 
IPTABLES
Tan Huynh Cong
 
Seastar / ScyllaDB, or how we implemented a 10-times faster Cassandra
Tzach Livyatan
 
Nsq & python worker
Felinx Lee
 
Dns server setup on ubuntu vps (master+slave)
Vijay Sharma
 

Viewers also liked (20)

PPTX
NIS server installation
Dima Gomaa
 
ODP
introduction to linux desktop draft 5
swee meng ng
 
PPT
DHCP
Kashif Latif
 
PPT
Dhcp
tameemyousaf
 
PPT
Presentation on samba server & apache server
Manoz Kumar
 
KEY
Introduction to samba
Jackie Schneider
 
PDF
o samba
Vithória Almeida
 
PPT
NETWORK FILE SYSTEM
Roshan Kumar
 
PPTX
Samba power point presentation
Md Maksudur Rahman
 
PPTX
Dhcp
Sandeep Kamath
 
PPT
Samba
Ellen Peliciari
 
PPT
Samba
tmavroidis
 
PPT
Configuration DHCP
Tan Huynh Cong
 
PPTX
Samba
Raghu nath
 
PPSX
Lesson 6: Dynamic Host Configuration Protocol A
Mahmmoud Mahdi
 
PPT
Dynamic Host Configuration Protocol
gueste98b36
 
PPTX
Presentation on samba server
Veeral Bhateja
 
PPT
Samba server
Santosh Khadsare
 
NIS server installation
Dima Gomaa
 
introduction to linux desktop draft 5
swee meng ng
 
Presentation on samba server & apache server
Manoz Kumar
 
Introduction to samba
Jackie Schneider
 
NETWORK FILE SYSTEM
Roshan Kumar
 
Samba power point presentation
Md Maksudur Rahman
 
Samba
tmavroidis
 
Configuration DHCP
Tan Huynh Cong
 
Samba
Raghu nath
 
Lesson 6: Dynamic Host Configuration Protocol A
Mahmmoud Mahdi
 
Dynamic Host Configuration Protocol
gueste98b36
 
Presentation on samba server
Veeral Bhateja
 
Samba server
Santosh Khadsare
 
Ad

Similar to Linux lecture9 (20)

PPTX
DHCP and NIS
Sreenatha Reddy K R
 
PDF
Dhcp confg
Rincy Ranjith
 
PDF
dhcp.pdf
TekashiAi
 
PDF
DHCP concept
Shopnomoy Prantor
 
PPTX
Rhel4
Yash Gulati
 
PPT
LinuxWeek13.ppt
Efrizal Zaida
 
PPTX
DHCP(In_Linux).pptx
ShanmugapriyaSenthil3
 
PPTX
ACI DHCP Config Guide
Woo Hyung Choi
 
PPTX
dynamichost configuration protocol
rajisri2
 
PPTX
DHCP & DNS
NetProtocol Xpert
 
PPTX
Modul dhcp server menggunakan mikrotik os
Een Pahlefi
 
PPT
Dhcp presentation
Saqib Malik
 
DOC
Arp Dan Ipconfig Syntax
guestcc37e8c
 
ODP
Dhcpsession
guest648519
 
PPT
Presentation iv implementasi 802x eap tls peap mscha pv2
Hell19
 
PPTX
Dhcp
Tapan Khilar
 
PDF
ACI DHCP 구성 가이드
Woo Hyung Choi
 
PPT
Wintel ppt for dhcp
duraimurugan89
 
PPTX
06 coms 525 tcpip - dhcp and dns
Palanivel Kuppusamy
 
PPTX
MVA slides lesson 6
Fabio Almeida- Oficina Eletrônica
 
DHCP and NIS
Sreenatha Reddy K R
 
Dhcp confg
Rincy Ranjith
 
dhcp.pdf
TekashiAi
 
DHCP concept
Shopnomoy Prantor
 
LinuxWeek13.ppt
Efrizal Zaida
 
DHCP(In_Linux).pptx
ShanmugapriyaSenthil3
 
ACI DHCP Config Guide
Woo Hyung Choi
 
dynamichost configuration protocol
rajisri2
 
DHCP & DNS
NetProtocol Xpert
 
Modul dhcp server menggunakan mikrotik os
Een Pahlefi
 
Dhcp presentation
Saqib Malik
 
Arp Dan Ipconfig Syntax
guestcc37e8c
 
Dhcpsession
guest648519
 
Presentation iv implementasi 802x eap tls peap mscha pv2
Hell19
 
ACI DHCP 구성 가이드
Woo Hyung Choi
 
Wintel ppt for dhcp
duraimurugan89
 
06 coms 525 tcpip - dhcp and dns
Palanivel Kuppusamy
 
Ad

Recently uploaded (20)

PDF
VCE Literature Section A Exam Response Guide
jpinnuck
 
PDF
COM and NET Component Services 1st Edition Juval Löwy
kboqcyuw976
 
PPTX
How to Create & Manage Stages in Odoo 18 Helpdesk
Celine George
 
PDF
Rapid Mathematics Assessment Score sheet for all Grade levels
DessaCletSantos
 
PDF
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
 
PPTX
Photo chemistry Power Point Presentation
mprpgcwa2024
 
PPTX
How to use _name_search() method in Odoo 18
Celine George
 
PPTX
How to use grouped() method in Odoo 18 - Odoo Slides
Celine George
 
PDF
DIGESTION OF CARBOHYDRATES ,PROTEINS AND LIPIDS
raviralanaresh2
 
PPT
M&A5 Q1 1 differentiate evolving early Philippine conventional and contempora...
ErlizaRosete
 
PDF
Romanticism in Love and Sacrifice An Analysis of Oscar Wilde’s The Nightingal...
KaryanaTantri21
 
PPTX
2025 Completing the Pre-SET Plan Form.pptx
mansk2
 
PDF
Andreas Schleicher_Teaching Compass_Education 2040.pdf
EduSkills OECD
 
PPTX
Peer Teaching Observations During School Internship
AjayaMohanty7
 
PDF
THE PSYCHOANALYTIC OF THE BLACK CAT BY EDGAR ALLAN POE (1).pdf
nabilahk908
 
PPTX
A Case of Identity A Sociological Approach Fix.pptx
Ismail868386
 
PDF
Learning Styles Inventory for Senior High School Students
Thelma Villaflores
 
PPTX
Elo the Hero is an story about a young boy who became hero.
TeacherEmily1
 
PPTX
ESP 10 Edukasyon sa Pagpapakatao PowerPoint Lessons Quarter 1.pptx
Sir J.
 
PPTX
How to Add New Item in CogMenu in Odoo 18
Celine George
 
VCE Literature Section A Exam Response Guide
jpinnuck
 
COM and NET Component Services 1st Edition Juval Löwy
kboqcyuw976
 
How to Create & Manage Stages in Odoo 18 Helpdesk
Celine George
 
Rapid Mathematics Assessment Score sheet for all Grade levels
DessaCletSantos
 
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
 
Photo chemistry Power Point Presentation
mprpgcwa2024
 
How to use _name_search() method in Odoo 18
Celine George
 
How to use grouped() method in Odoo 18 - Odoo Slides
Celine George
 
DIGESTION OF CARBOHYDRATES ,PROTEINS AND LIPIDS
raviralanaresh2
 
M&A5 Q1 1 differentiate evolving early Philippine conventional and contempora...
ErlizaRosete
 
Romanticism in Love and Sacrifice An Analysis of Oscar Wilde’s The Nightingal...
KaryanaTantri21
 
2025 Completing the Pre-SET Plan Form.pptx
mansk2
 
Andreas Schleicher_Teaching Compass_Education 2040.pdf
EduSkills OECD
 
Peer Teaching Observations During School Internship
AjayaMohanty7
 
THE PSYCHOANALYTIC OF THE BLACK CAT BY EDGAR ALLAN POE (1).pdf
nabilahk908
 
A Case of Identity A Sociological Approach Fix.pptx
Ismail868386
 
Learning Styles Inventory for Senior High School Students
Thelma Villaflores
 
Elo the Hero is an story about a young boy who became hero.
TeacherEmily1
 
ESP 10 Edukasyon sa Pagpapakatao PowerPoint Lessons Quarter 1.pptx
Sir J.
 
How to Add New Item in CogMenu in Odoo 18
Celine George
 

Linux lecture9

  • 2. 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 DHCP
  • 3. 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 &quot;iitk.ac.in&quot;; 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; } } DHCP
  • 4. 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 DHCP
  • 5. NIS SERVER SETUP NIS Server Setup
  • 6. 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) NIS Server Setup
  • 7. 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 NIS Server Setup
  • 8. 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 NIS Server Setup
  • 9. 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 NIS Server Setup