[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] DHCP server support
From: |
Christoph Bayer |
Subject: |
Re: [lwip-users] DHCP server support |
Date: |
Fri, 17 Feb 2012 09:51:33 +0100 |
Am 16.02.2012 um 09:49 schrieb Simon Goldschmidt:
> "Christoph Bayer" <address@hidden> wrote:
>> I am now looking for a simple DHCP server build in top of it.
>
> There is the project "lwDHCP" on savannah which seems to try to do this, but
> I don't know what the status is. It doesn't seem like there is any code
> available. Other than that, I don't know about any DHCP servers for lwIP.
I have found this page, but there is no code on savannah and all external links
are dead.
> Anyway, I'm not sure lwIP is the correct stack for building a DHCP server,
> wouldn't it be easier to use linux for that? Out of interest, what are your
> goals of using lwIP, do you want it to act as a router, too, or why do you
> need it to be a DHCP server?
It would be easier to use Linux, but the MCU plus external memory would be much
more expensive in comparison to a small single MCU with internal RAM/Flash. It
should act a a router, between two network interface. So I need to implement
some kind of routing. This is just a proof of concept at the moment, so
performance doesn't matter. One interface is configured by the build-in dhcp
client from an external dhcp server, the other (over USB) configures the client
via the build-in dhcp.
Yesterday I did find a very basic dhcp server for lwip, after doing some fixes
it seems to work. If someone is interested, I would gladly share it after some
more code fixes.