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

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




Начать новую тему Ответить на тему  [ Сообщений: 42 ]  На страницу Пред.  1, 2, 3  След.
Автор Сообщение
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Чт янв 20, 2011 23:41 
Не в сети

Зарегистрирован: Ср июл 13, 2005 04:21
Сообщений: 259
Откуда: Лен область
глобально везде и включено...

есть несколько профилей
типа
61 дом пул 10.61.255.1-254 маска 255.0.0.0
73 дом пул 10.73.255.1-254 маска 255.0.0.0

и тд
заведена одна привязка 00040001002d0006001e58992f04 = 10.0.0.3 и привязан к профилю 61 дом

дык вот, когда привязки нет клиент получает динамику - 10.61.255.1
когда привязываю, то получается такая картина:
IP-MAC Binding DHCP Snooping Table
IP Address MAC Address Lease Time Port Status
10.0.0.3 00:24:1d:cc:9a:74 45 45 Active
10.73.255.1 00:24:1d:cc:9a:74 46 45 Active

с чего бы вдруг?
блин толком не могу заставить ее нормально работать....

может мне кто нить напишет за денежку простейший dhcp?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Чт янв 20, 2011 23:45 
Не в сети

Зарегистрирован: Ср июл 13, 2005 04:21
Сообщений: 259
Откуда: Лен область
мак адрес 1 коммутатора 61 дом - 00:1e:58:99:2f:04
мак адрес 2 коммутатора 73 дом - 00:1e:58:a9:14:ca

может он путаться от совпадения первых трех окетов?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Пт янв 21, 2011 08:48 
Не в сети

Зарегистрирован: Ср ноя 09, 2005 14:26
Сообщений: 808
Откуда: Alma-Ata
kazakru писал(а):

может мне кто нить напишет за денежку простейший dhcp?


дык все уже давно написано!

если вам не критично использовать именно этот ваш, возьмите ISC DHCP Server (http://www.isc.org/software/dhcp) - он есть в любом *nix-дистрибуте (а для win32 вроде как в cygwin-е был). Просто по нему есть миллион документации, в том числе и по работе с 82-й опцией. Кстати, на форуме тоже предметно (с рабочими конфигами) обсуждалось конфигурирование этого ДХЦП-сервера как раз для 82-й опции.

_________________
не важно, из какого места растут золотые руки


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Сб янв 22, 2011 02:08 
Не в сети

Зарегистрирован: Ср июл 13, 2005 04:21
Сообщений: 259
Откуда: Лен область
все же хочу добить этот сервер.. деньги однако за него доплачены...

добился что бы получал ip из нужного профиля только включением DHCP/BOOTP Local Relay Operation State

у меня стоит 3550 от него по гигабитным портам в две стороны идут гирляндой несколько 3526 от них расходятся другие 3526
в 3550 на одном из портов висит шлюз вместе с dhcp
подскажите как точно настроить все коммутаторы что бы стабильно работала option 82
может необходимо на аплинках что то выключить или включить, где должен быть Local Relay, а где Relay Global...
очень сложно эксперементировать находясь за 100 км от хозяйства и управляя им через радмин...


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Сб янв 22, 2011 03:47 
Не в сети

Зарегистрирован: Вт июн 17, 2008 18:59
Сообщений: 1203
Откуда: Минск, Беларусь
dhcp_local_relay нужно включать только глобально - не настраивая в виланах. тогда свитчи не будут получать/перехватывать "чужие" пакеты, и dhcp_relay сможет корректно отработать в вашей конфигурации

_________________
Это текст, который можно добавлять к размещаемым вами сообщениям. Длина его ограничена 255 символами.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Сб янв 22, 2011 18:15 
Не в сети

Зарегистрирован: Ср июл 13, 2005 04:21
Сообщений: 259
Откуда: Лен область
прописано!
Что нужнопрописать в Default Gateway ? на каждом коммутаторе -
ip сервера (шлюз) или
ip коммутатора ( себя ) или
ip коммутатора ( в который воткнут шлюз с dhcp сервером) ?
этот параметр может влиять на мою проблему? если нет тогда зачем он нем упомянуто в примере?

ну я серьезно, даже снифером видно что со всех остальных коммутаторов прилетает option 82 с номером входящего порта (аплинка)
хотя видно что чо клиент другой.. хз как обьяснить

посмотрите на коммутаторе все как нужно или может там какая то фишка прописана и меня из-за этого плющит уже вторую неделю...


Скрытый текст: показать
#-------------------------------------------------------------------
# DES-3526 Configuration
#
# Firmware: Build 6.00.B49
# Copyright(C) 2008 D-Link Corporation. All rights reserved.
#-------------------------------------------------------------------


# BASIC

config serial_port baud_rate 9600 auto_logout 10_minutes
enable telnet 23
enable web 80
config terminal_line default
enable clipaging
debug error_log auto_reboot enabled

# ACCOUNT LIST


# PASSWORD ENCRYPTION

disable password encryption

# BNR

config command_prompt default

# STORM

config traffic control_trap none
config traffic control 1-5 broadcast disable multicast disable unicast disable action drop threshold 128000

# LOOP_DETECT

disable loopdetect
config loopdetect recover_timer 60
config loopdetect interval 10
config loopdetect mode port-based
config loopdetect ports 1-26 state disabled

# GM

config sim candidate
enable sim
config sim dp_interval 30
config sim hold_time 100

# SYSLOG

disable syslog
config system_severity trap information
config system_severity log information

# QOS

config scheduling 0 max_packet 0 max_latency 0
config scheduling 1 max_packet 0 max_latency 0
config scheduling 2 max_packet 0 max_latency 0
config scheduling 3 max_packet 0 max_latency 0
config 802.1p user_priority 0 1
config 802.1p user_priority 1 0
config 802.1p user_priority 2 0
config 802.1p user_priority 3 1
config 802.1p user_priority 4 2
config 802.1p user_priority 5 2
config 802.1p user_priority 6 3
config 802.1p user_priority 7 3
config 802.1p default_priority 1-26 0
config bandwidth_control 1-26 rx_rate no_limit tx_rate no_limit

# MIRROR

disable mirror

# TRAF-SEGMENTATION

config traffic_segmentation 1-26 forward_list 1-26

# PORT

config ports 1 speed auto flow_control disable mdix auto learning enable state enable description "Nosov Maksim 26-37b" trap enable
config ports 2,4,11-24 speed auto flow_control disable mdix auto learning enable state enable trap enable
config ports 3 speed auto flow_control disable mdix auto learning enable state enable description "Volik Evgenii 26-67b" trap enable
config ports 5 speed auto flow_control disable mdix auto learning enable state enable description "Nazmeev Ayzar 26-75a" trap enable
config ports 6 speed auto flow_control disable mdix auto learning enable state enable description "dorohin Alex 26-37a" trap enable
config ports 7 speed auto flow_control disable mdix auto learning enable state enable description "Petrov Alexey 26-61" trap enable
config ports 8 speed auto flow_control disable mdix auto learning enable state enable description "Shevchenko Alexandr 26-43b" trap enable
config ports 9 speed auto flow_control disable mdix auto learning enable state enable description "Nekrasov Alexandr 26-39a" trap enable
config ports 10 speed auto flow_control disable mdix auto learning enable state enable description "Mixaylov Viktor 26-44" trap enable
config ports 25 medium_type copper speed auto flow_control disable mdix auto learning enable state enable description "vxod s 61 doma" trap enable
config ports 25 medium_type fiber speed auto flow_control disable learning enable state enable description "vxod s 61 doma" trap enable
config ports 26 medium_type copper speed auto flow_control disable mdix auto learning enable state enable trap enable
config ports 26 medium_type fiber speed auto flow_control disable learning enable state enable trap enable

# PORT_LOCK

disable port_security trap_log
config port_security ports 1-26 admin_state disable max_learning_addr 1 lock_address_mode DeleteOnReset

# 8021X

disable 802.1x
config 802.1x auth_protocol radius_eap
config 802.1x capability ports 1-26 none
config 802.1x auth_parameter ports 1-26 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

# 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 800000ab030011958a7363
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
create snmp host 10.0.0.1 v2c private

# MANAGEMENT

enable snmp traps
enable snmp authenticate traps
config snmp system_name 26-1
config snmp system_location 26-1
config snmp system_contact 26-1
disable rmon

# VLAN

disable asymmetric_vlan
config vlan default delete 1-26
config vlan default add untagged 1-26
config vlan default advertisement enable
disable gvrp
config gvrp 1-26 state disable ingress_checking enable acceptable_frame admit_all pvid 1

# FDB

config fdb aging_time 1000000
config multicast port_filtering_mode 1-24 filter_unregistered_groups
config multicast port_filtering_mode 25-26 forward_unregistered_groups

# MAC_ADDRESS_TABLE_NOTIFICATION

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

# STP

config stp version rstp
config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 3 fbpdu enable
config stp priority 32768 instance_id 0
config stp hellotime 2
config stp mst_config_id name 00:15:E9:40:9C:31 revision_level 0
disable stp
config stp ports 1-26 externalCost auto edge false p2p auto state enable
config stp ports 1-26 fbpdu disable
config stp ports 1-26 restricted_role false
config stp ports 1-26 restricted_tcn false
config stp mst_ports 1-26 instance_id 0 internalCost auto priority 128

# SSH

config ssh server maxsession 8
config ssh server contimeout 300
config ssh server authfail 2
config ssh server rekey never
config ssh server port 22
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

# TIMERANGE


# security_ACL

create access_profile ip destination_ip_mask 255.255.255.255 profile_id 10
config access_profile profile_id 10 add access_id 1 ip destination_ip 10.0.0.1 port 1 permit
config access_profile profile_id 10 add access_id 2 ip destination_ip 10.0.0.1 port 2 permit
config access_profile profile_id 10 add access_id 3 ip destination_ip 10.0.0.1 port 3 permit
config access_profile profile_id 10 add access_id 4 ip destination_ip 10.0.0.1 port 4 permit
config access_profile profile_id 10 add access_id 5 ip destination_ip 10.0.0.1 port 5 permit
config access_profile profile_id 10 add access_id 6 ip destination_ip 10.0.0.1 port 6 permit
config access_profile profile_id 10 add access_id 7 ip destination_ip 10.0.0.1 port 7 permit
config access_profile profile_id 10 add access_id 8 ip destination_ip 10.0.0.1 port 8 permit
config access_profile profile_id 10 add access_id 9 ip destination_ip 10.0.0.1 port 9 permit
config access_profile profile_id 10 add access_id 10 ip destination_ip 10.0.0.1 port 10 permit
config access_profile profile_id 10 add access_id 11 ip destination_ip 10.0.0.1 port 11 permit
config access_profile profile_id 10 add access_id 12 ip destination_ip 10.0.0.1 port 12 permit
config access_profile profile_id 10 add access_id 13 ip destination_ip 10.0.0.1 port 13 permit
config access_profile profile_id 10 add access_id 14 ip destination_ip 10.0.0.1 port 14 permit
config access_profile profile_id 10 add access_id 15 ip destination_ip 10.0.0.1 port 15 permit
config access_profile profile_id 10 add access_id 16 ip destination_ip 10.0.0.1 port 16 permit
config access_profile profile_id 10 add access_id 17 ip destination_ip 10.0.0.1 port 17 permit
config access_profile profile_id 10 add access_id 18 ip destination_ip 10.0.0.1 port 18 permit
config access_profile profile_id 10 add access_id 19 ip destination_ip 10.0.0.1 port 19 permit
config access_profile profile_id 10 add access_id 20 ip destination_ip 10.0.0.1 port 20 permit
config access_profile profile_id 10 add access_id 21 ip destination_ip 10.0.0.1 port 21 permit
config access_profile profile_id 10 add access_id 22 ip destination_ip 10.0.0.1 port 22 permit
config access_profile profile_id 10 add access_id 23 ip destination_ip 10.0.0.1 port 23 permit
config access_profile profile_id 10 add access_id 24 ip destination_ip 10.0.0.1 port 24 permit

create access_profile ip destination_ip_mask 0.0.0.0 profile_id 20
config access_profile profile_id 20 add access_id 1 ip destination_ip 0.0.0.0 port 1 deny
config access_profile profile_id 20 add access_id 5 ip destination_ip 0.0.0.0 port 5 deny
config access_profile profile_id 20 add access_id 6 ip destination_ip 0.0.0.0 port 6 deny
config access_profile profile_id 20 add access_id 7 ip destination_ip 0.0.0.0 port 7 deny
config access_profile profile_id 20 add access_id 9 ip destination_ip 0.0.0.0 port 9 deny
config access_profile profile_id 20 add access_id 10 ip destination_ip 0.0.0.0 port 10 deny

config filter netbios 1-26 state enable
config filter extensive_netbios 1-26 state enable
config arp_spoofing_prevention add gateway_ip 10.0.0.1 gateway_mac 00-22-15-02-88-4E ports 1-26
disable address_binding acl_mode
disable address_binding dhcp_snoop
disable dhcp_local_relay
config pppoe circuit_id_insertion state disable

# ACL

disable cpu_interface_filtering

# SNTP

enable sntp
config time_zone operator + hour 3 min 0
config sntp primary 10.0.0.1 secondary 0.0.0.0 poll-interval 720
config dst annual s_date 29 s_mth 4 s_time 0:0 e_date 12 e_mth 10 e_time 0:0 offset 60

# IPBIND

config address_binding ip_mac ports 1-26 forward_dhcppkt disable
disable address_binding trap_log
config address_binding dhcp_snoop max_entry ports 1-26 limit 5

# FILTER


# PPPoE_Circuit_ID_Insertion

config pppoe circuit_id_insertion ports 1-26 state enable circuit_id ip

# ROUTE

create iproute default 10.0.0.1 1

# SNOOP

enable igmp_snooping
config igmp_snooping default host_timeout 260 router_timeout 260 leave_timer 2 state enable
config igmp_snooping querier default query_interval 125 max_response_time 10 robustness_variable 2
config igmp_snooping querier default last_member_query_interval 1 state enable
create multicast_range 1 from 230.10.10.10 to 230.10.10.10
create multicast_range 2 from 230.10.10.11 to 230.10.10.11
create multicast_range 3 from 230.10.10.12 to 230.10.10.12
config limited_multicast_addr ports 1-24 add multicast_range 1
config limited_multicast_addr ports 1-24 add multicast_range 2
config limited_multicast_addr ports 1-24 add multicast_range 3
config limited_multicast_addr ports 1-24 access permit state enable
config limited_multicast_addr ports 25-26 access deny state disable

# LACP

config link_aggregation algorithm mac_source
create link_aggregation group_id 2
config link_aggregation group_id 2 master_port 18 ports 18,20,22,24 state disable
config lacp_port 1-17,19,21,23,25-26 mode passive
config lacp_port 18,20,22,24 mode active

# GVLAN


# IP

config ipif System vlan default ipaddress 10.26.0.1/8 state enable
disable autoconfig
config autoconfig timeout 50
config ipif System dhcp_option12 state disable

# ARP

config arp_aging time 20
config gratuitous_arp send ipif_status_up enable
config gratuitous_arp send dup_ip_detected enable
config gratuitous_arp learning enable

# 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-26 notification disable
config lldp ports 1-26 admin_status tx_and_rx

# 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
config authen enable_admin all state enable
disable authen_policy

# 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 default
config dhcp_relay option_60 state disable
config dhcp_relay option_60 default mode drop
config dhcp_relay option_61 state disable
config dhcp_relay option_61 default drop
config dhcp_relay add ipif System 10.0.0.1

# DHCP_LOCAL_RELAY

config dhcp_local_relay option_82 ports 1-26 policy replace

#-------------------------------------------------------------------
# End of configuration file for DES-3526
#-------------------------------------------------------------------


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Вт янв 25, 2011 13:08 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Пт янв 21, 2005 11:52
Сообщений: 11212
Откуда: D-Link, Moscow
Сделайте на DES-3526 только "enable dhcp_local_relay", чтобы рубились Broadcast DHCP Discovery пакетики и до DHCP сервера доходили только unicast пакетики от нужного коммутатора.

P.S.: Default Gateway нужено настраивать на коммутаторе, если доступ к нему осуществляется через L3.

_________________
С уважением,
Бигаров Руслан.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Вт янв 25, 2011 21:46 
Не в сети

Зарегистрирован: Ср июл 13, 2005 04:21
Сообщений: 259
Откуда: Лен область
бл*... работает...
не пойму почему раньше не получалось...
теперь все четко, есть прописка - статика, нет прописки - динамика.
Огромное спасибо всем участвовавшим!

теперь буду учиться что бы бесполезно было вручную прописать другой ip на этих портах.

и сеть с сервером будет защищена и клиент сможет воткнуть любой девайс и получить на него инет без переписования всяких мас и тд...


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Ср янв 26, 2011 12:33 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Пт янв 21, 2005 11:52
Сообщений: 11212
Откуда: D-Link, Moscow
Рад слышать. Не за что.

_________________
С уважением,
Бигаров Руслан.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Ср янв 26, 2011 22:35 
Не в сети

Зарегистрирован: Ср сен 30, 2009 10:33
Сообщений: 76
нет возможности собрать стенд, тк нет свободного dgs-3100, поэтому есть вопросы :)
есть ли особенность настройки dhcp relay при схеме?:
dgs-3100 (агрегация)
| |
des-3526 des-3526 (доступ)


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Чт янв 27, 2011 10:05 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Ср май 10, 2006 16:40
Сообщений: 12251
Откуда: D-Link, Moscow
Никаких особенностей, штатная работа.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Пт фев 18, 2011 18:11 
Не в сети

Зарегистрирован: Ср июл 13, 2005 04:21
Сообщений: 259
Откуда: Лен область
все прекрасно пашет
сделал авторизацию в биллинге только по ip и встал вопрос о подмене ip клиентами
что надо сделать что бы 100 процентов это исключить?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Пт фев 18, 2011 18:43 
Не в сети

Зарегистрирован: Вт июн 17, 2008 18:59
Сообщений: 1203
Откуда: Минск, Беларусь
IMPB + DHCP Snooping

_________________
Это текст, который можно добавлять к размещаемым вами сообщениям. Длина его ограничена 255 символами.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Пт фев 18, 2011 19:34 
Не в сети

Зарегистрирован: Ср июл 13, 2005 04:21
Сообщений: 259
Откуда: Лен область
IMPB - это ipmac binding ? тогда не катит.. никаких маков, клиент должен беспрепятственно подключить любое устройство в сеть.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: option 82 3526
СообщениеДобавлено: Пн фев 21, 2011 10:30 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Ср май 10, 2006 16:40
Сообщений: 12251
Откуда: D-Link, Moscow
Он и будет подключать любое устройство. Только к каждому устройству будет прикреплён его IP адрес и порт подключения.


Вернуться наверх
 Профиль  
 
Показать сообщения за:  Сортировать по:  
Начать новую тему Ответить на тему  [ Сообщений: 42 ]  На страницу Пред.  1, 2, 3  След.

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


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

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 46


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

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