Перейти к содержимому
Калькуляторы

Настройка DHCP relay Cisco Nexus, Элтекс MES2324, D-link DES-3200 rev. C1.

Настройка DHCP relay на Cisco Nexus N3K-C3064PQ

Для работы DHCP relay должен быть выставлен приемлемый порог политики class copp-s-dhcpreq, иначе DHCP запросы не будут обрабатываться CPU.  

policy-map type control-plane copp-system-policy
  class copp-s-dhcpreq
    police pps 90


 sh running-config dhcp

!Command: show running-config dhcp
!Running configuration last done at: Wed Aug 17 11:55:18 2022
!Time: Wed Aug 17 11:55:33 2022

version 9.3(7) Bios:version 5.0.0
feature dhcp

service dhcp
ip dhcp relay
ip dhcp relay information option
ipv6 dhcp relay


interface VlanX
  ip dhcp relay address 1.2.3.4
  ip dhcp relay address 5.6.7.8

interface VlanY
  ip dhcp relay address 1.2.3.4
  ip dhcp relay address 5.6.7.8

interface VlanZ
  ip dhcp relay address 1.2.3.4
  ip dhcp relay address 5.6.7.8

 


Настройка DHCP relay на Элтекс MES 2324

ip dhcp relay address 1.2.3.4
ip dhcp relay address 5.6.7.8
ip dhcp relay enable
ip dhcp relay information option suboption-type custom
!
interface vlan X
ip dhcp relay enable
!
...
...
interface vlan Y
ip dhcp relay enable
...
...
interface vlan Z
ip dhcp relay enable
!


Устанавливать ip dhcp information option [нельзя]

При просмотре Option 82 будет неактивно, но так и должно быть.

MES2324#sh ip dhcp relay 
DHCP relay is Enabled
Option 82 is Disabled [нормально]
Maximum number of supported VLANs without IP Address is 256
Number of DHCP Relays enabled on VLANs without IP Address is 1
DHCP relay is not configured on any port.
DHCP relay is enabled on Vlans: X
Active: X
Inactive: 
Servers: 1.2.3.4
         5.6.7.8 

 

 

Настройка DHCP relay на D-link серии 3200 rev. C1.

# DHCP_LOCAL_RELAY

disable dhcp_local_relay
config dhcp_local_relay option_82 remote_id default
config dhcp_local_relay option_82 circuit_id default
config dhcp_local_relay option_82 ports 1-28 policy keep


# DHCP_RELAY
                                                                                
enable dhcp_relay
config dhcp_relay hops 4 time 0 
config dhcp_relay option_82 state enable
config dhcp_relay option_82 check disable
config dhcp_relay option_82 policy keep
config dhcp_relay option_82 remote_id default
config dhcp_relay option_82 circuit_id default
config dhcp_relay option_60 state disable
config dhcp_relay option_61 state disable
config dhcp_relay option_82 mac_format case uppercase
config dhcp_relay option_82 mac_format delimiter number 5
config dhcp_relay option_82 mac_format delimiter none
config dhcp_relay option_60 default mode drop
config dhcp_relay option_61 default drop
config dhcp_relay add vlanid X,Y,Z,... 1.2.3.4
config dhcp_relay add vlanid X,Y,Z,... 5.6.7.8
config dhcp_relay ports 1-28 state enable
Command: show dhcp_relay

DHCP/BOOTP Relay Status         : Disabled
DHCP/BOOTP Hops Count Limit     : 4
DHCP/BOOTP Relay Time Threshold : 0
DHCP Vendor Class Identifier Option 60 State: Disabled
DHCP Client Identifier Option 61 State: Disabled
DHCP Relay Agent Information Option 82 State  : Enabled
DHCP Relay Agent Information Option 82 Check  : Disabled
DHCP Relay Agent Information Option 82 Policy : Keep
DHCP Relay Agent Information Option 82 Circuit ID : Default
DHCP Relay Agent Information Option 82 Remote ID : Default
DHCP Relay Ignore QinQ Setting Enabled Ports : 

Interface    Server 1        Server 2        Server 3        Server 4
------------ --------------- --------------- --------------- ---------------

Server           VLAN ID List
---------------  -----------------------------------------------------------
1.2.3.4      X,Y,Z,...
5.6.7.8      X,Y,Z,...


 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 смайлов.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.