LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-18-2009, 01:14 AM   #1
c3k
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
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; }

Last edited by c3k; 03-20-2009 at 01:10 PM.
 
Old 03-18-2009, 05:43 AM   #2
Raffles666
LQ Newbie
 
Registered: Oct 2008
Location: Manchester - UK
Distribution: Debian (Lenny)
Posts: 18

Rep: Reputation: 0
What is the result of ifconfig?
 
Old 03-18-2009, 09:56 AM   #3
c3k
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Raffles666 View Post
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)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP configuration honeybadger Linux - Networking 1 09-12-2008 09:35 AM
DHCP IP Configuration !!!! ajeetraina Linux - Newbie 3 02-05-2008 07:56 AM
Help DHCP configuration? tradewind Linux - Networking 2 06-30-2004 04:04 PM
nic/dhcp configuration humvee Linux - Newbie 4 10-07-2003 02:51 AM
RH 6.2 DHCP configuration SpanFool Linux - Networking 1 03-29-2001 11:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration