faq обучение настройка
Текущее время: Пт авг 22, 2025 18:11

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




Начать новую тему Ответить на тему  [ Сообщений: 24 ]  На страницу 1, 2  След.
Автор Сообщение
СообщениеДобавлено: Пт сен 05, 2008 08:46 
Не в сети

Зарегистрирован: Ср май 21, 2008 21:12
Сообщений: 40
Откуда: Харьков
Всем, привет!

настройки 3526:

sw1-b83-r319a:admin#show switch
Command: show switch
Device Type : DES-3526 Fast-Ethernet Switch
Combo Port Type : 1000Base-T + 1000Base-T
MAC Address : 00-1C-F0-17-BF-20
IP Address : 10.97.2.18 (Manual)
VLAN Name : default
Subnet Mask : 255.255.255.0
Default Gateway : 10.97.2.17
Boot PROM Version : Build 3.00.008
Firmware Version : Build 5.01-B36
Hardware Version : A4
Serial Number :
Power Status : Main - Normal, Redundant - Not Present
Spanning Tree : Disabled
GVRP : Enabled
IGMP Snooping : Disabled
TELNET : Enabled (TCP 23)
SSH : Disabled
WEB : Enabled (TCP 80)
RMON : Disabled
Asymmetric VLAN : Disabled
Password Encryption Status : Disabled
----------------------------------------------------------------------------
sw1-b83-r319a:admin#show firmware information
Command: show firmware information

ID Version Size(B) Update Time From User
-- -------- ------- ------------------- ------------------ ---------------
*1 5.01-B36 3279443 2008/06/27 10:19:29 192.168.220.17 swd
2 (Empty)
==============================================
часть конфига:
...
# PORT_LOCK

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

...
# MANAGEMENT
create trusted_host network 192.168.220.245/24 <- это мой PC на 22 порту
create trusted_host network 192.168.220.21/24
create trusted_host network 192.168.206.238/24
....
# VLAN

disable asymmetric_vlan
config vlan default delete 1-26
config vlan default add tagged 26
config vlan default advertisement enable
create vlan VLAN_203_207_220 tag 420
config vlan VLAN_203_207_220 add tagged 26
config vlan VLAN_203_207_220 add untagged 1-25
config vlan VLAN_203_207_220 advertisement enable
enable gvrp
config gvrp 1-25 state disable ingress_checking enable acceptable_frame admit_all pvid 420
config gvrp 26 state enable ingress_checking enable acceptable_frame tagged_only pvid 1


# ARP_Spoofing_Prevention - это адрес сервера-шлюза на 26 порту
config arp_spoofing_prevention add gateway_ip 192.168.203.17 gateway_mac 00-15-17-13-0D-67 ports 1-25
config arp_spoofing_prevention add gateway_ip 192.168.220.17 gateway_mac 00-15-17-13-0D-67 ports 1-25

# IP

config ipif System vlan default ipaddress 10.97.2.18/24 state enable

# ROUTE

create iproute default 10.97.2.17 1
==============================================

Мой комп подключен через 22 не тэгированный порт к 3526, к 26 порт подключен сервер локалки. На портах 1-24 настроен port_security max. addr =24, на портах 25-26 port_security запрещено.

Уже замечаю второй раз такую ситуацию, оставляю я на ночь комп. свой включенным, качает емул. Прихожу утром не могу выйти в инет, сервер не пингуется, но благо к 3526 подключен ещё один сервер, я на него зайти могу и далее через его второй интерфейс, с другой стороны, через 0-й сегмент, могу зайти на свич. Раньше я просто ресетил по питанию свич, сегодня попробовал сбросить port_security на портах 1-24 и всё заработало.
Причем по show fdb до и после сброса port_security на портах, моём 22 и сервера-шлюза 26 была одна и таже информация.

Что посоветуют гуру?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Пт сен 05, 2008 13:30 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Пт май 13, 2005 15:49
Сообщений: 20616
Откуда: D-Link, Moscow
Попробуйте пожалуйста прошивку которую я Вам выслал.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Пт сен 05, 2008 14:33 
Не в сети

Зарегистрирован: Ср май 21, 2008 21:12
Сообщений: 40
Откуда: Харьков
Иван, спасибо за ответ! :)
Залил прошивку, протестирую.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Сб сен 06, 2008 16:13 
Не в сети

Зарегистрирован: Ср май 21, 2008 21:12
Сообщений: 40
Откуда: Харьков
Иван, ничего не изменилось, так же отрубает. в логах ничего не пишется,
решение - clear port_security ports 1-24...


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Сб сен 06, 2008 18:18 
Не в сети

Зарегистрирован: Ср май 21, 2008 21:12
Сообщений: 40
Откуда: Харьков
Забыл сказать, что между всеми портами из группы 1-24 и портом 26 нет связи.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Вс сен 07, 2008 21:44 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Пт май 13, 2005 15:49
Сообщений: 20616
Откуда: D-Link, Moscow
А зачем Вы не всех клиентских портах выставляете PVID=420?

config gvrp 1-25 state disable ingress_checking enable acceptable_frame admit_all pvid 420

Они у вас untagged в VLAN 420? По конфигу этого не видно.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Пн сен 08, 2008 15:46 
Не в сети

Зарегистрирован: Ср май 21, 2008 21:12
Сообщений: 40
Откуда: Харьков
Да они не тэгированные.
Порты же во VLAN 420, и соответственно PVID для них 420.
А разве это в данном случае на что-то влияет?!


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

Зарегистрирован: Пт май 13, 2005 15:49
Сообщений: 20616
Откуда: D-Link, Moscow
У Вас же связности по портам нет. А 26-ой порт tagged в VLAN-е 420?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Пн сен 08, 2008 19:42 
Не в сети

Зарегистрирован: Ср май 21, 2008 21:12
Сообщений: 40
Откуда: Харьков
Конечно. 26 порт идет в роутер:


config vlan default add tagged 26

create vlan VLAN_203_207_220 tag 420
config vlan VLAN_203_207_220 add tagged 26
config vlan VLAN_203_207_220 add untagged 1-25


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Пн сен 08, 2008 21:05 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Пт май 13, 2005 15:49
Сообщений: 20616
Откуда: D-Link, Moscow
Попробуйте отключить ARP Spoofing Prevention. И пришлите пожалуйста графическую схему сегмента сети с указанием портов подключения и конфиг устройства слитый по TFTP.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Пн сен 08, 2008 21:17 
Не в сети

Зарегистрирован: Ср май 21, 2008 21:12
Сообщений: 40
Откуда: Харьков
Да, Иван, завтра сделаю и мне кажется, что так свич себя стал вести именно после включения arp_spoofing_prevention


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Вт сен 09, 2008 08:39 
Не в сети

Зарегистрирован: Ср май 21, 2008 21:12
Сообщений: 40
Откуда: Харьков
Вот конфигурация свича. Кстати, вчера, на ночь, выключил свой комп.
сегодня включаю, все работает... странно. Может у меня на что-то с сетевой, хотя, на другой же сервер заходил...




#-------------------------------------------------------------------
# DES-3526 Configuration
#
# Firmware: Build 5.01-B45
# 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

# ACCOUNT LIST


# PASSWORD ENCRYPTION

disable password encryption
config terminal_line default

# BNR

config command_prompt sw1-b83-r319a

# STORM

config traffic control_trap both
config traffic control 1-3 broadcast enable multicast enable unicast disable action drop threshold 34000
config traffic control 4-5 broadcast disable multicast disable unicast disable action drop threshold 32000

# LOOP_DETECT

enable loopdetect
config loopdetect recover_timer 60
config loopdetect interval 10
config loopdetect mode port-based
config loopdetect ports 1-26 state enabled
# GM

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

# SYSLOG

enable syslog
config system_severity trap information
config system_severity log information
create syslog host 1 ipaddress 192.168.206.238 severity all facility local7 udp_port 514 state enable
# 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-24 0
config 802.1p default_priority 25-26 7
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-24 speed auto flow_control disable mdix auto learning enable state enable trap enable
config ports 25-26 medium_type copper speed auto flow_control disable mdix auto learning enable state enable trap
enable
config ports 25-26 medium_type fiber speed auto flow_control disable learning enable state enable trap enable

# PORT_LOCK

enable port_security trap_log
config port_security ports 1-24 admin_state enable max_learning_addr 24 lock_address_mode DeleteOnReset
config port_security ports 25-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
...


# MANAGEMENT

create trusted_host network 192.168.220.245/24
create trusted_host network 192.168.220.21/24
create trusted_host network 192.168.206.238/24
create trusted_host 10.97.2.17
enable snmp traps
enable snmp authenticate traps
config snmp system_name sw1-b83-r319a
disable rmon

# VLAN

disable asymmetric_vlan
config vlan default delete 1-26
config vlan default add tagged 25-26
config vlan default advertisement enable
create vlan VLAN_203_207_220 tag 420
config vlan VLAN_203_207_220 add tagged 25-26
config vlan VLAN_203_207_220 add untagged 1-24
config vlan VLAN_203_207_220 advertisement enable
enable gvrp
config gvrp 1-24 state disable ingress_checking enable acceptable_frame admit_all pvid 420
config gvrp 25-26 state enable ingress_checking enable acceptable_frame tagged_only pvid 1

# FDB

config fdb aging_time 300
config multicast port_filtering_mode 1-26 forward_unregistered_groups

# MAC_ADDRESS_TABLE_NOTIFICATION

config mac_notification interval 1 historysize 1
disable mac_notification
config mac_notification ports 1-24 enable
config mac_notification ports 25-26 disable

# STP

config stp version rstp
config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 6 fbpdu enable
config stp priority 32768 instance_id 0
config stp hellotime 2
config stp mst_config_id name 00:1C:F0:17:BF:20 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 enable cpu_utilization rising_threshold 100 falling_threshold 20 trap_log enable

# TIMERANGE


# ACL
create access_profile ip udp dst_port_mask 0xFFFF profile_id 100
config access_profile profile_id 100 add access_id 3 ip udp dst_port 1900 port 1 deny
config access_profile profile_id 100 add access_id 4 ip udp dst_port 1900 port 2 deny
config access_profile profile_id 100 add access_id 5 ip udp dst_port 1900 port 3 deny
config access_profile profile_id 100 add access_id 6 ip udp dst_port 1900 port 4 deny
config access_profile profile_id 100 add access_id 7 ip udp dst_port 1900 port 5 deny
config access_profile profile_id 100 add access_id 8 ip udp dst_port 1900 port 6 deny
config access_profile profile_id 100 add access_id 9 ip udp dst_port 1900 port 7 deny
config access_profile profile_id 100 add access_id 10 ip udp dst_port 1900 port 8 deny
config access_profile profile_id 100 add access_id 11 ip udp dst_port 1900 port 9 deny
config access_profile profile_id 100 add access_id 12 ip udp dst_port 1900 port 10 deny
config access_profile profile_id 100 add access_id 13 ip udp dst_port 1900 port 11 deny
config access_profile profile_id 100 add access_id 14 ip udp dst_port 1900 port 12 deny
config access_profile profile_id 100 add access_id 15 ip udp dst_port 1900 port 13 deny
config access_profile profile_id 100 add access_id 16 ip udp dst_port 1900 port 14 deny
config access_profile profile_id 100 add access_id 17 ip udp dst_port 1900 port 15 deny
config access_profile profile_id 100 add access_id 18 ip udp dst_port 1900 port 16 deny
config access_profile profile_id 100 add access_id 19 ip udp dst_port 1900 port 17 deny
config access_profile profile_id 100 add access_id 20 ip udp dst_port 1900 port 18 deny
config access_profile profile_id 100 add access_id 21 ip udp dst_port 1900 port 19 deny
config access_profile profile_id 100 add access_id 22 ip udp dst_port 1900 port 20 deny
config access_profile profile_id 100 add access_id 23 ip udp dst_port 1900 port 21 deny
config access_profile profile_id 100 add access_id 24 ip udp dst_port 1900 port 22 deny
config access_profile profile_id 100 add access_id 25 ip udp dst_port 1900 port 23 deny
config access_profile profile_id 100 add access_id 26 ip udp dst_port 1900 port 24 deny
config access_profile profile_id 100 add access_id 27 ip udp dst_port 1900 port 25 deny
config access_profile profile_id 100 add access_id 28 ip udp dst_port 1900 port 26 deny

disable cpu_interface_filtering

# SNTP

enable sntp
config time_zone operator + hour 2 min 0
config sntp primary 10.97.2.17 secondary 192.168.206.238 poll-interval 360
config dst repeating s_week last s_day sun s_mth 3 s_time 2:0 e_week last e_day sun e_mth 10 e_time 3:0 offset 60

# IPBIND
disable address_binding acl_mode
disable address_binding trap_log
disable address_binding dhcp_snoop
config address_binding dhcp_snoop max_entry ports 1-26 limit 5
# FILTER


# ARP_Spoofing_Prevention
config arp_spoofing_prevention add gateway_ip 192.168.203.17 gateway_mac 00-15-17-13-0D-67 ports 1-25
config arp_spoofing_prevention add gateway_ip 192.168.220.17 gateway_mac 00-15-17-13-0D-67 ports 1-25
config arp_spoofing_prevention add gateway_ip 194.67.204.22 gateway_mac 00-15-17-13-0D-66 ports 1-26


# ROUTE

create iproute default 10.97.2.17 1

# SNOOP

disable igmp_snooping
config igmp_snooping default host_timeout 260 router_timeout 260 leave_timer 2 state disable
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 disable
config igmp_snooping VLAN_203_207_220 host_timeout 260 router_timeout 260 leave_timer 2 state disable
config igmp_snooping querier VLAN_203_207_220 query_interval 125 max_response_time 10 robustness_variable 2
config igmp_snooping querier VLAN_203_207_220 last_member_query_interval 1 state disable
config limited_multicast_addr ports 1-26 access deny state disable

# LACP

config link_aggregation algorithm mac_source
config lacp_port 1-26 mode passive

# GVLAN
# IP

config ipif System vlan default ipaddress 10.97.2.18/24 state enable
disable autoconfig

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

# DHCP_RELAY

disable dhcp_relay
config dhcp_relay hops 4 time 0
config dhcp_relay option_82 state disable
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

# DHCP_LOCAL_RELAY

disable dhcp_local_relay

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


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Вт сен 09, 2008 17:15 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Пт май 13, 2005 15:49
Сообщений: 20616
Откуда: D-Link, Moscow
Ну т.е. правильно ли я понял что после отключения ARP Spoofing Prevention у вас пока всё работает в этом плане? Или Вы пока его не отключали?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения:
СообщениеДобавлено: Ср сен 10, 2008 09:02 
Не в сети

Зарегистрирован: Ср май 21, 2008 21:12
Сообщений: 40
Откуда: Харьков
Иван, я пока его не отключал.


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

Зарегистрирован: Пт май 13, 2005 15:49
Сообщений: 20616
Откуда: D-Link, Moscow
Вообщем пишите когда явно проявиться проблема.


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

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


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

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


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

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