[ESR] DHCP Relay

В случае, если DHCP-клиент не имеет возможности обратиться к DHCP-серверу напрямую (например, если они находятся в разных широковещательных доменах), используется так называемый DHCP-ретранслятор (relay agent), который обрабатывает клиентский широковещательный DHCP-запрос и отправляет его на DHCP-сервер в виде unicast пакета, а полученный от DHCP-сервера ответ, в свою очередь, перенаправляет DHCP-клиенту.

Рисунок 1 - Схема сети

 

Предварительно необходимо сконфигурировать интерфейсы:

esr(config)# interface gigabitethernet 1/0/1

esr(config-if-gi)# ip address 10.0.0.1/24

esr(config)# interface gigabitethernet 1/0/2

esr(config-if-gi)# ip address 192.168.0.1/24

 

Настройки DHCP-ретранслятора на ESR сводятся к:

 

1. Включению DHCP relay глобально на устройстве командой

 

esr(config)# ip dhcp-relay

 

2. Указанию на интерфейсе со стороны DHCP-клинта IP адреса DHCP-сервера, на который будут перенаправляться клиентские запросы.

 

esr(config)# interface gigabitethernet 1/0/2

esr(config-if-gi)# ip helper-address 10.0.0.2

 

Чтобы изменения вступили в силу, необходимо ввести следующие команды:

esr# commit

Configuration has been commited

esr# confirm

 Configuration has been confirmed

закрыть


Notice: Undefined variable: table in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 429

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined variable: header in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 448

Notice: Undefined offset: 1 in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 320

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Trying to get property of non-object in /home/e/eltexcomm/dev/public_html/manager/includes/document.parser.class.inc.php on line 6227

Notice: Undefined index: mobileversion in /home/e/eltexcomm/dev/public_html/manager/includes/document.parser.class.inc.php(1916) : eval()'d code on line 68

Notice: Undefined variable: table in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 429

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined variable: header in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 448

Notice: Undefined offset: 1 in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 320

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined variable: table in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 429

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined variable: header in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 448

Notice: Undefined offset: 1 in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 320

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined index: file in /home/e/eltexcomm/dev/public_html/manager/includes/document.parser.class.inc.php on line 6367

Notice: Undefined index: line in /home/e/eltexcomm/dev/public_html/manager/includes/document.parser.class.inc.php on line 6420

Notice: Undefined index: type in /home/e/eltexcomm/dev/public_html/manager/includes/document.parser.class.inc.php on line 6371

Notice: Undefined variable: table in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 429

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Notice: Undefined offset: 0 in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 320

Notice: Undefined variable: header in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 448

Notice: Undefined index: in /home/e/eltexcomm/dev/public_html/manager/includes/extenders/maketable.class.php on line 430

Warning: Cannot modify header information - headers already sent by (output started at /home/e/eltexcomm/dev/public_html/manager/includes/document.parser.class.inc.php:1020) in /home/e/eltexcomm/dev/public_html/manager/includes/document.parser.class.inc.php on line 6318
Error
Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to delete or flush in /home/e/eltexcomm/dev/public_html/manager/includes/document.parser.class.inc.php on line 6341