Ik heb een probleem met dhcp te configgen hij wil niet doorstarten.
weet iemand de oplossing?
[root@server dhcp]# cat /etc/dhcpd.conf
# Sample /etc/dhcpd.conf
# (add your comments here)
server-identifier server.lan;
default-lease-time 28800;
max-lease-time 86340;
option subnet-mask 255.255.255.0;
subnet 192.168.1.0 netmask 255.255.255.0{
range 192.168.1.50 192.168.1.230;
default-lease-time 28800;
max-lease-time 86340;
option routers 192.186.1.1;
option domain-name-servers 192.186.1.1;
}
[root@server dhcp]# /etc/rc.d/init.d/dhcpd start
Starting dhcpd: Internet Software Consortium DHCP Server 2.0
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
No subnet declaration for eth0 (192.186.1.1).
Please write a subnet declaration for the network segment to
which interface eth0 is attached.
exiting.
weet iemand de oplossing?
[root@server dhcp]# cat /etc/dhcpd.conf
# Sample /etc/dhcpd.conf
# (add your comments here)
server-identifier server.lan;
default-lease-time 28800;
max-lease-time 86340;
option subnet-mask 255.255.255.0;
subnet 192.168.1.0 netmask 255.255.255.0{
range 192.168.1.50 192.168.1.230;
default-lease-time 28800;
max-lease-time 86340;
option routers 192.186.1.1;
option domain-name-servers 192.186.1.1;
}
[root@server dhcp]# /etc/rc.d/init.d/dhcpd start
Starting dhcpd: Internet Software Consortium DHCP Server 2.0
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
No subnet declaration for eth0 (192.186.1.1).
Please write a subnet declaration for the network segment to
which interface eth0 is attached.
exiting.