Ved at bruge denne side, du accepterer Privatlivspolitik.
Acceptere
EnterineEnterineEnterine
  • HJEM
  • Det pro
  • Teknik
  • Microsoft
    • Azurblå
    • Configmgr/SCCM
    • DPM
    • Orkester
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kontor 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Hold
  • Windows
    • Windows Admin Center
    • Windows klient
    • Windows Server
  • SCCM-forespørgselsindsamlingsliste
Læsning: A Step-by-Step Guide to Configuring DHCP on Windows Server 2016 Using GUI and PowerShell
Font ResizerAa
EnterineEnterine
Font ResizerAa
  • HJEM
  • Det pro
  • Teknik
  • Microsoft
  • Windows
  • SCCM-forespørgselsindsamlingsliste
Søge
  • HJEM
  • Det pro
  • Teknik
  • Microsoft
    • Azurblå
    • Configmgr/SCCM
    • DPM
    • Orkester
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kontor 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Hold
  • Windows
    • Windows Admin Center
    • Windows klient
    • Windows Server
  • SCCM-forespørgselsindsamlingsliste
Windows Server

A Step-by-Step Guide to Configuring DHCP on Windows Server 2016 Using GUI and PowerShell

Offentliggjort: februar 11, 2024
3 Min læst
DELE

A Step-by-Step Guide to Configuring DHCP on Windows Server 2016 Using GUI and PowerShell.

Indhold
With GUIWith PowerShell

With GUI

1. Run de DHCP console from the apps list. Naviger til IPv4\Server Options. There we config Server options for all scopes;

2. Højre museknap Klik på Server Options og klik Configure Options;

3. Select option 006 DNS Servers, enter an IP address, og klik Tilføje;

4. Select option 015 DNS Domain Name, enter the domain name, og klik OK;

5. New options added;

6. Højre museknap Klik på IPv4 og klik New Scope;

7. Klik Next;

8. Indtast Navn (and if you wish Description), og klik Next;

9. Indtast the Start IP address, End IP address, og Subnet mask, og klik Next;

10. On this page, you may exclude the IP range from DHCP. Klik Next;

11. Set Lease Duration og klik Next;

12. You may select Yes and configure Scope Options for this scope. I choose No, click Next;

13. Klik Finish;

14. Scope created, but we must Activate it;

15. Højre museknap click at the scope and click Activate;

16. Scope activated and worked!

17. If you Højre museknap click on Leased IP Address, you may Add to the reservation Add to the filter, or even Delete it;

With PowerShell

1. Run PowerShell as Administrator. To get active scopes enter:

Get-DhcpServerv4Scope -cn <dhcp server name> | select scopeid, name, description
PowerShell

2. To add new scope, enter:

Add-DhcpServerv4Scope -Name ‘<scope name>’ -StartRange <start IP Address> -EndRange <end IP Address> -SubnetMask <subnet mask> -Description ‘<description>’ –cn <dhcp server name>
PowerShell

3. Before scope delete Best Practices is run the command with WhatIf parameter:

Remove-DhcpServerv4Scope -ScopeId <scope id> -cn <dhcp server name>  -WhatIf
PowerShell

4. Then run without the WhatIf parameter:

Remove-DhcpServerv4Scope -ScopeId <scope id> -cn <dhcp server name>
PowerShell

5. Scope removed.

TAGGET:DHCPMicrosoft Windows ServerPowerShellWindows Server 2016
Forrige artikel Configuration Manager Forespørgselsindsamlingsliste Configuration Manager Technical Preview Branch Update 1706
Næste artikel Configuration Manager Forespørgselsindsamlingsliste SCCM Technical Preview Branch Update 1707
Efterlad en kommentar Efterlad en kommentar

Efterlad et svar Annuller svar

Din e-mailadresse vil ikke blive offentliggjort. Påkrævede felter er markeret *

Denne side bruger Akismet til at reducere spam. Lær, hvordan dine kommentardata behandles.

Oversættelse

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
ved Transposh - translation plugin for wordpress

Populære indlæg

Systemkrav til Windows Server 2016
Windows Server
Configuration Manager Forespørgselsindsamlingsliste
Configuration Manager Forespørgselsindsamlingsliste
Configmgr
Struktureret/administreret navigation aktiveret på moderne sider i klassiske teamwebsteder
Teknik
SCCM Kunne ikke hente DP-placeringer som den forventede version fra MP
Configmgr

Seneste indlæg

Installation og konfiguration af Fail2ban til SSH-beskyttelse på Ubuntu 24.04
Linux
Aktivering og konfiguration af FirewallD på AlmaLinux
Linux
Brugeroprettelse og SSH-nøgleopsætning i AlmaLinux
Linux
Sådan nulstiller du adgangskoden på AlmaLinux
Linux

© 2023 Enterine

Gå til mobil version
Velkommen tilbage!

Log ind på din konto

Brugernavn eller e-mail-adresse
Adgangskode

Mistet din adgangskode?