[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dhcp server config question



I am trying to set up a DHCP server for my home network to run off of my
eth1 interface while my eth0 interface receives a dhcp address from my ISP
on my DSL. I get the following message about my eth0 interface


Milhouse:/home/zietlow# /etc/init.d/dhcp start
/etc/init.d/dhcp: [: =: unary operator expected
Internet Software Consortium DHCP Server 2.0pl4
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

Listening on LPF/eth1/00:a0:cc:e6:2d:3b/192.168.0.0
Sending on   LPF/eth1/00:a0:cc:e6:2d:3b/192.168.0.0
No subnet declaration for eth0 (172.30.12.157).
Please write a subnet declaration in your dhcpd.conf file for the
network segment to which interface eth0 is attached.
exiting.
Milhouse:/home/zietlow#


Here is my dhcp.conf file
# dhcpd.conf
#

# option definitions common to all supported networks...
option domain-name "the-rob.com";

option subnet-mask 255.255.255.0;
default-lease-time 6000;
max-lease-time 72000;

subnet 192.168.0.0 netmask 255.255.255.0 {
  range  192.168.0.56 192.168.0.234;
  option broadcast-address 192.168.0.255;
}
/etc/dhcpd.conf (END)


Any suggestions on what this delaration statement that needs to be put into
the dhcp.conf file is?

TIA
Rob



Reply to: