On Fri January 16 2009 00:17:02 Rod James Bio wrote: > Mike Bird wrote: > > On Thu January 15 2009 13:28:19 Rod James Bio wrote: > >> I was wondering if anyone had tried to configure a single linux dhcp > >> server to give IP to different network. We have multiple networks here > >> in our area and I am thinking of using a single dhcp server to serve all > >> other networks. > > > > It works fine, e.g.: > > > > authoritative; > > > > option nis-domain "snipped"; > > option domain-name "snipped"; > > option domain-name-servers 192.168.64.3; > > option netbios-node-type 8; > > option pop-server 192.168.64.19; > > option smtp-server 192.168.64.19; > > option www-server 192.168.64.20; > > default-lease-time 600; > > max-lease-time 7200; > > > > subnet 192.168.65.0 netmask 255.255.255.0 { > > option routers 192.168.65.1; > > option subnet-mask 255.255.255.0; > > option ntp-servers 192.168.65.3; > > option netbios-dd-server 192.168.65.3; > > option netbios-name-servers 192.168.65.3; > > range dynamic-bootp 192.168.65.33 192.168.65.254; > > } > > > > subnet 192.168.72.0 netmask 255.255.252.0 { > > option routers 192.168.72.1; > > option subnet-mask 255.255.252.0; > > option ntp-servers 192.168.72.3; > > option netbios-dd-server 192.168.72.3; > > option netbios-name-servers 192.168.72.3; > > range dynamic-bootp 192.168.72.33 192.168.72.254; > > range dynamic-bootp 192.168.73.33 192.168.73.254; > > } > > In this example what is the IP of your DHCP server?
The IP of a DHCP server is not particularly important. In this case the DHCP server's primary IP in the 192.168.65.0/24 network is 192.168.65.3 and it's primary IP in the .72.0/24 network is 192.168.72.3 but this particular server also has other IP addresses and connects to other non-DHCP networks. --Mike Bird P.S. Your emails are coming to the list with incorrect timestamps and/or timezones which cause them to appear out of order. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org