Results 1 to 2 of 2
Thread: dhcp setup eth0
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
05-05-2004 #1
- Join Date
- Jul 2003
- Location
- Stockholm, Sweden
- Posts
- 1,296
dhcp setup eth0
bash-2.05b# dhcpd eth0
Internet Software Consortium DHCP Server V3.0pl2
Copyright 1995-2003 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Wrote 0 leases to leases file.
No subnet declaration for eth0 (0.0.0.0).
** Ignoring requests on eth0. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth0 is attached. **
here is the config file:
# Sample /etc/dhcpd.conf
# (add your comments here)
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "mydomain.org";
ddns-update-style ad-hoc;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}
subnet 0.0.0.0 netmask 255.255.255.0 {
range 0.0.0.0 0.0.0.2;
}
-
05-05-2004 #2
- Join Date
- Jul 2003
- Location
- Stockholm, Sweden
- Posts
- 1,296
thnx all i fixed it by reading the manpage properly!