Results 1 to 3 of 3
Hi,
I'm trying to run a dhcp server on eth1, but I keep getting the error "bad subnet number/mask combination."
Can anyone help?
Here is my dhcpd.conf file:
default-lease-time 86400;
...
- 03-19-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 5
dhcp subnet/netmask combination
Hi,
I'm trying to run a dhcp server on eth1, but I keep getting the error "bad subnet number/mask combination."
Can anyone help?
Here is my dhcpd.conf file:
What is wrong with this combination and how can I find the right one?default-lease-time 86400;
max-lease-time 172800;
log-facility local7;
ddns-update-style ad-hoc;
#Basic subnet declaration
subnet 192.168.1.1 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.15;
}
Thanks,
Ewan
- 03-19-2009 #2Linux Newbie
- Join Date
- Sep 2004
- Location
- UK
- Posts
- 160
Try changing the subnet to 192.168.1.0
In a world without walls and fences, who needs Windows and Gates?
- 03-20-2009 #3Just Joined!
- Join Date
- Mar 2009
- Posts
- 5
Got it working, thanks!


Reply With Quote