Добрый день всем.
Схема такая DES-3200 в цепочке из 5 коммутаторов. На всех коммутаторах настроен dhcp-local-relay для добавления option 82. Однако последний коммутатор цепочки заменяет опцию своей и ставит свой IP адрес и номер порта Uplink в запросы. Конфигурация ниже:
# VLAN
enable pvid auto_assign
config vlan default delete 1-26
config vlan default add forbidden 1-26
config vlan default advertisement enable
create vlan Control tag 119
config vlan Control add tagged 25-26
config vlan Control add forbidden 1-24 advertisement disable
create vlan Users tag 219
config vlan Users add tagged 25-26
config vlan Users add untagged 1-24 advertisement disable
# IP
config ipif System ipaddress 172.16.1.50/28
config ipif System vlan Control
config ipif System dhcp_option12 state disable
disable autoconfig
config autoconfig timeout 50
# DHCP_LOCAL_RELAY
enable dhcp_local_relay
config dhcp_local_relay option_82 remote_id user_define 172.16.1.50
config dhcp_local_relay option_82 circuit_id default
config dhcp_local_relay vlan Users state enable
config dhcp_local_relay option_82 ports 1-24 policy replace
config dhcp_local_relay option_82 ports 25-26 policy keep
# 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 keep
config dhcp_relay option_82 remote_id default
config dhcp_relay option_82 circuit_id default
config dhcp_relay option_60 state disable
config dhcp_relay option_61 state disable
config dhcp_relay option_60 default mode drop
config dhcp_relay option_61 default drop
config dhcp_relay ports 1-26 state disable
вывод лиза с сервера:
lease 10.10.10.101 {
starts epoch 1396185968; # Sun Mar 30 17:26:08 2014
ends epoch 1396189568; # Sun Mar 30 18:26:08 2014
cltt epoch 1396185968; # Sun Mar 30 17:26:08 2014
binding state active;
next binding state free;
hardware ethernet fc:8b:97:69:ce:95;
uid "\001\374\213\227i\316\225";
option agent.circuit-id 0:4:0:db:0:1a; - порт 26
option agent.remote-id 1:b:31:37:32:2e:31:36:2e:31:2e:35:30; - 172.16.1.50
}
Хотя клиент на коммутаторе 172.16.1.52 на порту 8
Почему так происходит? почему коммутатор не сохраняет значение пустым?
Версия коммутатора:
172.16.1.50-20:admin#show switch
Command: show switch
Device Type : DES-3200-26 Fast Ethernet Switch
MAC Address : CC-B2-55-87-2D-80
IP Address : 172.16.1.50 (Manual)
VLAN Name : Control
Subnet Mask : 255.255.255.240
Default Gateway : 172.16.1.49
Boot PROM Version : Build 4.00.002
Firmware Version : Build 4.35.B010
Hardware Version : C1
Serial Number : R3DY1C5000909
System Name : 172.16.1.50-20
System Location :
System Uptime : 113 days, 6 hours, 11 minutes, 14 seconds
System Contact :
Spanning Tree : Enabled
GVRP : Disabled
IGMP Snooping : Disabled
MLD Snooping : Disabled
VLAN Trunk : Disabled
Telnet : Enabled (TCP 23)
Web : Disabled
SNMP : Enabled
SSL Status : Disabled
SSH Status : Disabled
802.1X : Disabled
Jumbo Frame : Enabled
CLI Paging : Enabled
MAC Notification : Disabled
Port Mirror : Disabled
SNTP : Enabled
Syslog Global State : Disabled
Single IP Management : Disabled
Password Encryption Status : Enabled
Заранее спасибо за помощь.