Demin Ivan писал(а):
Вы либо DHCP Local Relay настраивайте, либо DHCP Relay. Одновременно оба нельзя.
Ок, оставил только dhcp relay, даже на всякий случай перегрузил свич.
Список VLAN'ов (клиентский и управляющий):
Код:
sw2:admin#show vlan
Command: show vlan
VID : 1 VLAN Name : default
VLAN TYPE : static Advertisement : Disabled
Member ports : 25-26
Static ports : 25-26
Current Tagged ports :
Current Untagged ports : 25-26
Static Tagged ports :
Static Untagged ports : 25-26
Forbidden ports :
VID : 298 VLAN Name : TestOffice
VLAN TYPE : static Advertisement : Disabled
Member ports : 1-26
Static ports : 1-26
Current Tagged ports : 25-26
Current Untagged ports : 1-24
Static Tagged ports : 25-26
Static Untagged ports : 1-24
Forbidden ports :
VID : 1901 VLAN Name : Management
VLAN TYPE : static Advertisement : Disabled
Member ports : 25-26
Static ports : 25-26
Current Tagged ports : 25-26
Current Untagged ports :
Static Tagged ports : 25-26
Static Untagged ports :
Forbidden ports : 1-24
Total Entries : 3
sw2:admin#
Настройка DHCP relay:
Код:
# DHCP_RELAY
enable dhcp_relay
config dhcp_relay hops 16 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 192.168.199.254
# DHCP_LOCAL_RELAY
disable dhcp_local_relay
config dhcp_local_relay option_82 ports 1-24 policy replace
config dhcp_local_relay option_82 ports 25-26 policy keep
Фильры (есть только cpu access_profile):
Код:
sw2:admin#show access_profile
Command: show access_profile
malin-sw2:admin#show cpu access_profile
Command: show cpu access_profile
CPU Access Profile Table
CPU Access Profile ID : 1 Type : IP
================================================================================
Masks :
Source IP Addr
---------------
255.255.255.0
CPU Access ID: 1 Mode: Permit
---------------
91.196.176.0
CPU Access ID: 2 Mode: Permit
---------------
192.168.199.0
================================================================================
CPU Access Profile ID : 2 Type : IP
================================================================================
Masks :
Source IP Addr
---------------
0.0.0.0
CPU Access ID: 1 Mode: Deny
---------------
0.0.0.0
================================================================================
Total Access Entries : 3
sw2:admin#
DHCP запросов от этиго свича в VLAN 1901 по прежнему не вижу.
Чего хочу получить: чтобы броадкаст DHCP запросе от клиента в VLAN 298 перехватывался и отправлялся юникастом в VLAN'е 1901 на IP 192.168.199.254.
Это функциональность DHCP Relay или DHCP Local relay?