Patent ID: 7403997
Filing Date: 2008-07-22
Classification: H04L

Abstract:
1. A dynamic host allocating method, which is employed by a dynamic host configuration protocol (DHCP) server for distributing an Internet protocol IP) address to a DHCP client, the method comprising the sequential steps of: obtaining a hardware address of the DHCP client from a chaddr field of a DHCPDISCOVER message packet broadcasted by the DHCP client; determining whether the DHCP client is on a same subnet as the DHCP server; determining whether the DHCP client has a lease with the DHCP sever if the DHCP client is not on a same subnet as the DHCP server; determining whether there is a free IP address in a lease range of the DHCP server, by the DHCP server, if the DHCP client has no lease with the DHCP server; determining whether there is an expired IP address in the lease range of the DHCP server, by the DHCP server, if there is no free IP address; and sending a DHCP message packet including the expired IP address if there is an expired IP address.