Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

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

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

add comment

1 Answer 1

up vote 1 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.

share|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
    
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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