LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-09-2009, 12:38 PM   #1
prodigy40
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
dhcp.conf help


as a school project i am currently working on setting up a linux server (fedora 11) that will be used as both a web server and a file server. The project is set up as a scenario therefore i'm doing it with VMWare. The server will have two network cards, one of which will connect directly into my school's (CMT) network and get a 192.168.121.something address, and the other will have following information set in it statically.

IP Address: 10.1.2.1
Subnet Mask: 255.255.255.0
Gateway: (leave blank)
DNS: 161.109.127.11 and 161.109.128.2

however hopefully i already have that part set up correctly. The issue came up after installing dhcpd and i had to make the dhcp.conf file with the following information, which i haven't successfully done. I'd be greatfull for any any help given on making the file work properly.

=======================
Install the DHCP server (called dhcpd). Create a configuration file (/etc/dhcpd.conf) and configure it with the following information:


DNS server: 161.109.127.11 and 161.109.128.2
WINS server: 10.1.2.1 (which is the Linux server, by the way)

The configuration file will have three sections.

The top options, which apply to all DHCP clients that get information from this server, and then a section for each subnet you are connected to (in other words, each network card you have in the computer).

One subnet section will be for the 192.168.121.0/255.255.255.0 subnet, which is the CMT network, and you will need to leave this section blank. Put the section in, but don't have anything inside the brackets.

The other subnet section will be for the 10.1.2.0/255.255.255.0 network, and you will need to add a range of IP addresses that the workstations will get, as well as what their gateway will be.
==========================

soo thats about it, if you need any more info just ask and i'll do my best to supply it.
 
Old 08-09-2009, 12:53 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
 
  


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.conf Pedroski Linux - Networking 11 06-02-2004 12:52 PM
Not getting an IP address with DHCP conf headsman Linux - Networking 15 03-11-2004 01:14 PM
dhcp.conf missing kjsubbu Linux - Networking 4 09-11-2003 08:44 AM
dhcp.conf or dhcpd.conf? rogerbennett Linux - Networking 3 09-03-2003 12:25 PM
dhcp.conf can't find in rh 7.1 xtian500 Linux - Software 1 11-09-2001 12:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:28 AM.

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