Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Dhcp server for astaro 2.000

Hi.
I've seen some requests for a dhcp server for astaro.

The replies coming from astaro development/marketing were not very kind. I memory serves me, someone said that astaro is not an application server but a firewall, so a dhcp server was out of question. 

In my opinion, if a computer is acting as a DNS server, a Proxy Server, a Mail Server and so on and so on, it can also serve some IP addresses on it's internal lan interface...

Anyway, I needed one and had to pack it myself. If somebody is interested, you can download it from http://astaro.comm.it/dhcpd.asl2000.tar.gz  

It's very simple and requires you to write your own dhcpd.conf file, but it's been working for the last few months here.

Regards,
Davix


This thread was automatically locked due to age.
  • DavixC,

         This is great!  I do just have one question, is it possible to modify this for using dhcp on eth1 & eth2 simultaneously?

    Thanks,
    Mike

     
    quote:
    Originally posted by DavixC:
    Hi.
    I've seen some requests for a dhcp server for astaro.

    The replies coming from astaro development/marketing were not very kind. I memory serves me, someone said that astaro is not an application server but a firewall, so a dhcp server was out of question. 

    In my opinion, if a computer is acting as a DNS server, a Proxy Server, a Mail Server and so on and so on, it can also serve some IP addresses on it's internal lan interface...

    Anyway, I needed one and had to pack it myself. If somebody is interested, you can download it from http://astaro.comm.it/dhcpd.asl2000.tar.gz  

    It's very simple and requires you to write your own dhcpd.conf file, but it's been working for the last few months here.

    Regards,
    Davix

  • If memory serves me right, you have to define which subnets dhcpd should serve. So if eth0 is on 192.168.1.0/24 and eth1 is on 192.168.2.0/24 just define both in dhcpd.conf and dhcpd should listen to requests from both subnets aka ethernet devices. I guess man dhcpd and man dhcpd.conf may give you the definite answer here.

    Good luck,
    Patrick
  • Mike,

    dhcpd requires you to have a definition for each of the interfaces if should serve. 

    look at the startup script. There's a define called IFS there you place the interfaces dhcpd should listen (i.e. "eth1 eth2").

    You need a corresponding definition in dhcpd.conf

    DavixC.