faq обучение настройка
Текущее время: Вт июл 22, 2025 10:54

Часовой пояс: UTC + 3 часа




Начать новую тему Ответить на тему  [ Сообщений: 9 ] 
Автор Сообщение
 Заголовок сообщения: DGS-3620-28TC DHCP relay option 82
СообщениеДобавлено: Ср окт 09, 2013 18:01 
Не в сети

Зарегистрирован: Ср май 30, 2012 13:56
Сообщений: 4
Проблема в следующем: DGS-3620-28TC не "релеит" DHCP-запросы . Конфиг под спойлером. DHCP сервер поднят на виртуальном Windows Server 2012 (HYPER-V) , используется виртуальный сетевой интерфейс Hyper-v с 500 вланом и адресом 192.168.218.11 подключенный к 1 транковому порту. В своём (500) влане адреса раздаются нормально. Скопы соответствующие другим VLAN созданы на DHCP сервере. Слушал снифером на сервере DHCP , запросы из других VLAN до него не доходят.

Скрытый текст: показать
#-------------------------------------------------------------------------------
# DGS-3620-28TC Gigabit Ethernet Switch
# Configuration
#
# Firmware: Build 2.50.017
# Copyright(C) 2013 D-Link Corporation. All rights reserved.
#-------------------------------------------------------------------------------


# STACK

config stacking force_master_role state disable

# DEVICE

config temperature threshold high 79
config temperature threshold low 11
config temperature trap state enable
config temperature log state enable

# BASIC

# ACCOUNT LIST
create account admin admin
root
root

# ACCOUNT END
# PASSWORD ENCRYPTION
disable password encryption
config serial_port auto_logout 10_minutes
enable web 80
enable clipaging
config terminal width 80
disable command logging
enable password_recovery

# DEBUG

debug config state enable
debug config error_reboot enable

# STORM

config traffic control 1 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 2 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 3 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 4 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 5 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 6 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 7 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 8 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 9 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 10 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 11 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 12 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 13 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 14 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 15 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 16 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 17 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 18 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 19 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 20 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 21 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 22 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 23 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 24 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 25 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 26 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 27 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control 28 broadcast disable multicast disable unicast disable action drop broadcast_threshold 131072 multicast_threshold 131072 unicast_threshold 131072 countdown 0 time_interval 5
config traffic control auto_recover_time 0
config traffic trap none
config traffic control log state enable

# LOOP_DETECT

disable loopdetect
config loopdetect recover_timer 60 interval 10 mode port-based
config loopdetect log state enable
config loopdetect ports 1 state disable
config loopdetect ports 2 state disable
config loopdetect ports 3 state disable
config loopdetect ports 4 state disable
config loopdetect ports 5 state disable
config loopdetect ports 6 state disable
config loopdetect ports 7 state disable
config loopdetect ports 8 state disable
config loopdetect ports 9 state disable
config loopdetect ports 10 state disable
config loopdetect ports 11 state disable
config loopdetect ports 12 state disable
config loopdetect ports 13 state disable
config loopdetect ports 14 state disable
config loopdetect ports 15 state disable
config loopdetect ports 16 state disable
config loopdetect ports 17 state disable
config loopdetect ports 18 state disable
config loopdetect ports 19 state disable
config loopdetect ports 20 state disable
config loopdetect ports 21 state disable
config loopdetect ports 22 state disable
config loopdetect ports 23 state disable
config loopdetect ports 24 state disable
config loopdetect ports 25 state disable
config loopdetect ports 26 state disable
config loopdetect ports 27 state disable
config loopdetect ports 28 state disable
config loopdetect trap none

# GM

disable sim
config sim candidate
config sim dp_interval 30
config sim hold_time 100

# GM_H


# MIRROR

create mirror group_id 4
config mirror group_id 4 target_port 18
config mirror group_id 4 state enable
config mirror group_id 4 add source ports 1 rx
disable mirror

# QOS

disable hol_prevention
config 802.1p default_priority 1-28 0
config bandwidth_control 1-28 rx_rate no_limit tx_rate no_limit
config per_queue bandwidth_control ports 1-28 0 min_rate no_limit max_rate no_limit
config per_queue bandwidth_control ports 1-28 1 min_rate no_limit max_rate no_limit
config per_queue bandwidth_control ports 1-28 2 min_rate no_limit max_rate no_limit
config per_queue bandwidth_control ports 1-28 3 min_rate no_limit max_rate no_limit
config per_queue bandwidth_control ports 1-28 4 min_rate no_limit max_rate no_limit
config per_queue bandwidth_control ports 1-28 5 min_rate no_limit max_rate no_limit
config per_queue bandwidth_control ports 1-28 6 min_rate no_limit max_rate no_limit
config per_queue bandwidth_control ports 1-28 7 min_rate no_limit max_rate no_limit
config scheduling_mechanism ports 1-28 strict
config scheduling ports 1-28 0 weight 1
config scheduling ports 1-28 1 weight 2
config scheduling ports 1-28 2 weight 3
config scheduling ports 1-28 3 weight 4
config scheduling ports 1-28 4 weight 5
config scheduling ports 1-28 5 weight 6
config scheduling ports 1-28 6 weight 7
config scheduling ports 1-28 7 weight 8
config 802.1p user_priority ports 1-28 0 2
config 802.1p user_priority ports 1-28 1 0
config 802.1p user_priority ports 1-28 2 1
config 802.1p user_priority ports 1-28 3 3
config 802.1p user_priority ports 1-28 4 4
config 802.1p user_priority ports 1-28 5 5
config 802.1p user_priority ports 1-28 6 6
config 802.1p user_priority ports 1-28 7 7

# SYSLOG

config log_save_timing on_demand
disable syslog
config system_severity trap information
config system_severity log information

# TRAF-SEGMENTATION

config traffic_segmentation 1-28 forward_list all

# SSL

disable ssl
enable ssl ciphersuite RSA_with_RC4_128_MD5
enable ssl ciphersuite RSA_with_3DES_EDE_CBC_SHA
enable ssl ciphersuite DHE_DSS_with_3DES_EDE_CBC_SHA
enable ssl ciphersuite RSA_EXPORT_with_RC4_40_MD5
config ssl cachetimeout 600

# PORT

disable jumbo_frame
config jumbo_frame ports 1-28 state enable
config ports 1-20 speed auto capability_advertised 10_half 10_full 100_half 100_full 1000_full flow_control disable learning enable state enable mdix auto
config ports 21-24 medium_type copper speed auto capability_advertised 10_half 10_full 100_half 100_full 1000_full flow_control disable learning enable state enable mdix auto
config ports 21-24 medium_type fiber speed auto capability_advertised 1000_full auto_negotiation remote_fault_advertised disable flow_control disable learning enable state enable
config ports 25-28 speed auto flow_control disable learning enable state enable mdix auto

# SFLOW


# OAM


# DDM

config ddm trap disable
config ddm log enable
config ddm power_unit mw
config ddm ports 21-28 state enable shutdown none

# MANAGEMENT

enable snmp traps
enable snmp authenticate_traps
enable snmp linkchange_traps
disable snmp
config snmp linkchange_traps ports 1-28 enable

# TRAP

config snmp coldstart_traps enable
config snmp warmstart_traps enable
config rmon trap rising_alarm enable
config rmon trap falling_alarm enable

# TR


# PortGroup


# IGMP_MULTICAST_VLAN

config igmp_snooping multicast_vlan forward_unmatched disable
config igmp_snooping multicast_vlan auto_assign_vlan disable

# MLD_MULTICAST_VLAN

config mld_snooping multicast_vlan forward_unmatched disable
config mld_snooping multicast_vlan auto_assign_vlan disable

# VLAN

enable pvid auto_assign
config vlan default delete 1-28
config vlan default advertisement enable
create vlan 500 tag 500
config vlan 500 add untagged 20 advertisement disable
create vlan 501 tag 501
config vlan 501 add untagged 19 advertisement disable
create vlan 502 tag 502
config vlan 502 add untagged 18 advertisement disable
create vlan 503 tag 503
config vlan 503 add untagged 17 advertisement disable
create vlan 505 tag 505
config vlan 505 advertisement disable
disable gvrp
disable asymmetric_vlan
enable vlan_trunk
config vlan_trunk ports 1,21-24 state enable
config port_vlan 1-16,21-28 gvrp_state disable ingress_checking enable acceptable_frame admit_all pvid 1
config port_vlan 17 gvrp_state disable ingress_checking enable acceptable_frame admit_all pvid 503
config port_vlan 18 gvrp_state disable ingress_checking enable acceptable_frame admit_all pvid 502
config port_vlan 19 gvrp_state disable ingress_checking enable acceptable_frame admit_all pvid 501
config port_vlan 20 gvrp_state disable ingress_checking enable acceptable_frame admit_all pvid 500

# URPF


# PORT_SECURITY

config port_security system max_learning_addr no_limit
config port_security trap state disable
config port_security log state disable
config port_security ports 1-28 admin_state disable max_learning_addr 32 lock_address_mode deleteonreset

# ACL


#CPU Interface Filter

disable cpu_interface_filtering

# SUBNETVLAN

config vlan_precedence port 1-28 mac_based_vlan

# PROTOCOL_VLAN


# PowerSaving

config power_saving mode link_detection enable
config power_saving mode length_detection disable
config power_saving mode hibernation disable
config power_saving mode led disable
config power_saving mode port disable

# LED-CTRL

config led state enable

# QINQ


# manaport

config out_band_ipif ipaddress 192.168.0.1/24
config out_band_ipif state enable
config out_band_ipif gateway 0.0.0.0

# ExternalAlarm

config external_alarm unit 1 channel 1 message External Alarm 1
config external_alarm unit 1 channel 2 message External Alarm 2
config external_alarm unit 2 channel 1 message External Alarm 3
config external_alarm unit 2 channel 2 message External Alarm 4
config external_alarm unit 3 channel 1 message External Alarm 5
config external_alarm unit 3 channel 2 message External Alarm 6
config external_alarm unit 4 channel 1 message External Alarm 7
config external_alarm unit 4 channel 2 message External Alarm 8
config external_alarm unit 5 channel 1 message External Alarm 9
config external_alarm unit 5 channel 2 message External Alarm 10
config external_alarm unit 6 channel 1 message External Alarm 11
config external_alarm unit 6 channel 2 message External Alarm 12
config external_alarm unit 7 channel 1 message External Alarm 13
config external_alarm unit 7 channel 2 message External Alarm 14
config external_alarm unit 8 channel 1 message External Alarm 15
config external_alarm unit 8 channel 2 message External Alarm 16
config external_alarm unit 9 channel 1 message External Alarm 17
config external_alarm unit 9 channel 2 message External Alarm 18
config external_alarm unit 10 channel 1 message External Alarm 19
config external_alarm unit 10 channel 2 message External Alarm 20
config external_alarm unit 11 channel 1 message External Alarm 21
config external_alarm unit 11 channel 2 message External Alarm 22
config external_alarm unit 12 channel 1 message External Alarm 23
config external_alarm unit 12 channel 2 message External Alarm 24

# SUPERVLAN


# RSPAN

disable rspan

# 8021X

disable 802.1x
config 802.1x auth_protocol radius_eap
config 802.1x fwd_pdu system disable
config 802.1x max_users 448
config 802.1x authorization attributes radius enable
config 802.1x capability ports 1-28 none
config 802.1x auth_parameter ports 1-28 direction both port_control auto quiet_period 60 tx_period 30 supp_timeout 30 server_timeout 30 max_req 2 reauth_period 3600 enable_reauth disable
config 802.1x auth_parameter ports 1-28 max_users 16

# guestvlan


# NLB


# MCFDB


# FDB

config fdb aging_time 300

# ADDRBIND

config address_binding dhcp_snoop max_entry ports 1 limit no_limit
config address_binding dhcp_snoop max_entry ports 2 limit no_limit
config address_binding dhcp_snoop max_entry ports 3 limit no_limit
config address_binding dhcp_snoop max_entry ports 4 limit no_limit
config address_binding dhcp_snoop max_entry ports 5 limit no_limit
config address_binding dhcp_snoop max_entry ports 6 limit no_limit
config address_binding dhcp_snoop max_entry ports 7 limit no_limit
config address_binding dhcp_snoop max_entry ports 8 limit no_limit
config address_binding dhcp_snoop max_entry ports 9 limit no_limit
config address_binding dhcp_snoop max_entry ports 10 limit no_limit
config address_binding dhcp_snoop max_entry ports 11 limit no_limit
config address_binding dhcp_snoop max_entry ports 12 limit no_limit
config address_binding dhcp_snoop max_entry ports 13 limit no_limit
config address_binding dhcp_snoop max_entry ports 14 limit no_limit
config address_binding dhcp_snoop max_entry ports 15 limit no_limit
config address_binding dhcp_snoop max_entry ports 16 limit no_limit
config address_binding dhcp_snoop max_entry ports 17 limit no_limit
config address_binding dhcp_snoop max_entry ports 18 limit no_limit
config address_binding dhcp_snoop max_entry ports 19 limit no_limit
config address_binding dhcp_snoop max_entry ports 20 limit no_limit
config address_binding dhcp_snoop max_entry ports 21 limit no_limit
config address_binding dhcp_snoop max_entry ports 22 limit no_limit
config address_binding dhcp_snoop max_entry ports 23 limit no_limit
config address_binding dhcp_snoop max_entry ports 24 limit no_limit
config address_binding dhcp_snoop max_entry ports 25 limit no_limit
config address_binding dhcp_snoop max_entry ports 26 limit no_limit
config address_binding dhcp_snoop max_entry ports 27 limit no_limit
config address_binding dhcp_snoop max_entry ports 28 limit no_limit
disable address_binding dhcp_snoop
disable address_binding trap_log
enable address_binding roaming
config address_binding dhcp_snoop_entry filename /d:/dhcpsnp.cfg autosave enable
disable address_binding dhcp_snoop ipv6
disable address_binding nd_snoop
config address_binding dhcp_snoop max_entry ports 1-28 limit no_limit ipv6
config address_binding nd_snoop ports 1-28 max_entry no_limit

# NetBiosFilter

config filter netbios all state disable
config filter extensive_netbios all state disable

# RADIUS


# DoS

config dos_prevention dos_type land_attack action drop state disable
config dos_prevention dos_type blat_attack action drop state disable
config dos_prevention dos_type tcp_null_scan action drop state disable
config dos_prevention dos_type tcp_xmasscan action drop state disable
config dos_prevention dos_type tcp_synfin action drop state disable
config dos_prevention dos_type tcp_syn_srcport_less_1024 action drop state disable
config dos_prevention dos_type ping_death_attack action drop state disable
config dos_prevention dos_type tcp_tiny_frag_attack action drop state disable
config dos_prevention trap disable
config dos_prevention log disable

# DhcpServerScreening

config filter dhcp_server ports all state disable
config filter dhcp_server illegal_server_log_suppress_duration 5min
config filter dhcp_server trap disable
config filter dhcp_server log enable

# sRED

config dscp trust all state disable
config dscp map all dscp_dscp 0 to 0
config dscp map all dscp_dscp 1 to 1
config dscp map all dscp_dscp 2 to 2
config dscp map all dscp_dscp 3 to 3
config dscp map all dscp_dscp 4 to 4
config dscp map all dscp_dscp 5 to 5
config dscp map all dscp_dscp 6 to 6
config dscp map all dscp_dscp 7 to 7
config dscp map all dscp_dscp 8 to 8
config dscp map all dscp_dscp 9 to 9
config dscp map all dscp_dscp 10 to 10
config dscp map all dscp_dscp 11 to 11
config dscp map all dscp_dscp 12 to 12
config dscp map all dscp_dscp 13 to 13
config dscp map all dscp_dscp 14 to 14
config dscp map all dscp_dscp 15 to 15
config dscp map all dscp_dscp 16 to 16
config dscp map all dscp_dscp 17 to 17
config dscp map all dscp_dscp 18 to 18
config dscp map all dscp_dscp 19 to 19
config dscp map all dscp_dscp 20 to 20
config dscp map all dscp_dscp 21 to 21
config dscp map all dscp_dscp 22 to 22
config dscp map all dscp_dscp 23 to 23
config dscp map all dscp_dscp 24 to 24
config dscp map all dscp_dscp 25 to 25
config dscp map all dscp_dscp 26 to 26
config dscp map all dscp_dscp 27 to 27
config dscp map all dscp_dscp 28 to 28
config dscp map all dscp_dscp 29 to 29
config dscp map all dscp_dscp 30 to 30
config dscp map all dscp_dscp 31 to 31
config dscp map all dscp_dscp 32 to 32
config dscp map all dscp_dscp 33 to 33
config dscp map all dscp_dscp 34 to 34
config dscp map all dscp_dscp 35 to 35
config dscp map all dscp_dscp 36 to 36
config dscp map all dscp_dscp 37 to 37
config dscp map all dscp_dscp 38 to 38
config dscp map all dscp_dscp 39 to 39
config dscp map all dscp_dscp 40 to 40
config dscp map all dscp_dscp 41 to 41
config dscp map all dscp_dscp 42 to 42
config dscp map all dscp_dscp 43 to 43
config dscp map all dscp_dscp 44 to 44
config dscp map all dscp_dscp 45 to 45
config dscp map all dscp_dscp 46 to 46
config dscp map all dscp_dscp 47 to 47
config dscp map all dscp_dscp 48 to 48
config dscp map all dscp_dscp 49 to 49
config dscp map all dscp_dscp 50 to 50
config dscp map all dscp_dscp 51 to 51
config dscp map all dscp_dscp 52 to 52
config dscp map all dscp_dscp 53 to 53
config dscp map all dscp_dscp 54 to 54
config dscp map all dscp_dscp 55 to 55
config dscp map all dscp_dscp 56 to 56
config dscp map all dscp_dscp 57 to 57
config dscp map all dscp_dscp 58 to 58
config dscp map all dscp_dscp 59 to 59
config dscp map all dscp_dscp 60 to 60
config dscp map all dscp_dscp 61 to 61
config dscp map all dscp_dscp 62 to 62
config dscp map all dscp_dscp 63 to 63
config dscp map all dscp_priority 0-7 to 0
config dscp map all dscp_priority 8-15 to 1
config dscp map all dscp_priority 16-23 to 2
config dscp map all dscp_priority 24-31 to 3
config dscp map all dscp_priority 32-39 to 4
config dscp map all dscp_priority 40-47 to 5
config dscp map all dscp_priority 48-55 to 6
config dscp map all dscp_priority 56-63 to 7

# FilterIPv6

config filter dhcpv6_server trap disable
config filter dhcpv6_server log enable
config filter icmpv6_ra_all_node trap disable
config filter icmpv6_ra_all_node log enable

# ARPSpoofingPrevention


# WRED

config wred profile default tcp green min_threshold 50 max_threshold 100 max_drop_rate 50
config wred profile default tcp yellow min_threshold 50 max_threshold 100 max_drop_rate 50
config wred profile default tcp red min_threshold 50 max_threshold 100 max_drop_rate 50
config wred profile default non_tcp green min_threshold 50 max_threshold 100 max_drop_rate 50
config wred profile default non_tcp yellow min_threshold 50 max_threshold 100 max_drop_rate 50
config wred profile default non_tcp red min_threshold 50 max_threshold 100 max_drop_rate 50
disable wred
config wred ports 1-28 cos 0 profile default
config wred ports 1-28 cos 0 weight 9
config wred ports 1-28 cos 1 profile default
config wred ports 1-28 cos 1 weight 9
config wred ports 1-28 cos 2 profile default
config wred ports 1-28 cos 2 weight 9
config wred ports 1-28 cos 3 profile default
config wred ports 1-28 cos 3 weight 9
config wred ports 1-28 cos 4 profile default
config wred ports 1-28 cos 4 weight 9
config wred ports 1-28 cos 5 profile default
config wred ports 1-28 cos 5 weight 9
config wred ports 1-28 cos 6 profile default
config wred ports 1-28 cos 6 weight 9
config wred ports 1-28 cos 7 profile default
config wred ports 1-28 cos 7 weight 9

# MAC_ADDRESS_TABLE_NOTIFICATION

disable mac_notification
config mac_notification interval 1 historysize 1
config mac_notification ports 1-28 disable

# STP

config stp version rstp
config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 6 fbpdu disable hellotime 2 nni_bpdu_addr dot1d
config stp priority 32768 instance_id 0
config stp ports 1-28 externalCost auto edge false p2p auto state enable restricted_role false restricted_tcn false
config stp mst_ports 1-28 instance_id 0 internalCost auto priority 128
config stp ports 1-28 fbpdu disable
config stp mst_config_id name 90:94:E4:13:9A:00 revision_level 0
config stp trap new_root enable
config stp trap topo_change enable
disable stp

# L2PT

disable l2protocol_tunnel
config l2protocol_tunnel ports all type none

# BPDU_PROTECTION

config bpdu_protection ports 1-28 mode shutdown

# SAFEGUARD_ENGINE

config safeguard_engine state disable utilization rising 30 falling 20 trap_log disable mode fuzzy

# BANNER_PROMP

config command_prompt default
config greeting_message default

# SSH

config ssh algorithm 3DES enable
config ssh algorithm AES128 enable
config ssh algorithm AES192 enable
config ssh algorithm AES256 enable
config ssh algorithm arcfour enable
config ssh algorithm blowfish enable
config ssh algorithm cast128 enable
config ssh algorithm twofish128 enable
config ssh algorithm twofish192 enable
config ssh algorithm twofish256 enable
config ssh algorithm MD5 enable
config ssh algorithm SHA1 enable
config ssh algorithm RSA enable
config ssh algorithm DSA enable
config ssh authmode password enable
config ssh authmode publickey enable
config ssh authmode hostbased enable
config ssh server maxsession 8
config ssh server contimeout 120
config ssh server authfail 2
config ssh server rekey never
config ssh server port 22
config ssh user admin authmode password
config ssh publickey bypass_login_screen state disable
enable ssh

# SFTPS

config sftp server timeout 120
disable sftp server

# SERVER_PROFILE


# TELNETS

enable telnet 23

# DNSRESOLVER

disable dns_resolver
config name_server timeout 3

# BCPING

enable broadcast_ping_reply

# SNTP

disable sntp
config time_zone operator + hour 0 min 0
config sntp poll-interval 720
config dst disable

# MULTICAST_FILTER


# LACP

config link_aggregation algorithm ip_source
config lacp_port 1-28 mode passive lacp_timeout short

# IP

config ipif_mac_mapping ipif System mac_offset 0
config ipif System ipaddress 192.168.218.33/28 vlan 505
config ipif System dhcpv6_client disable
config ipif System dhcpv6_client_pd disable
config ipif System proxy_arp disable local disable
config ipif_mac_mapping ipif local mac_offset 2
create ipif local 192.168.218.129/25 501 state enable
config ipif local proxy_arp disable local disable
config ipif local dhcpv6_client disable
config ipif local dhcpv6_client_pd disable
config ipif_mac_mapping ipif secure mac_offset 3
create ipif secure 192.168.218.65/26 502 state enable
config ipif secure proxy_arp disable local disable
config ipif secure dhcpv6_client disable
config ipif secure dhcpv6_client_pd disable
config ipif_mac_mapping ipif servers mac_offset 1
create ipif servers 192.168.218.1/27 500 state enable
config ipif servers proxy_arp disable local disable
config ipif servers dhcpv6_client disable
config ipif servers dhcpv6_client_pd disable
config ipif local ip_mtu 1500
config ipif System ip_mtu 1500
config ipif secure ip_mtu 1500
config ipif servers ip_mtu 1500
config ipif local ip_directed_broadcast disable
config ipif System ip_directed_broadcast disable
config ipif secure ip_directed_broadcast enable
config ipif servers ip_directed_broadcast enable
disable autoconfig

# SNMPv3

delete snmp community public
delete snmp community private
delete snmp user initial
delete snmp group initial
delete snmp view restricted all
delete snmp view CommunityView all
config snmp engineID 800000ab039094e4139a00
create snmp view restricted 1.3.6.1.2.1.1 view_type included
create snmp view restricted 1.3.6.1.2.1.11 view_type included
create snmp view restricted 1.3.6.1.6.3.10.2.1 view_type included
create snmp view restricted 1.3.6.1.6.3.11.2.1 view_type included
create snmp view restricted 1.3.6.1.6.3.15.1.1 view_type included
create snmp view CommunityView 1 view_type included
create snmp view CommunityView 1.3.6.1.6.3 view_type excluded
create snmp view CommunityView 1.3.6.1.6.3.1 view_type included
create snmp group public v1 read_view CommunityView notify_view CommunityView
create snmp group public v2c read_view CommunityView notify_view CommunityView
create snmp group initial v3 noauth_nopriv read_view restricted notify_view restricted
create snmp group private v1 read_view CommunityView write_view CommunityView notify_view CommunityView
create snmp group private v2c read_view CommunityView write_view CommunityView notify_view CommunityView
create snmp community private view CommunityView read_write
create snmp community public view CommunityView read_only
create snmp user initial initial
disable community_encryption
config snmp udp_port 161
config snmp trap_port ports 1-28 state enable

# ip_tunnel


# VOICEVLAN


# ERPS

disable erps
config erps log disable
config erps trap disable

# IGMP_PROXY

config igmp_proxy upstream_if vlan vlanid 1
config igmp_proxy upstream_if source_ip 0.0.0.0

# MLD_PROXY

config mld_proxy upstream_if vlan vlanid 1
config mld_proxy upstream_if source_ip ::

# UDP_HELPER

disable udp_helper

# CFM


# JWAC

config jwac switch_http_port 80
config jwac clear_quarantine_server_url
config jwac radius_protocol pap
disable jwac quarantine_server_monitor
config jwac quarantine_server_error_timeout 30
enable jwac forcible_logout
enable jwac udp_filtering
enable jwac redirect
config jwac redirect destination quarantine_server delay_time 1
disable jwac
config jwac authenticate_page english
config jwac authorization attributes radius enable
config jwac authorization attributes local enable
config jwac ports 1-28 max_authenticating_host 100 aging_time 1440 idle_time infinite block_time 60

# WAC

config wac switch_http_port 80
config wac method local
config wac authorization attributes local enable
config wac authorization attributes radius enable
disable wac
config wac authentication_page element login_window_title Authentication Login
config wac authentication_page element user_name_title User Name
config wac authentication_page element password_title Password
config wac authentication_page element logout_window_title Logout From The Network
config wac ports 1-28 aging_time 1440 idle_time infinite block_time 60

# LLDP

disable lldp
config lldp message_tx_interval 30
config lldp tx_delay 2
config lldp message_tx_hold_multiplier 4
config lldp reinit_delay 2
config lldp notification_interval 5
config lldp ports 1-28 notification disable
config lldp ports 1-28 admin_status tx_and_rx

# TELNETC


# TFTPC


# MAC-based_Access_Control

disable mac_based_access_control
config mac_based_access_control authorization attributes radius enable local enable
config mac_based_access_control ports 1-28 state disable
config mac_based_access_control ports 1 max_users 1024
config mac_based_access_control ports 1 aging_time 1440
config mac_based_access_control ports 1 block_time 300
config mac_based_access_control ports 2 max_users 1024
config mac_based_access_control ports 2 aging_time 1440
config mac_based_access_control ports 2 block_time 300
config mac_based_access_control ports 3 max_users 1024
config mac_based_access_control ports 3 aging_time 1440
config mac_based_access_control ports 3 block_time 300
config mac_based_access_control ports 4 max_users 1024
config mac_based_access_control ports 4 aging_time 1440
config mac_based_access_control ports 4 block_time 300
config mac_based_access_control ports 5 max_users 1024
config mac_based_access_control ports 5 aging_time 1440
config mac_based_access_control ports 5 block_time 300
config mac_based_access_control ports 6 max_users 1024
config mac_based_access_control ports 6 aging_time 1440
config mac_based_access_control ports 6 block_time 300
config mac_based_access_control ports 7 max_users 1024
config mac_based_access_control ports 7 aging_time 1440
config mac_based_access_control ports 7 block_time 300
config mac_based_access_control ports 8 max_users 1024
config mac_based_access_control ports 8 aging_time 1440
config mac_based_access_control ports 8 block_time 300
config mac_based_access_control ports 9 max_users 1024
config mac_based_access_control ports 9 aging_time 1440
config mac_based_access_control ports 9 block_time 300
config mac_based_access_control ports 10 max_users 1024
config mac_based_access_control ports 10 aging_time 1440
config mac_based_access_control ports 10 block_time 300
config mac_based_access_control ports 11 max_users 1024
config mac_based_access_control ports 11 aging_time 1440
config mac_based_access_control ports 11 block_time 300
config mac_based_access_control ports 12 max_users 1024
config mac_based_access_control ports 12 aging_time 1440
config mac_based_access_control ports 12 block_time 300
config mac_based_access_control ports 13 max_users 1024
config mac_based_access_control ports 13 aging_time 1440
config mac_based_access_control ports 13 block_time 300
config mac_based_access_control ports 14 max_users 1024
config mac_based_access_control ports 14 aging_time 1440
config mac_based_access_control ports 14 block_time 300
config mac_based_access_control ports 15 max_users 1024
config mac_based_access_control ports 15 aging_time 1440
config mac_based_access_control ports 15 block_time 300
config mac_based_access_control ports 16 max_users 1024
config mac_based_access_control ports 16 aging_time 1440
config mac_based_access_control ports 16 block_time 300
config mac_based_access_control ports 17 max_users 1024
config mac_based_access_control ports 17 aging_time 1440
config mac_based_access_control ports 17 block_time 300
config mac_based_access_control ports 18 max_users 1024
config mac_based_access_control ports 18 aging_time 1440
config mac_based_access_control ports 18 block_time 300
config mac_based_access_control ports 19 max_users 1024
config mac_based_access_control ports 19 aging_time 1440
config mac_based_access_control ports 19 block_time 300
config mac_based_access_control ports 20 max_users 1024
config mac_based_access_control ports 20 aging_time 1440
config mac_based_access_control ports 20 block_time 300
config mac_based_access_control ports 21 max_users 1024
config mac_based_access_control ports 21 aging_time 1440
config mac_based_access_control ports 21 block_time 300
config mac_based_access_control ports 22 max_users 1024
config mac_based_access_control ports 22 aging_time 1440
config mac_based_access_control ports 22 block_time 300
config mac_based_access_control ports 23 max_users 1024
config mac_based_access_control ports 23 aging_time 1440
config mac_based_access_control ports 23 block_time 300
config mac_based_access_control ports 24 max_users 1024
config mac_based_access_control ports 24 aging_time 1440
config mac_based_access_control ports 24 block_time 300
config mac_based_access_control ports 25 max_users 1024
config mac_based_access_control ports 25 aging_time 1440
config mac_based_access_control ports 25 block_time 300
config mac_based_access_control ports 26 max_users 1024
config mac_based_access_control ports 26 aging_time 1440
config mac_based_access_control ports 26 block_time 300
config mac_based_access_control ports 27 max_users 1024
config mac_based_access_control ports 27 aging_time 1440
config mac_based_access_control ports 27 block_time 300
config mac_based_access_control ports 28 max_users 1024
config mac_based_access_control ports 28 aging_time 1440
config mac_based_access_control ports 28 block_time 300
config mac_based_access_control method local
config mac_based_access_control password default
config mac_based_access_control password_type manual_string
config mac_based_access_control max_users no_limit
config mac_based_access_control trap state enable
config mac_based_access_control log state enable

# MCFILTER


# COMPOUND_AUTHENTICATION

config authentication ports 1-28 auth_mode host_based
config authentication ports 1-28 multi_authen_methods none
enable authorization attributes
config authentication server failover block
config authentication mac_format case uppercase
config authentication mac_format delimiter none
config authentication mac_format delimiter number 5

# LLDP-MED

config lldp_med fast_start repeat_count 4
config lldp_med log state disable
config lldp_med notification topo_change ports 1 state disable
config lldp_med notification topo_change ports 2 state disable
config lldp_med notification topo_change ports 3 state disable
config lldp_med notification topo_change ports 4 state disable
config lldp_med notification topo_change ports 5 state disable
config lldp_med notification topo_change ports 6 state disable
config lldp_med notification topo_change ports 7 state disable
config lldp_med notification topo_change ports 8 state disable
config lldp_med notification topo_change ports 9 state disable
config lldp_med notification topo_change ports 10 state disable
config lldp_med notification topo_change ports 11 state disable
config lldp_med notification topo_change ports 12 state disable
config lldp_med notification topo_change ports 13 state disable
config lldp_med notification topo_change ports 14 state disable
config lldp_med notification topo_change ports 15 state disable
config lldp_med notification topo_change ports 16 state disable
config lldp_med notification topo_change ports 17 state disable
config lldp_med notification topo_change ports 18 state disable
config lldp_med notification topo_change ports 19 state disable
config lldp_med notification topo_change ports 20 state disable
config lldp_med notification topo_change ports 21 state disable
config lldp_med notification topo_change ports 22 state disable
config lldp_med notification topo_change ports 23 state disable
config lldp_med notification topo_change ports 24 state disable
config lldp_med notification topo_change ports 25 state disable
config lldp_med notification topo_change ports 26 state disable
config lldp_med notification topo_change ports 27 state disable
config lldp_med notification topo_change ports 28 state disable

# IGMP_SNOOPING


# MLDSNP


# ACCESS_AUTHENTICATION_CONTROL

config authen_login default method local
config authen_enable default method local_enable
config accounting default method none
config authen application console login default
config authen application console enable default
config authen application telnet login default
config authen application telnet enable default
config authen application ssh login default
config authen application ssh enable default
config authen application http login default
config authen application http enable default
disable aaa_server_password_encryption
disable authen_policy
config authen parameter response_timeout 30
config authen parameter attempt 3
config admin local_enable



config accounting service network state disable
config accounting service shell state disable
config accounting service system state disable
config accounting service command administrator none
config accounting service command operator none
config accounting service command power_user none
config accounting service command user none
config radius source_ipif none
config tacacs source_ipif none

# DHCP_LOCAL_RELAY

enable dhcp_local_relay
config dhcp_local_relay vlan 500 state enable
config dhcp_local_relay vlan 501 state enable
config dhcp_local_relay vlan 502 state enable

# PTP

disable ptp
config ptp mode e2e_transparent
config ptp transport protocol udp
config ptp boundary priority1 128 priority2 128
config ptp clock domain_number 0 unit 1
config ptp ports 1-28 state disable
config ptp boundary ports 1-28 sync_interval 1
config ptp boundary ports 1-28 delay_mechanism e2e
config ptp boundary ports 1-28 announce interval 2 delay_req_interval 0 pdelay_req_interval 1
config ptp boundary ports 1-28 announce timeout 3
config ptp p2p_transparent ports 1-28 pdelay_req_interval 1

# AAA_LOCAL_ENABLE_PASSWORD

# AAA ADMIN PWD LIST
config admin local_enable



# AAA ADMIN PWD END

# RIPng

disable ripng
config ripng method split_horizon
config ripng update 30
config ripng expire 180
config ripng garbage_collection 120

# NDP

config ipv6 nd ns ipif System retrans_time 0
config ipv6 nd ra ipif System state disable life_time 1800 reachable_time 1200000 retrans_time 0 hop_limit 64 managed_flag disable other_config_flag disable min_rtr_adv_interval 198 max_rtr_adv_interval 600
config ipv6 nd ns ipif local retrans_time 0
config ipv6 nd ra ipif local state disable life_time 1800 reachable_time 1200000 retrans_time 0 hop_limit 64 managed_flag disable other_config_flag disable min_rtr_adv_interval 198 max_rtr_adv_interval 600
config ipv6 nd ns ipif secure retrans_time 0
config ipv6 nd ra ipif secure state disable life_time 1800 reachable_time 1200000 retrans_time 0 hop_limit 64 managed_flag disable other_config_flag disable min_rtr_adv_interval 198 max_rtr_adv_interval 600
config ipv6 nd ns ipif servers retrans_time 0
config ipv6 nd ra ipif servers state disable life_time 1800 reachable_time 1200000 retrans_time 0 hop_limit 64 managed_flag disable other_config_flag disable min_rtr_adv_interval 198 max_rtr_adv_interval 600

# ARP

config arp_aging time 20
config arp_retry times 4
config gratuitous_arp send ipif_status_up disable
config gratuitous_arp send dup_ip_detected disable
config gratuitous_arp learning disable

# ROUTEFILTER


# SNP_AUTH


# PROUTE


# ROUTE

config route preference static 60
config route preference rip 100
config route preference default 1
config route preference ospfIntra 80
config route preference ospfInter 90
config route preference ospfExt1 110
config route preference ospfExt2 115
config route preference ebgp 70
config route preference ibgp 130
config ecmp algorithm ip_destination crc_low
enable ecmp ospf

# RELAY6

config dhcpv6_relay hop_count 4
disable dhcpv6_relay
config dhcpv6_relay option_37 state disable check disable
config dhcpv6_relay option_37 remote_id default
config dhcpv6_relay ipif servers state enable
config dhcpv6_relay ipif System state enable
config dhcpv6_relay ipif secure state enable
config dhcpv6_relay ipif local state enable

# DHCPv6_SERVER

disable dhcpv6_server
config dhcpv6_server ipif servers state enable
config dhcpv6_server ipif System state enable
config dhcpv6_server ipif secure state enable
config dhcpv6_server ipif local state enable

# IGMP

config igmp ipif System version 3 query_interval 125 max_response_time 10 robustness_variable 2 state disable
config igmp ipif System last_member_query_interval 1
config igmp check_subscriber_source_network ipif System enable
config igmp ipif local version 3 query_interval 125 max_response_time 10 robustness_variable 2 state disable
config igmp ipif local last_member_query_interval 1
config igmp check_subscriber_source_network ipif local enable
config igmp ipif secure version 3 query_interval 125 max_response_time 10 robustness_variable 2 state disable
config igmp ipif secure last_member_query_interval 1
config igmp check_subscriber_source_network ipif secure enable
config igmp ipif servers version 3 query_interval 125 max_response_time 10 robustness_variable 2 state disable
config igmp ipif servers last_member_query_interval 1
config igmp check_subscriber_source_network ipif servers enable

# PIMSM

disable pim
config pim cbsr hash_masklen 30
config pim cbsr bootstrap_period 60
config pim register_suppression_time 60
config pim register_probe_time 5
config pim last_hop_spt_switchover never
config pim crp holdtime 150 priority 192
config pim crp wildcard_prefix_cnt 0
config pim-ssm state disable group_range 232.0.0.0/8

# DVMRP

disable dvmrp
config dvmrp ipif System metric 1 probe 10 neighbor_timeout 35 state disable
config dvmrp ipif local metric 1 probe 10 neighbor_timeout 35 state disable
config dvmrp ipif secure metric 1 probe 10 neighbor_timeout 35 state disable
config dvmrp ipif servers metric 1 probe 10 neighbor_timeout 35 state disable

# IPMROUTE


# RIP

disable rip
config rip timers update 30 timeout 180 garbage_collection 120
config rip ipif System tx_mode disable state disable
config rip ipif System rx_mode disable state disable
config rip ipif System distribute_list_in none
config rip ipif local tx_mode disable state disable
config rip ipif local rx_mode disable state disable
config rip ipif local distribute_list_in none
config rip ipif secure tx_mode disable state disable
config rip ipif secure rx_mode disable state disable
config rip ipif secure distribute_list_in none
config rip ipif servers tx_mode disable state disable
config rip ipif servers rx_mode disable state disable
config rip ipif servers distribute_list_in none

# MD5


# OSPF

config ospf ipif servers area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif servers authentication none metric 1 state disable passive disable
config ospf ipif servers distribute_list_in none
config ospf ipif System area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif System authentication none metric 1 state disable passive disable
config ospf ipif System distribute_list_in none
config ospf ipif secure area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif secure authentication none metric 1 state disable passive disable
config ospf ipif secure distribute_list_in none
config ospf ipif local area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif local authentication none metric 1 state disable passive disable
config ospf ipif local distribute_list_in none
config ospf default-information originate none mettype 2 metric 10
config ospf router_id 0.0.0.0
disable ospf

# BGP


# OSPFv3

config ospfv3 router_id 0.0.0.0
disable ospfv3

# DNSR

disable dnsr
config dnsr primary nameserver 0.0.0.0
config dnsr secondary nameserver 0.0.0.0
disable dnsr cache
disable dnsr static

# MLD

config mld ipif System query_interval 125 max_response_time 10 robustness_variable 2 last_listener_query_interval 1 version 2 state disable
config mld ipif local query_interval 125 max_response_time 10 robustness_variable 2 last_listener_query_interval 1 version 2 state disable
config mld ipif secure query_interval 125 max_response_time 10 robustness_variable 2 last_listener_query_interval 1 version 2 state disable
config mld ipif servers query_interval 125 max_response_time 10 robustness_variable 2 last_listener_query_interval 1 version 2 state disable

# PIM6

config pim6 cbsr priority 64 hash_masklen 126
config pim6 ipif System hello_interval 30 triggered_hello_delay 5 propagation_delay 1 override_interval 3 jp_interval 60 dr_priority 1 bsr_border disable stub_interface disable state disable
config pim6 ipif local hello_interval 30 triggered_hello_delay 5 propagation_delay 1 override_interval 3 jp_interval 60 dr_priority 1 bsr_border disable stub_interface disable state disable
config pim6 ipif secure hello_interval 30 triggered_hello_delay 5 propagation_delay 1 override_interval 3 jp_interval 60 dr_priority 1 bsr_border disable stub_interface disable state disable
config pim6 ipif servers hello_interval 30 triggered_hello_delay 5 propagation_delay 1 override_interval 3 jp_interval 60 dr_priority 1 bsr_border disable stub_interface disable state disable
config pim6 embedded_rp state disable
config pim6 last_hop_spt_switchover never
config pim6 register_checksum_calculate not_include_data
config pim6 register_probe_time 5
config pim6 register_suppression_time 60
config pim6 keepalive_period 210
disable pim6

# 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 replace
config dhcp_relay option_82 remote_id user_define 90-94-E4-13-9A-00
config dhcp_relay option_60 state disable
config dhcp_relay option_61 state disable
config dhcp_relay add ipif servers 192.168.218.11
config dhcp_relay option_60 default mode drop
config dhcp_relay option_61 default drop
config dhcp_relay ports 1-28 state enable

# DHCP_SERVER

config dhcp ping_packets 2
config dhcp ping_timeout 100
disable dhcp_server

# VRRP

config vrrp ipif System authtype none
config vrrp ipif local authtype none
config vrrp ipif secure authtype none
config vrrp ipif servers authtype none
disable vrrp

disable vrrp ping


#-------------------------------------------------------------------
# End of configuration file for DGS-3620-28TC
#-------------------------------------------------------------------


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DGS-3620-28TC DHCP relay option 82
СообщениеДобавлено: Чт окт 10, 2013 12:48 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Вт янв 18, 2011 13:29
Сообщений: 8999
Вам следует добавить все vlan, с которых необходимо релеить пакеты, в настройки dhcp relay


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DGS-3620-28TC DHCP relay option 82
СообщениеДобавлено: Чт окт 10, 2013 15:03 
Не в сети

Зарегистрирован: Ср май 23, 2012 09:04
Сообщений: 7
enable dhcp_local_relay
config dhcp_local_relay vlan 500 state enable
config dhcp_local_relay vlan 501 state enable
config dhcp_local_relay vlan 502 state enable

Все необходимые влан включены.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DGS-3620-28TC DHCP relay option 82
СообщениеДобавлено: Пт окт 11, 2013 08:23 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Вт янв 18, 2011 13:29
Сообщений: 8999
Одновременно включать dhcp_local_relay и dhcp_relay нельзя - работать не будет.
Вам следует отключить dhcp_local_relay и добавить vlan в настройки dhcp_relay:
config dhcp_relay add vlanid <vlan_id_list> 192.168.218.11


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DGS-3620-28TC DHCP relay option 82
СообщениеДобавлено: Пт окт 11, 2013 11:31 
Не в сети

Зарегистрирован: Ср май 23, 2012 09:04
Сообщений: 7
Нет возможности ввести данную команду. Вот что выдаёт свитч:
Код:
DGS-3620-28TC:admin#config dhcp_relay add
Command: config dhcp_relay add
Next possible completions:
ipif


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DGS-3620-28TC DHCP relay option 82
СообщениеДобавлено: Пт окт 11, 2013 13:18 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Ср май 10, 2006 16:40
Сообщений: 12251
Откуда: D-Link, Moscow
Давайте определимся что Вам надо.
1. Вам нужно вставлять опцию82 во все проходящие DHCP запросы внутри одного вилана.
2. Вам нужно перенаправлять DHCP запросы из пользовательского вилана в какой-то другой.

В первом случае Вам нужен dhcp_local_relay, во втором dhcp_relay.
Так как DGS-3620 это коммутатор 3-го уровня, то релей у него работает на уровне интерфейсов, другими словами, в пользовательском вилане должен быть создан ipif и вот на этоipif и надо включать dhcp_relay

Код:
config dhcp_relay add ipif <user-interface> 192.168.218.11


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DGS-3620-28TC DHCP relay option 82
СообщениеДобавлено: Пт окт 11, 2013 14:34 
Не в сети

Зарегистрирован: Ср май 23, 2012 09:04
Сообщений: 7
Мне нужно перенаправлять DHCP запросы из пользовательского вилана в какой-то другой.
На данный момент настройки релея такие:

Код:
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 replace
config dhcp_relay option_82 remote_id user_define 90-94-E4-13-9A-00
config dhcp_relay add ipif servers 192.168.218.11
config dhcp_relay ports 1-28 state enable


Код:
disable dhcp_local_relay


созданы вланы
Код:
create vlan 500 tag 500
config vlan 500 add untagged 20 advertisement disable
create vlan 501 tag 501
config vlan 501 add untagged 19 advertisement disable
create vlan 502 tag 502
config vlan 502 add untagged 18 advertisement disable

интеррфейсы к вланам
Код:
create ipif local 192.168.218.129/25 501 state enable
create ipif secure 192.168.218.65/26 502 state enable
create ipif servers 192.168.218.1/27 500 state enable

В 500 влане DHCP сервер с адресом 192.168.218.11. Скопы соответвующие 501-502 влан созданы на DHCP сервере.
Желаемый результат: настроить релей из 501, 502 VLAN на адрес 192.168.218.11 и соответственно получать адреса для каждого влан из соответствующего скопа DHCP сервера.
На данный момент при такой конфигурации получить адреса в 501-502 влане не получается.
Alexandr Zaitsev писал(а):
Давайте определимся что Вам надо.
В первом случае Вам нужен dhcp_local_relay, во втором dhcp_relay.
Так как DGS-3620 это коммутатор 3-го уровня, то релей у него работает на уровне интерфейсов, другими словами, в пользовательском вилане должен быть создан ipif и вот на этоipif и надо включать dhcp_relay
Код:
config dhcp_relay add ipif <user-interface> 192.168.218.11

Я правильно понял, нужно прописать следующее?
config dhcp_relay add ipif secure192.168.218.11
config dhcp_relay add ipif local 192.168.218.11


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DGS-3620-28TC DHCP relay option 82
СообщениеДобавлено: Пт окт 11, 2013 15:04 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Вт янв 18, 2011 13:29
Сообщений: 8999
ruevgo писал(а):
Я правильно понял, нужно прописать следующее?
config dhcp_relay add ipif secure192.168.218.11
config dhcp_relay add ipif local 192.168.218.11


При такой постановке задачи - да


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DGS-3620-28TC DHCP relay option 82
СообщениеДобавлено: Пт окт 11, 2013 16:34 
Не в сети

Зарегистрирован: Ср май 23, 2012 09:04
Сообщений: 7
Спасибо за помощь. Вопрос решён.


Вернуться наверх
 Профиль  
 
Показать сообщения за:  Сортировать по:  
Начать новую тему Ответить на тему  [ Сообщений: 9 ] 

Часовой пояс: UTC + 3 часа


Кто сейчас на форуме

Сейчас этот форум просматривают: Google [Bot] и гости: 51


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
Создано на основе phpBB® Forum Software © phpBB Group
Русская поддержка phpBB