I have FreeBSD server (7.2) which has a lot of interfaces (vlans, count near 100). I want to configure DHCP server with separate pools for each interface. What program should I use? Thanks for any advices or config examples.

link|improve this question

feedback

migrated from superuser.com Jun 4 '10 at 9:41

This question came from our site for computer enthusiasts and power users.

1 Answer

up vote 0 down vote accepted

by reading http://www.freebsd.org/doc/en/books/handbook/network-dhcp.html#NETWORK-DHCP-SERVER you can find out, that you:

subnet 192.168.24.0 netmask 255.255.255.0 { ... }
subnet 192.168.23.0 netmask 255.255.255.0 { ... }
  • you can make isc-dhcp listen on the devices you want (/etc/rc.conf):
dhcpd_ifaces="dc0"
dhcpd_ifaces="vr0"

another option is to use dnsmasq, comes with a dns-cacher included.

link|improve this answer
Trying to configure using your advice. results will be later ... – Shamanu4 Jun 3 '10 at 7:53
Yes, It works. But I'm trying to write my own dhcp server on python for better config handling via database backend. – Shamanu4 Jun 8 '10 at 7:29
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.