Starting and Stopping the DHCP Service (System Administration Guide, Volume 3) (2024)

Starting and stopping the DHCP service encompasses several degrees ofaction you can take to affect the operation of the DHCP daemon. You must understandthe difference between starting/stopping, enabling/disabling, and configuring/unconfiguringthe DHCP service in order to select the correct procedure to obtain the resultyou want. The terms are explained below.

  • Starting, stopping, and restarting the DHCP serviceaffects the running of the daemon only at the current session. For example,if you stop the DHCP service, the currently running daemon terminates butrestarts when you reboot the system. DHCP data tables are not affected bystopping the service.

  • Enabling and disabling the DHCP serviceaffects the running of the daemon for current and future sessions. If youdisable the DHCP service, the currently running daemon terminates and doesnot start when you reboot the server. You must enable the DHCP daemon forthe automatic start at system boot to occur. DHCP data tables are not affected.

  • Unconfiguring the DHCPservice shuts down the currently running daemon, prevents the daemonfrom starting on system reboot, and gives you the option of removing the DHCPdata tables. Unconfiguration is described in Chapter10, Configuring DHCP Service.

Note -

If a server has multiple network interfaces and you do not want to provideDHCP services on all the networks, see "Monitoring and Ignoring Network Interfaces for DHCP Service".

This section provides the procedures for starting and stopping the DHCPservice, and enabling and disabling it.

How to Start and Stop the DHCP Service (DHCP Manager)

  1. Become superuseron the DHCP server machine.

  2. Start DHCP Manager.

    See "How to Start DHCP Manager" for the procedure.

  3. Select one of the following operations:

    1. Choose Start from the Services menu to start the DHCP service.

    2. Choose Stop from the Services menu to stop the DHCP service.

      The DHCP daemon stops until it is manually started again, or the systemreboots.

    3. Choose Restart from the Services menu to stop the DHCP service and immediatelyrestart it.

How to Start and Stop the DHCP Service (Command Line)

  1. Become superuseron the server machine.

  2. Choose one of the following operations:

    1. To start the DHCP service, type the following command:


      # /etc/init.d/dhcp start
    2. To stop the DHCP service, type the following command:


      # /etc/init.d/dhcp stop

      The DHCP daemon stops until it is manually started again, or the systemreboots.

How to Enable and Disable the DHCP Service (DHCP Manager)

  1. Start DHCP Manager.

  2. Choose one of the following operations:

    1. Choose Enable from the Services menu to start the DHCP service immediatelyand configure it for automatic startup when the system boots.

    2. Choose Disable from the Services menu to stop the DHCP service immediatelyand prevent it from starting automatically when the system boots.

How to Disable the DHCP Service (Command Line)

  1. As root, start dhcpconfig by typing the following command:


    # /usr/sbin/dhcpconfig
  2. Select Unconfigure DHCP or Relay Service by typing 3.

  3. Type Y at the following prompt to disable DHCP:


    Unconfigure will stop the DHCP service and remove /etc/default/dhcp.Are you SURE you want to disable the DHCP service? ([Y]/N): Y

How to Enable the DHCP Service (Command Line)

This step is needed only if you previously disabled the server, keepingthe data intact.

  1. Become superuser on the server system.

  2. Start dhcpconfig by typing the following command:


    # /usr/sbin/dhcpconfig
  3. Select Configure DHCP Service or Configure BOOTP Relay Agent, as appropriate.

  4. Press Return to accept default values for all prompts until you seethe following prompt:


    Enable DHCP/BOOTP support of networks you select? ([Y]/N): 
  5. Type Y at the prompt to enable the DHCP service.

  6. Answer the following prompts as shown to avoid prompts for configuringnetworks.

    If you had previously disabled the service while keeping the data intact,you should not need to reconfigure the network information.


    ### Configure Local Networks ###Configure BOOTP/DHCP on local LAN network: 172.21.0.0? ([Y]/N):N### Configure Remote Networks ###Would you like to configure BOOTP/DHCP service on remote networks? ([Y]/N):N
  7. Restart the DHCP service by pressing Return at the following prompt:


    Would you like to restart the DHCP service? (recommended) ([Y]/N): 
Starting and Stopping the DHCP Service (System Administration Guide, Volume 3) (2024)
Top Articles
What is the difference between Open Access and Open Source?
Top 10 New Year's Resolutions (and How to Follow Through!)
Printable Whoville Houses Clipart
Lorton Transfer Station
Hotels
Bloxburg Image Ids
Gas Station Drive Thru Car Wash Near Me
Conan Exiles Thrall Master Build: Best Attributes, Armor, Skills, More
Carolina Aguilar Facebook
Craigslist Missoula Atv
Pinellas Fire Active Calls
Accident On 215
Clare Briggs Guzman
Ups Drop Off Newton Ks
College Basketball Picks: NCAAB Picks Against The Spread | Pickswise
How to Grow and Care for Four O'Clock Plants
Boston Dynamics’ new humanoid moves like no robot you’ve ever seen
Local Collector Buying Old Motorcycles Z1 KZ900 KZ 900 KZ1000 Kawasaki - wanted - by dealer - sale - craigslist
Kirk Franklin Mother Debra Jones Age
Webworx Call Management
Bayard Martensen
Sams Gas Price Sanford Fl
CohhCarnage - Twitch Streamer Profile & Bio - TopTwitchStreamers
Select The Best Reagents For The Reaction Below.
Craigslist Auburn Al
Core Relief Texas
Dl.high Stakes Sweeps Download
Everything You Need to Know About Ñ in Spanish | FluentU Spanish Blog
Nextdoor Myvidster
Flaky Fish Meat Rdr2
Ultra Clear Epoxy Instructions
Litter-Robot 3 Pinch Contact & DFI Kit
Upstate Ny Craigslist Pets
1-800-308-1977
Pillowtalk Podcast Interview Turns Into 3Some
Alpha Asher Chapter 130
„Wir sind gut positioniert“
Saybyebugs At Walmart
Froedtert Billing Phone Number
Express Employment Sign In
Man Stuff Idaho
Hovia reveals top 4 feel-good wallpaper trends for 2024
22 Golden Rules for Fitness Beginners – Barnes Corner Fitness
Copd Active Learning Template
What is a lifetime maximum benefit? | healthinsurance.org
Willkommen an der Uni Würzburg | WueStart
Sinai Sdn 2023
Contico Tuff Box Replacement Locks
Page 5747 – Christianity Today
Diccionario De Los Sueños Misabueso
Campaign Blacksmith Bench
Ocean County Mugshots
Latest Posts
Article information

Author: Prof. An Powlowski

Last Updated:

Views: 6516

Rating: 4.3 / 5 (44 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Prof. An Powlowski

Birthday: 1992-09-29

Address: Apt. 994 8891 Orval Hill, Brittnyburgh, AZ 41023-0398

Phone: +26417467956738

Job: District Marketing Strategist

Hobby: Embroidery, Bodybuilding, Motor sports, Amateur radio, Wood carving, Whittling, Air sports

Introduction: My name is Prof. An Powlowski, I am a charming, helpful, attractive, good, graceful, thoughtful, vast person who loves writing and wants to share my knowledge and understanding with you.