Shared Left Border

Home Up

 

Home
Up
What's New
History
FAQ
Feedback
File Area
 

DHCP FAQ

  1. How does the server know which address range to use?
  2. How can I limit the range of addresses that are handed out?
  3. I get a message saying "Could not create Ping socket".
  4. I get a message saying "Could not create server socket".
  5. I get a message saying "Could not create server thread".
  6. I get a message saying "Could not bind to port".
  7. Does Magik DHCP work with Internet Connection Sharing?
  8. What Operating Systems does Magik DHCP support?
  9. Can I force a computer to have a specific address?

How does the server know which address range to use?

The way the DHCP server works, is that it will query the network component and figure out which networks cards have static IP addresses, what they are, what their subnet is, what the gateway is and so on. It will then take all the addresses that are available in the subnet and add them as addresses that can be handed out. If you go to the view leases dialog, you will notice that you have all the addresses in the subnet saying "Free Lease" and a couple saying "Not using DHCP". The ones by default that don't use DHCP are the network address (for example 192.168.1.0) and the broadcast address (192.168.1.255) as well as the DHCP server itself and the default gateway.

Back to Top

How can I limit the range of addresses that are handed out?

If you want to restrict the addresses that are available for DHCP clients, simply select the addresses that you don't want to be available for DHCP (you can multi-select by selecting the first address and shift-click on the last address or using CTRL to select or deselect a particular address) and then choosing "NOT DHCP". These addresses will then not be handed out to clients requesting a DHCP Address (most likely the addresses that have static IPs).
 

Back to Top

I get a message saying "Could not create ping socket"

This message happens when the server cannot create it's Ping socket. This socket is used to verify that no other computer has the address that the server is about to assign. The usual cause for this is that system does not support Winsock2. This is usually the case with Windows 95, and can be solved by installing Winsock2 upgrade from Microsoft. If you have Windows 98 or Windows NT or Windows 95 with the Winsock 2 upgrade and still have this message please send me mail.

Back to Top

I get a message saying "Could not create server socket.

This message happens when the server cannot obtain the port on which to listen to. The usual cause for this is that there is another program using that port, this may be caused by trying to run multiple instances of the program or trying to run the program when it's already running as a service or because your computer already has a DHCP server such as Wingate or Win98SE's Internet Connection Sharing.

Back to Top

I get a message saying "Could not create server thread.

This message happens when the server cannot find a network adapter with a static IP to bind itself with. You need to have a static IP for the server. If you do have a static IP and still get this message please send me mail.

Back to Top

I get a message saying "Could not bind to port.

This problem could be caused by two things.

  • There is already a DHCP server or another program using the DHCP port running on the machine.
  • With Windows NT, Windows 2000 and Windows Millennium, when the network interface that is used to issue addresses does not have a cable connected or doesn't have a connection to another machine, then the TCP/IP stack will not let the card bind to the port. I haven't found a solution to that yet. But am investigating different avenues.
Back to Top

Does Magik DHCP work with Internet Connection Sharing?

Magik DHCP server does not work very well with Windows 98's version of ICS, unless you disable the DHCP server from ICS (there are tools on the web to do that). On Windows 2000 & Windows XP, to turn off the DHCP from ICS, you would need to change the address of the network card that it connected to the internal network (originally 192.168.0.1) to another subnet (192.168.1.1 for example) and that will disable the DHCP server from ICS and you can use Magik DHCP server instead.

Back to Top

What Operating Systems does Magik DHCP support?

Currently the server runs on Windows 98 (SE), Windows ME, Windows NT 4.0, Windows 2000, Windows XP and Windows 2003 Server. Clients that work are Windows 95, Windows 98 (SE), Windows NT 4.0, Windows 2000, Linux, Xbox, PocketPC, Windows CE, HP JetDirect, DOS, PXE, and probably most other operating systems but they have not been tested.

Back to Top

Can I force a computer to have a specific address?

If you want to have a client use DHCP but always have a specific IP address, you can select that IP address, click on "HW Lease" and enter the client's MAC address. Whenever that client requests an IP address it will always get the specified address and no other client will ever be assigned that address.

Back to Top