6-ая лабораторная по инф. сетям = 2-ая подготовительная часть - настройка DHCP сервера (ФКН ВГУ преп. - Коваль А.С.)

когда я разбирался с этими пунктами интернета под рукой не было - но они не сложные - вы тоже сможете:

Практика «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-
конфигурации к МАС-адресу клиента).

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.
Note

uthorize 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.

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.

1. 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.

Далее

Создание DHCP суперобласти

============================
затем , с использованием двух машин -
Проверка выделения ip адресов сервером DHCP с использованием сетевого монитора.

==================
и последнее в данной тренировочной лабораторной =

Изменение настроек DHCP сервера - windows server 2003