Используем на доступе MES2124MB (SW: 1.1.36) , на аггрегации MES3124F (SW: 2.5.34).
2124 добавляет только Opt82, а 3124 уже общается с DHCP Relay сервером.
Кусок конфигурации на 2124:
Код: Выделить всё
ip dhcp relay enable
ip dhcp information option
ip dhcp information option suboption-type custom
ip dhcp information option format-type option bin
ip dhcp relay information policy replace
ip dhcp snooping
ip dhcp snooping vlan 2030
!
!
!
interface gigabitethernet 1/0/2
ip source-guard
ip dhcp relay enable
loopback-detection enable
switchport access vlan 2030
service-acl input garbage
switchport forbidden default-vlan
ip dhcp information option format-type remote-id 10.27.11.252
exit
!
interface vlan 1
no ip address dhcp
exit
!
interface vlan 2030
ip address 10.27.11.252 255.255.252.0
ip dhcp relay enable
exit
!
ip default-gateway 10.27.11.254
Абонент получает адрес и трафик вроде есть, смущает такой момент:
Если смотреть ip source-guard то четко фиксируем наличие адреса клиента.
Код: Выделить всё
sw#show ip source-guard status
IP Source Guard: Disabled
Interface Filter Status IP address MAC address VLAN Type
--------- ------ -------- --------------- ----------------- ---- ------
gi1/0/1 IP active Deny All
gi1/0/2 IP active 10.27.8.106 60:c5:47:94:bc:ee 2030 DHCP
gi1/0/3 IP active Deny All
gi1/0/4 IP active Deny All
gi1/0/5 IP active Deny All
gi1/0/6 IP active Deny All
gi1/0/7 IP active Deny All
gi1/0/8 IP active Deny All
gi1/0/9 IP active Deny All
gi1/0/10 IP active Deny All
gi1/0/11 IP active Deny All
gi1/0/12 IP active Deny All
gi1/0/13 IP active Deny All
gi1/0/14 IP active Deny All
gi1/0/15 IP active Deny All
gi1/0/16 IP active Deny All
gi1/0/17 IP active Deny All
gi1/0/18 IP active Deny All
gi1/0/19 IP active Deny All
gi1/0/20 IP active Deny All
gi1/0/21 IP active Deny All
gi1/0/22 IP active Deny All
gi1/0/23 IP active Deny All
gi1/0/24 IP active Deny All
sw#
Но таблица dhcp binding остается пустой:
Код: Выделить всё
sw#show ip dhcp binding
DHCP server disabled.
The number of used (all types) entries is 0
The number of preallocated entries is 0
The number of allocated entries is 0
The number of expired entries is 0
The number of declined entries is 0
The number of static entries is 0
The number of dynamic entries is 0
The number of automatic entries is 0
IP address Hardware address Lease expiration Type State
---------------- --------------------- ------------------ ----------- -------
sw#
Вопрос: Это корректное поведение или ошибка ?