Comware Based
1825775 Members
2433 Online
109687 Solutions
New Discussion

4800g: balanse DHCP relay

 
SjoerdvW
Advisor

4800g: balanse DHCP relay

We have a stack with 2 4800g units which act as our 'core'.
The stack serves multiple vlans, and i setup DHCP relay to our (Win 2008 R2) DHCP servers to serve DHCP requests.

 

Here is a sample configuration:

 

#
dhcp relay server-group 1 ip 10.1.1.1
dhcp relay server-group 1 ip 10.1.1.2
#
vlan 300
description Workstations
#
interface Vlan-interface300
ip address 172.16.7.254 255.255.248.0 
dhcp select relay
dhcp relay server-select 1
ip forward-broadcast
#

 

In this sample i have a workstaions VLAN in the 172.16.0.0 / 21 scope, and configured a DHCP scope on each DHCP server:

 

Server 1 (10.1.1.1): 172.16.0.1 - 172.16.3.255
Server 2 (10.1.1.2): 172.16.4.0 - 172.16.7.253

 

Everything works fine. However: the DHCP leases are not evenly balansed over both servers. Server 1 has approximatly 80% in use, where server 2 only use 20% of the available leases.


Is there a way to balanse this in a better way?