LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DHCP configuration (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-configuration-712416/)

c3k 03-18-2009 01:14 AM

DHCP configuration
 
below is a copy of my dhcpd.conf file. When I start dhcpd I get
No subnet declaration for restart (0.0.0.0).
There is one nic card. It is assigned a 172.16.1.24 address and serves addresses to machines on 172.16.0.0 network.

Any suggestion on what to do to correct my configuration would be appreciated.

---

ddns-update-style interim;

option domain-name "cc.com";

subnet 172.16.0.0 netmask 255.255.0.0 {
authoritative;
option subnet-mask 255.255.0.0;
option broadcast-address 172.16.255.255;
option routers 172.16.0.1;
option domain-name-servers 12.36.22.25, 208.67.222.222;
max-lease-time 7200;
default-lease-time 3600;
allow bootp;
}

host stevelap { hardware ethernet 00:e0:98:07:a4:a5; fixed-address 172.16.1.1; }

Raffles666 03-18-2009 05:43 AM

What is the result of ifconfig?

c3k 03-18-2009 09:56 AM

Quote:

Originally Posted by Raffles666 (Post 3479222)
What is the result of ifconfig?


[root@dhcp etc]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:5A:4A:3C:FE
inet addr:172.16.1.24 Bcast:172.16.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1711399 errors:0 dropped:0 overruns:0 frame:0
TX packets:53951 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:268746516 (256.2 Mb) TX bytes:16524350 (15.7 Mb)
Interrupt:11 Base address:0x1c00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2721 errors:0 dropped:0 overruns:0 frame:0
TX packets:2721 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2025740 (1.9 Mb) TX bytes:2025740 (1.9 Mb)


All times are GMT -5. The time now is 02:04 PM.