Solved

Write a Windows DHCP server in Python?

Posted on 2006-10-20
1
1,063 Views
Last Modified: 2012-06-27

Would it be possible to write a DHCP server for Windows using just Python? Or would this be better left to a language like C\C++?

Also, any reasons why this might end up being particularly difficult to do? Any advice or starting points?
0
Comment
Question by:xy8088
1 Comment
 
LVL 7

Accepted Solution

by:
Chatable earned 250 total points
ID: 17777436
First of all you can write anything in Python. The major advantage of writing Python software is that it may very well be OS independent, i.e. your server may run Linux, Windows, MacOS and other operating systems with little or no change at all.
About your idea, there actually is a Python DHCP server listed on sourceforge but it hasn't released any version yet.
To write a DHCP daemon in Python or any other language you need to
1) Read and understand the DHCP RFC - http://www.ietf.org/rfc/rfc2131.txt
2) Implement the protocol using your favorite language.
Whether it is a good idea to use Python for that purpose? I assess that a network with a few to a few hundreds of clients will be able to use a Python DCHP daemon with no problems.
For huge enterprise networks you may want to use C/C++.
Please note that Windows Server 2000/2003 already has a built-in DHCP daemon.
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

"The time has come," the Walrus said, "To talk of many things: Of sets--and lists--and dictionaries-- Of variable kinks-- And why you see it changing not-- And why so strange are strings." This part describes how variables and references (see …
Installing Python 2.7.3 version on Windows operating system For installing Python first we need to download Python's latest version from URL" www.python.org " You can also get information on Python scripting language from the above mentioned we…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question