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 05-27-2004, 08:01 PM   #1
kafnir
Member
 
Registered: Oct 2002
Location: USA
Distribution: Fedora and Ubuntu
Posts: 137

Rep: Reputation: 15
dhcpd-server problem


this this how the code look on /etc/dhcpd.conf
when I execute this command " /usr/sbin/dhcpd"
the kernel complaint that I need to have
" ddns-update-style ad-hoc"
can someone tell me how do I include it in the source code for dhcpd.conf

by the way, I trying to use my computer as a internet gateway and use dhcp-server so other computer
can connect to this one
I have a static ip for this computer

# for explanation in french go to : http://www.delafond.org/traducmanfr/...pd.conf.5.html
# shared-network "mynetwork"
subnet 192.168.1.0 netmask 255.255.255.0
{range 192.168.1.2 192.168.1.80;
range 192.168.1.85 192.168.1.222;
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.1, 192.168.1.20;}
option domain-name "cazoom.net";
subnet 216.199.48.23 netmask 255.255.255.255
{ authoritative;}
 
Old 05-27-2004, 08:25 PM   #2
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
Here is a example config that works.


Code:
# dhcpd.conf

authoritative;
ddns-update-style none;

log-facility local7;

subnet 192.168.0.0 netmask 255.255.255.0 {
  range 192.168.0.50 192.168.0.250;
  option domain-name-servers 68.168.224.162, 68.168.224.165;
  option domain-name "Blah.Blarg";
  option routers 192.168.0.1;
  option broadcast-address 192.168.0.255;
  default-lease-time 6000;
  max-lease-time 72000;
 
  


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
How to restart dhcpd on another server using SSH? hueofwind Linux - Newbie 17 11-23-2005 06:07 AM
dhcpd subnet declaration problems in dhcpd.conf vcrispo Linux - Networking 6 07-15-2005 10:32 AM
dhcpd (server) doesn't work !!! exalik Mandriva 1 09-03-2003 04:44 AM
dhcpd server leases wont work :( hath Linux - Networking 4 02-21-2002 05:21 PM
dhcpd server not letting go of leases Jase Linux - Networking 10 01-17-2002 05:57 PM

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

All times are GMT -5. The time now is 10:34 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