DHCP on multiple internal networks?

Hi,

I have a home network (power-user home license) with 2 internal networks: INT and Wireless.

How can I run astaro's DHCP on both networks?

I assume I can probably modify the .conf file
/var/chroot-dhcps/etc/dhcp.conf

but what about firewall rules? Will they need to be modified?

Thanks,
Barry
Parents Reply Children
  • I'm using 4.009. I got it working on 2 interfaces. I created a set of interface specific rules like those in AUTO_INPUT and AUTO_OUTPUT for dhcp on the second interface. Then I start a second dhcpd and specify the eth2 interface in the startup script. With just a hack to the dhcpd.conf-default file I couldn't get it to issue IPs in the range, just reserved IPs by MAC. Now both interfaces issue IPs from their configured ranges and IPs reserved by MAC. Now I need to tar.gz it together so I can reproduce it if I need to rebuild my ASL machine. 
  • OK. I forgot to mention that I also had to modify the 
    /etc/rc.d/dhcpd
    script, adding 'eth4' after $ARGS on the START line:
    chroot $CR /usr/sbin/dhcpd  $ARGS eth4 || ret_code=1

    If you do this, you should only need one daemon running.

    (eth4 is on our second dhcp network)

    Barry  
  • Ahhhhh. I see. I'll give it a try. It'd be better than creating the chroot-dhcps2 file system etc, etc, etc. We'll see if my request for a PUL get approved or not. If it doesn't I'll have to re-think my Wireless access point layout.