ВУЗ: Не указан

Категория: Не указан

Дисциплина: Не указана

Добавлен: 13.12.2020

Просмотров: 272

Скачиваний: 1

ВНИМАНИЕ! Если данный файл нарушает Ваши авторские права, то обязательно сообщите нам.
background image

Практика

  «Adding and Authorizing a DHCP Server 

Service» 

и

 

последующие

 DHCP-

практики

 

Предварительные

 

действия

1.

 

Настройте

 

виртуальные

 

машины

если

 

еще

 

не

 

настроили

 (

скрипт

  

"\\SRV5\Library\

Лекции

\3 

Курс

\

Информационные

 

Сети

\

Лабы

\06\

Настройка

 

VPC\runme.bat). 

2.

 

Далее

 

запустите

 (

если

 

не

 

запущена

машину

 DEN-DC1. 

 

Описание

Практика

  «Adding and Authorizing a DHCP Server Service»

  - 

установка

 

и

 

авторизация

 

службы

 DHCP. 

Соответствующее

 

ПО

 

входит

 

в

 

состав

 

серверной

 

системы

 Server2003 

и

 

вначале

 

практики

 

его

 

предлагается

 

установить

 

через

 

мастер

 

добавления

 

роли

 

(Add/remove a Role). 

После

 

установки

 DHCP-

службы

нужно

 

ее

 

авторизовать

что

 

и

 

выполняется

 

далее

Практика

  «Configuring a DHCP Scope»

 (

потребуется

 

еще

 

запустить

 DEN-CL1) – 

создание

 

так

 

называемой

 DHCP-

области

 – 

это

  

набор

 

настроек

 (IP-

адреса

адрес

 DNS-

сервера

(

ов

и

 

др

настройки

для

 

группы

 

компьютеров

В

 

ходе

 

практики

 

Вы

 

настроите

 

две

 

области

одну

 

через

 GUI, 

другую

 

с

 

помощью

 

утилиты

 

командной

 

строки

 netsh. 

Затем

 

проверите

 

как

 

получает

 

конфигурацию

от

 

настроенного

 

Вами

 DHCP-

сервера

компьютер

 DEN-CL1. 

Очень

 

важно

также

захватить

 

с

 

помощью

 

сетевого

 

монитора

 DHCP-

трафик

 

и

 

проследить

 

последовательность

 DHCP-

запросов

 

и

 

ответов

 

машин

 DEN-DC1 

и

 DEN-CL1. 

Практика

  «Configuring DHCP Options» 

– 

добавление

 

дополнительных

 

конфигурационных

 

параметров

 (DHCP options) 

и

 

создание

 

резервирований

 (

привязки

 

выдаваемой

 IP-

конфигурации

 

к

 

МАС

-

адресу

 

клиента

).  

 

 

Начинайте

 

выполнять

 

первую

 

практику

 «Adding and Authorizing a DHCP Server Service»

 

с

 

пункта

 

“Practice    > Add a DHCP server ” 

и

 

далее

по

 

пунктам

 


background image

 

 

Practice:

 

Adding and Authorizing a DHCP Server Service 

 

In this practice, you will: 

!

 

Add a DHCP service. 

!

 

Authorize the DHCP Server service. 

 

Ensure that the DEN-DC1 virtual machine is started. 

!

 

Add a DHCP server  

1.

 

Log on to DEN-DC1 using the following credentials 

 

User account: 

Administrator

 

 

Password: 

Pa$$w0rd

 

 

Domain: 

CONTOSO

 

2.

 

Click 

Start

, point to 

All Programs

, point to 

Administrative Tools

, and 

then click 

Manage Your Server

3.

 

In the Manage Your Server window, click 

Add or remove a role

4.

 

On the 

Preliminary Steps 

page, click 

Next

.  

5.

 

In the 

Configure Your Server Wizard

, select 

DHCP server

, and then 

click 

Next

6.

 

On the 

Summary of Selections 

page, click 

Next

7.

 

In the 

New Scope Wizard

, click 

Cancel

 to discontinue creating a scope at 

this time. 

 

You will be configuring a scope in the “Configuring a DHCP Scope” 

lesson in this module. 

 

8.

 

In the 

Configure Your Server Wizard

, click 

Finish

9.

 

Close the Manage Your Server window. 

Objectives 

Instruction 

Practice 

Note 


background image

 

 

!

 

Authorize the DHCP Server service 

1.

 

Click 

Start

, point to 

All Programs

, point to 

Administrative Tools

, and 

then click 

DHCP

.

 

 

2.

 

In the console tree, click 

den-dc1.contoso.msft

.  

3.

 

On the 

Action

 menu, click 

Authorize

.  

4.

 

To verify that the DHCP server is authorized, press F5 to refresh the view in 
the console tree, and verify that the DHCP server now appears with a green 
up arrow. 

5.

 

Close the DHCP console window. 

6.

 

To prepare for the next practice, start the DEN-CL1 virtual machine.  

 


background image

 

 

Practice:

 

Configuring a DHCP Scope 

 

In this practice, you will: 

!

 

Configure two DHCP scopes.  

!

 

Configure a DHCP superscope. 

!

 

Verify IP address allocation by using Network Monitor. 

 

Ensure that the DEN-DC1 and the DEN-CL1 virtual machines are started.  

!

 

Configure two DHCP scopes  

1.

 

If necessary, log on to DEN-DC1 as 

Administrator

 with the password of 

Pa$$w0rd

2.

 

Click 

Start

, point to 

Administrative Tools

 and then click 

DHCP

3.

 

In the console tree, click 

den-dc1.contoso.msft

.  

4.

 

On the 

Action

 menu, click 

New Scope

.  

5.

 

On the 

Welcome to the

 

New Scope Wizard 

page, click 

Next

6.

 

On the 

Scope

 

Name

 page, in the 

Name

 field, type 

FirstScope

. Click 

Next

7.

 

On the 

IP Address Range

 page, fill in the following information, and then 

click 

Next

a.

 

Start IP address: 

10.10.0.1

 

b.

 

End IP address: 

10.10.0.254

 

c.

 

Subnet mask: 

255.255.255.0

 

8.

 

On the 

Add Exclusions

 page, click 

Next

9.

 

On the 

Lease Duration

 page, configure the lease duration to be 

1 hour

Click 

Next

.  

10.

 

On the 

Configure DHCP Options

 page, ensure that 

No, I will configure 

these options later 

is selected, and click

 Next

.  

Objectives 

Instructions 
Practice 


background image

 

 

11.

 

On the 

Completing the New Scope Wizard

 page, click 

Finish

12.

 

Click 

Scope [10.10.0.0] FirstScope

13.

 

Right-click 

Scope [10.10.0.0] FirstScope

, and then click 

Activate

14.

 

Click 

Start

, and then click 

Run

. In the 

Open

 box, type 

cmd

 and then 

click 

OK

.  

15.

 

In the command prompt window, type 

netsh dhcp server 10.10.0.2 add 

scope 10.10.1.0 255.255.255.0 SecondScope Newscope2

. This will add the 

scope SecondScope with IP address 10.10.1.0 and subnet mask 
255.255.255.0. Press ENTER. 

16.

 

In the command window, type 

netsh dhcp server 10.10.0.2 scope 10.10.1.0 

add iprange 10.10.1.1 10.10.1.254

. This will add the IP range 10.10.1.1 

through 10.10.1.254 for distribution on the 10.10.1.0 scope. Press ENTER. 

17.

 

In the command window, type 

netsh dhcp server 10.10.0.2 scope 10.10.1.0 

set state 1

. This will activate the 10.10.1.0 scope state. Press ENTER. 

 

!

 

Configure a DHCP superscope  

1.

 

Switch to the DHCP console and then click 

den-dc1.contoso.msft

.  

2.

 

Refresh the console screen. 

3.

 

Right-click 

den-dc1.contoso.msft

, and then click 

New Superscope

 on the 

shortcut menu.  

4.

 

On the 

Welcome to the New Superscope Wizard

 page, click 

Next

5.

 

On the 

Superscope Name

 page, type 

SuperScope1

 in the Name field and 

then click 

Next

6.

 

On the 

Select Scopes

 page, click 

FirstScope

 and 

SecondScope 

while 

holding the CTRL key. Click 

Next

.  

7.

 

On the 

Completing the New Superscope Wizard

 page, click 

Finish

 to 

create the new superscope.  

 

!

 

Verify IP address allocation by using Network Monitor  

1.

 

Log on to DEN-CL1 as 

Administrator

 with the password of 

Pa$$w0rd

Allow the DEN-CL1 virtual machine to fully log on before continuing with 
the next step. 

2.

 

Switch to DEN-DC1, click 

Start

, point to 

All Programs

, point to 

Administrative Tools

, and then click 

Network Monitor

3.

 

When prompted to specify the network on which you want to capture data, 
click 

OK

. This will bring up the 

Select a network

 dialog box. Expand 

Local Computer

 and then click 

Local Area Connection

. Click 

OK

4.

 

Maximize the Microsoft Network Monitor window, click the 

Capture

 

menu, and then click 

Start

5.

 

Switch to the DEN-CL1 virtual machine, click 

Start

, and then click 

Control Panel

. Double-click 

Network Connections

.  


Смотрите также файлы