Aruba Central Branch Gateways Cluster 無法順利發送DHCP IP的檢查與解決方法

Branch Gateways Cluster是一種較特殊的架構,作Cluster時,會預設啟用 Default Gateway 模式,此模式的VRRP會被Cluster控制,由Cluster Master去作為其他VRRP的Master。 ※Gateway Cluster也限制只能兩台

此模式還會進行DHCP Pool HA,也就無需手動在兩台Gateway上設定發送區間,簡化設定過程。

但是,若是無法順利同步,出現「recover-wait」,就會導致DHCP IP無法順利派送。

這可能是由於手動改掉DHCP Pool的相關設定導致,此時需要手動清理才能恢復正常。

如何檢查?

Central WebUI

SSH Device

show ip dhcp statistics
(Utown-A-12F_222_7005) #show ip dhcp statistics

DHCPv4 enabled; DHCPv6 disabled

DHCP Pools
----------
Network Name  Type  Active  Configured leases  Active leases  Free leases  Backup leases  Expired leases  Abandoned leases
------------  ----  ------  -----------------  -------------  -----------  -------------  --------------  ----------------
vlan_10       v4    Yes     249                0              249          0              0               0

Current leases          249
Total leases            2048

My state                normal

Partner state           recover-wait

可以在State看到「recover-wait」。

如果過去紀錄的Pool已經刪掉,建議手動清除,不然就要等到租期到。

解決方法

clear ip dhcp binding

無法同步是因為發放紀錄中的Pool可能不在,所以導致同步不正常,進而讓DHCP Server功能停滯。

經過指令在兩台Gateway上清除後,再次檢查,可以發現狀態變成 normal。

(Utown-A-12F_222_7005) #show ip dhcp statistics

DHCPv4 enabled; DHCPv6 disabled

DHCP Pools
----------
Network Name  Type  Active  Configured leases  Active leases  Free leases  Backup leases  Expired leases  Abandoned leases
------------  ----  ------  -----------------  -------------  -----------  -------------  --------------  ----------------
vlan_10       v4    Yes     249                0              125          124            0               0

Current leases          249
Total leases            2048

My state                normal

Partner state           normal

NOTE: To make a DHCPv6 pool active, ensure that the pool name is added in vlan interface