.. _example_service_dhcp-server_options_nis-options:
###########
Nis-Options
###########
These scenarios check DHCP server NIS/NIS+ options.
NIS (Network Information Service) provides centralized authentication and configuration
management for UNIX/Linux networks. NIS+ is the enhanced version with improved security.
This includes: nis-domain (option 40), nis-server (option 41),
nisplus-domain (option 64), and nisplus-server (option 65).
***************
Test NIS-Domain
***************
Description
===========
This scenario checks the ``nis-domain`` option.
The DHCP server configures the NIS domain name, and the client receives it.
The NIS domain is used by UNIX/Linux systems for centralized authentication (Option 40).
Scenario
========
.. include:: nis-options/testnis-domain
.. raw:: html
**********************
Test NIS-Server Single
**********************
Description
===========
This scenario checks the ``nis-server`` option with a single NIS server.
The DHCP server configures one NIS server IP address, and the client receives it.
NIS servers provide centralized user/group management for UNIX networks (Option 41).
Scenario
========
.. include:: nis-options/testnis-serversingle
.. raw:: html
************************
Test NIS-Server Multiple
************************
Description
===========
This scenario checks the ``nis-server`` option with multiple NIS servers.
The DHCP server configures three NIS servers, and the client receives all of them.
Multiple NIS servers provide redundancy for authentication services.
Scenario
========
.. include:: nis-options/testnis-servermultiple
.. raw:: html
*******************
Test NIS-Server VRF
*******************
Description
===========
This scenario checks the ``nis-server`` option when the DHCP server is configured with VRF.
Multiple NIS servers are configured in a VRF environment, and the client receives them correctly.
Scenario
========
.. include:: nis-options/testnis-servervrf
.. raw:: html
*************************
Test NIS Combined Options
*************************
Description
===========
This scenario checks NIS domain and servers configured together.
The DHCP server configures both nis-domain and multiple nis-servers.
This is the typical configuration for a UNIX network with NIS authentication.
Scenario
========
.. include:: nis-options/testniscombinedoptions
.. raw:: html
**********************
Test Change NIS-Domain
**********************
Description
===========
This scenario checks that the NIS domain can be changed dynamically.
Configure an initial NIS domain, then change it and verify the client receives the new value.
Scenario
========
.. include:: nis-options/testchangenis-domain
.. raw:: html
**********************
Test Remove NIS-Server
**********************
Description
===========
This scenario checks that NIS servers can be removed.
Configure NIS servers, then remove them and verify they are no longer sent to the client.
Scenario
========
.. include:: nis-options/testremovenis-server
.. raw:: html
*******************
Test NISplus-Domain
*******************
Description
===========
This scenario checks the ``nisplus-domain`` option.
The DHCP server configures the NIS+ domain name, and the client receives it.
NIS+ is the enhanced version of NIS with improved security (Option 64).
Scenario
========
.. include:: nis-options/testnisplus-domain
.. raw:: html
**************************
Test NISplus-Server Single
**************************
Description
===========
This scenario checks the ``nisplus-server`` option with a single NIS+ server.
The DHCP server configures one NIS+ server, and the client receives it.
NIS+ provides enhanced security over standard NIS (Option 65).
Scenario
========
.. include:: nis-options/testnisplus-serversingle
.. raw:: html
****************************
Test NISplus-Server Multiple
****************************
Description
===========
This scenario checks the ``nisplus-server`` option with multiple NIS+ servers.
The DHCP server configures three NIS+ servers for redundancy.
Scenario
========
.. include:: nis-options/testnisplus-servermultiple
.. raw:: html
*****************************
Test NISplus Combined Options
*****************************
Description
===========
This scenario checks NIS+ domain and servers configured together.
The DHCP server configures both nisplus-domain and multiple nisplus-servers.
Scenario
========
.. include:: nis-options/testnispluscombinedoptions
.. raw:: html