приобрёл я 3852, сделал стенд.
пытаюсь настроить, создал виланы для разных сегментов, повесил туда айпишники, подключаю кмопьютеры в разные виланы - всё пингуется, но пытаюсь настроить dhcp_relay и не получается.
dhcp сервер с адресом 172.16.0.3 находится в default vlan, с адресами 172.16.0.x, подключен в 50 порт, тестовый компьютер втыкаю в 18 порт, который находится в vlan 1605, с адресами 172.16.5.х, адрес не получает, смотрю tcpdump на дхцп сервере - вообще никаких пакетов. что я делаю не так?
вот конфиг, повторяющиеся строки, только для разных виланов я удалил, чтобы меньше загромождать и названия интерфейсов такие же как id у вилана:
Код:
DES-3800:admin#show config current_config
Command: show config current_config
#-------------------------------------------------------------------
# DES-3852 Configuration
#
# Firmware: Build 3.00.B57
# Copyright(C) 2004-2005 D-Link Corporation. All rights reserved.
#-------------------------------------------------------------------
# DOUBLE_VLAN
disable double_vlan
# BASIC
config serial_port baud_rate 9600 auto_logout 10_minutes
enable telnet 23
enable web 80
# STORM
config traffic control_trap none
config traffic control 1-52 broadcast disable action drop threshold 128000 time_interval 5 countdown 0
config traffic control 1-52 multicast disable action drop threshold 128000 time_interval 5 countdown 0
config traffic control 1-52 dlf disable threshold 128000
# GM
config sim candidate
disable sim
config sim dp_interval 30
config sim hold_time 100
# SYSLOG
disable syslog
config system_severity trap information
config system_severity log information
# MIRROR
disable mirror
config mirror port 1
# QOS
config scheduling_mechanism strict
config scheduling 0 max_packet 1
config scheduling 1 max_packet 2
config scheduling 2 max_packet 3
config scheduling 3 max_packet 4
config scheduling 4 max_packet 5
config scheduling 5 max_packet 6
config scheduling 6 max_packet 7
config scheduling 7 max_packet 8
config 802.1p user_priority 0 2
config 802.1p user_priority 1 0
config 802.1p user_priority 2 1
config 802.1p user_priority 3 3
config 802.1p user_priority 4 4
config 802.1p user_priority 5 5
config 802.1p user_priority 6 6
config 802.1p user_priority 7 7
disable wred
config 802.1p default_priority 1-52 0
config bandwidth_control 1-52 rx_rate no_limit tx_rate no_limit
config wred ports 1-52 average_time 100
config wred ports 1-52 class_id 0 drop_start 50 drop_slope 45
config wred ports 1-52 class_id 1 drop_start 50 drop_slope 45
config wred ports 1-52 class_id 2 drop_start 50 drop_slope 45
config wred ports 1-52 class_id 3 drop_start 50 drop_slope 45
config wred ports 1-52 class_id 4 drop_start 50 drop_slope 45
config wred ports 1-52 class_id 5 drop_start 50 drop_slope 45
config wred ports 1-52 class_id 6 drop_start 50 drop_slope 45
config wred ports 1-52 class_id 7 drop_start 50 drop_slope 45
# TRAF-SEGMENTATION
config traffic_segmentation 1-52 forward_list 1-52
# PORT
disable jumbo_frame
config ports 1-52 speed auto flow_control disable learning enable state enable
# PORT_LOCK
disable port_security trap_log
config port_security ports 1-52 admin_state disable max_learning_addr 1 lock_address_mode DeleteOnReset
# PORT_LOCK_PERMANENT
# 8021X
disable 802.1x
config 802.1x capability ports 1-52 none
config 802.1x auth_parameter ports 1-52 direction both port_control auto quiet_period 60 tx_period 3
0 supp_timeout 30 server_timeout 30 max_req 2 reauth_period 3600 enable_reauth disable
# 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 800000ab0300195bf0b2c0
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 group ReadGroup v1 read_view CommunityView notify_view CommunityView
create snmp group ReadGroup v2c read_view CommunityView notify_view CommunityView
create snmp group WriteGroup v1 read_view CommunityView write_view CommunityView notify_view CommunityView
create snmp group WriteGroup 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
# MANAGEMENT
enable snmp
enable snmp traps
enable snmp authenticate traps
config snmp system_name head
config snmp system_location servernaya
disable rmon
# VLAN
config vlan default delete 1-52
config vlan default add tagged 50
config vlan default add untagged 49,52
config vlan default advertisement enable
create vlan 1segment tag 1601
config vlan 1segment add untagged 51
config vlan 1segment advertisement disable
create vlan 2segment tag 1602
config vlan 2segment add untagged 1-4
config vlan 2segment advertisement disable
create vlan 3segment tag 1603
config vlan 3segment add untagged 5-10
config vlan 3segment advertisement disable
create vlan 4segment tag 1604
config vlan 4segment add untagged 11-16
config vlan 4segment advertisement disable
create vlan 5segment tag 1605
config vlan 5segment add untagged 17-20
config vlan 5segment advertisement disable
create vlan 6segment tag 1606
config vlan 6segment add untagged 21-28
config vlan 6segment advertisement disable
create vlan 7segment tag 1607
config vlan 7segment add untagged 29-32
config vlan 7segment advertisement disable
create vlan 8segment tag 1608
config vlan 8segment add untagged 33-36
config vlan 8segment advertisement disable
create vlan 9segment tag 1609
config vlan 9segment add untagged 37-38
config vlan 9segment advertisement disable
create vlan 10segment tag 1610
config vlan 10segment add untagged 39-42
config vlan 10segment advertisement disable
create vlan 11segment tag 1611
config vlan 11segment add untagged 43-46
config vlan 11segment advertisement disable
create vlan 12segment tag 1612
config vlan 12segment add untagged 47-48
config vlan 12segment advertisement disable
disable gvrp
config gvrp 1-4 state disable ingress_checking enable acceptable_frame admit_all pvid 1602
config gvrp 5-10 state disable ingress_checking enable acceptable_frame admit_all pvid 1603
config gvrp 11-16 state disable ingress_checking enable acceptable_frame admit_all pvid 1604
config gvrp 17-20 state disable ingress_checking enable acceptable_frame admit_all pvid 1605
config gvrp 21-28 state disable ingress_checking enable acceptable_frame admit_all pvid 1606
config gvrp 29-32 state disable ingress_checking enable acceptable_frame admit_all pvid 1607
config gvrp 33-36 state disable ingress_checking enable acceptable_frame admit_all pvid 1608
config gvrp 37-38 state disable ingress_checking enable acceptable_frame admit_all pvid 1609
config gvrp 39-42 state disable ingress_checking enable acceptable_frame admit_all pvid 1610
config gvrp 43-46 state disable ingress_checking enable acceptable_frame admit_all pvid 1611
config gvrp 47-48 state disable ingress_checking enable acceptable_frame admit_all pvid 1612
config gvrp 49-50,52 state disable ingress_checking enable acceptable_frame admit_all pvid 1
config gvrp 51 state disable ingress_checking enable acceptable_frame admit_all pvid 1601
# FDB
config fdb aging_time 300
# MAC_ADDRESS_TABLE_NOTIFICATION
config mac_notification interval 1 historysize 1
disable mac_notification
config mac_notification ports 1-52 disable
# STP
config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 3 fbpdu enable
config stp version rstp
config stp priority 32768 instance_id 0
config stp hellotime 2
config stp lbd enable
config stp lbd_recover_timer 60
config stp mst_config_id name 00:19:5B:F0:B2:C0 revision_level 0
disable stp
config stp ports 1-52 externalCost auto edge false p2p auto state enable
config stp ports 1-52 lbd disable
config stp mst_ports 1-52 instance_id 0 internalCost auto priority 128
config stp ports 1-52 fbpdu disable
# SSH
config ssh server maxsession 8
config ssh server contimeout 300
config ssh server authfail 2
config ssh server rekey never
disable ssh
# 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 timeout 600
# SAFE_GUARD
config safeguard_engine state disable cpu_utilization rising_threshold 100 falling_threshold 20 trap
_log disable
# ACL
disable cpu_interface_filtering
# SNTP
disable sntp
config time_zone operator - hour 6 min 0
config sntp primary 0.0.0.0 secondary 0.0.0.0 poll-interval 720
config dst disable
# IPBIND
disable address_binding acl_mode
disable address_binding trap_log
# LACP
config link_aggregation algorithm ip_source
config lacp_port 1-52 mode passive
# SNOOP
disable igmp_snooping
config igmp_snooping querier default query_interval 125 max_response_time 10 robustness_variable 2 last_member_query_interval 1 state disable
config igmp_snooping default host_timeout 260 router_timeout 260 leave_timer 2 state disable fast_leave disable
config igmp_snooping querier 1segment query_interval 125 max_response_time 10 robustness_variable 2 last_member_query_interval 1 state disable
config igmp_snooping 1segment host_timeout 260 router_timeout 260 leave_timer 2 state disable fast_leave disable
...
config igmp_snooping querier 12segment query_interval 125 max_response_time 10 robustness_variable 2 last_member_query_interval 1 state disable
config igmp_snooping 12segment host_timeout 260 router_timeout 260 leave_timer 2 state disable fast_leave disable
# IP
config ipif System vlan default ipaddress 172.16.0.253/24 state enable proxy_arp disable
create ipif 1601 172.16.1.254/24 1segment state enable proxy_arp disable
...
create ipif 1612 172.16.12.254/24 12segment state enable proxy_arp disable
disable autoconfig
# ARP
config arp_aging time 40
# ACCESS_AUTHENTICATION_CONTROL
config authen_login default method local
config authen_enable default method local_enable
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
config authen parameter response_timeout 30
config authen parameter attempt 3
disable authen_policy
config accounting type exec state disable
config accounting type system state disable
# 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 add ipif System 172.16.0.3
# ROUTE
config route preference static 60
config route preference rip 100
config route preference ospfIntra 80
config route preference ospfInter 90
config route preference ospfExt1 110
config route preference ospfExt2 115
create iproute default 172.16.0.1 1
# 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 ipif 1601 version 3 query_interval 125 max_response_time 10 robustness_variable 2 state disable
config igmp ipif 1601 last_member_query_interval 1
...
config igmp ipif 1612 version 3 query_interval 125 max_response_time 10 robustness_variable 2 state disable
config igmp ipif 1612 last_member_query_interval 1
# WAC
config wac method radius
disable wac
# GVLAN
# MBA
disable mac_based_access_control
config mac_based_access_control ports 1-52 state disable
config mac_based_access_control method local
config mac_based_access_control password default
# PIMSM
disable pim
config pim cbsr hash_masklen 30
config pim cbsr bootstrap_period 60
config pim register_probe_time 5
config pim register_suppression_time 60
config pim last_hop_spt_threshold 0
config pim rp_spt_threshold 0
config pim crp holdtime 150 priority 192
config pim crp wildcard_prefix_cnt 0
config pim ipif System state disable hello 30 jp_interval 60 mode dm dr_priority 1
config pim cbsr ipif System priority -1
config pim ipif 1601 state disable hello 30 jp_interval 60 mode dm dr_priority 1
config pim cbsr ipif 1601 priority -1
...
config pim ipif 1612 state disable hello 30 jp_interval 60 mode dm dr_priority 1
config pim cbsr ipif 1612 priority -1
create pim register_checksum_include_data rp_address 0.0.0.0
# DVMRP
disable dvmrp
config dvmrp ipif System metric 1 probe 10 neighbor_timeout 35 state disable
config dvmrp ipif 1601 metric 1 probe 10 neighbor_timeout 35 state disable
...
config dvmrp ipif 1612 metric 1 probe 10 neighbor_timeout 35 state disable
# RIP
config rip ipif System authentication disable tx_mode v2_only rx_mode v1_or_v2 state disable
config rip ipif 1601 authentication disable tx_mode v2_only rx_mode v1_or_v2 state disable
...
config rip ipif 1612 authentication disable tx_mode v2_only rx_mode v1_or_v2 state disable
disable rip
# MD5
# OSPF
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 active
config ospf ipif 1601 area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif 1601 authentication none metric 1 state disable active
...
config ospf ipif 1612 area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif 1612 authentication none metric 1 state disable active
config ospf router_id 0.0.0.0
disable ospf
# 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
# VRRP
config vrrp ipif System authtype none
config vrrp ipif 1601 authtype none
...
config vrrp ipif 1612 authtype none
disable vrrp
disable vrrp ping
#-------------------------------------------------------------------
# End of configuration file for DES-3852
#-------------------------------------------------------------------
DES-3800:admin#