LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-27-2005, 04:36 AM   #1
riluve
Member
 
Registered: Nov 2004
Distribution: CentOS-4
Posts: 142

Rep: Reputation: 15
DHCP Server Config


I am trying to configure my little network with a DHCP using the following RPM: dhcp-3.0.1-10_EL3
OK - so basically, I want to have a DNS (192.168.0.37) which will serve domain names for any site I might be testing locally. I have declared first my local DNS then a DNS out on the internet. So, my DNS should have the corresponding fixed address. I think everything else is kinda standard, but do you guys see any issues/ problems with my configuration or is my entire idea (local DNS followed by a public DNS) bonk.

Also, how can I associate my router's mac address to a fixed address without using a zone (like I am trying to do with the DNS)? I don't see any facility in my router to give it a zone or subdomain or anything. Rather, I can only identify it via its MAC.

My dhcpd.conf
Code:
ddns-update-style interim;
ignore client-updates;
subnet 192.168.0.0 netmask 255.255.255.0 {
	option routers                  192.168.0.1;
	option subnet-mask              255.255.255.0;
	option domain-name              "umzero.com";
	option domain-name-servers      192.168.0.37, 64.202.165.4;
	option time-offset              -18000;	    # Eastern Standard Time
	range dynamic-bootp             192.168.0.50 192.168.0.100;
	default-lease-time              21600;      #6 hours
	max-lease-time                  2592000;    #month
	host ns {
		hardware ethernet 02:40:28:74:24:13;
		fixed-address 192.168.0.37;
       }
}
Well, I would appreciate any comments - tips - suggestions - donations

Last edited by riluve; 01-27-2005 at 05:05 AM.
 
Old 01-27-2005, 08:53 AM   #2
riluve
Member
 
Registered: Nov 2004
Distribution: CentOS-4
Posts: 142

Original Poster
Rep: Reputation: 15
can I do the "hardware" option on the same line as the "router declaration" or do I need to set up a sub-class or single item group or what?
 
  


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
config dhcp server meysam39 Linux - Networking 1 08-07-2005 10:16 AM
how can config dhcp server? jsnch Solaris / OpenSolaris 8 06-19-2005 08:35 PM
DHCP config problems Fritz_Monroe Linux - Newbie 7 06-16-2005 01:23 PM
DHCP server config problem Q25 Linux - Networking 2 07-18-2003 07:58 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM

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

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