LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-07-2002, 05:48 AM   #1
Shaun
LQ Newbie
 
Registered: Jun 2002
Posts: 1

Rep: Reputation: 0
Question manual setup for dhcp sever using redhat 7.0 for newbie


I have two Pentium 1's, coupled together with a hub.
One machine is loaded with redhat 7 server installation and the other dual boot with Redhat 7 / Windows 98.
I now need to configure dhcp server from scratch using command line syntax.
I have been reading the Minihowto's but feel scared as I might damage a working OS.
Could you please guide me were to start.

Thanking you for your Patience

Shaun
 
Old 06-07-2002, 12:35 PM   #2
system
Member
 
Registered: Dec 2001
Distribution: LFS, RH, Slack
Posts: 104

Rep: Reputation: 15
You want to setup the redhat server box as the dhcp server, right? How many NIC cards does it have, just one? Use "ifconfig" to make sure that the network card is turned on.

Setting up dhcpd is EXTREMELY easy. Just follow the DHCP mini-howto. Start with section 4 and ignore the rest of it.

First, run "route add -host 255.255.255.255 dev eth0"
Then use vi, the text editor, to add "/sbin/route add -host 255.255.255.255 dev eth0" on the last line of the file /etc/rc.local

Do you know how to use vi at all?

When you run ifconfig, what address does eth0 have? ex: 192.168.1.1
This will probably be the network you will want dhcpd to assign addresses on. Go ahead and edit the /etc/dhcpd.conf file so that it matches the example in 4.3 of the howto. Don't worry about screwing this file up right now. Dhcpd isn't trying to start up yet, so it doesn't matter if the settings are perfect yet.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Sever Different VLAN srikanthrao_d Linux - Networking 8 05-04-2011 02:53 PM
manual setup of dhcp client pelgrimforever Linux - Newbie 6 09-04-2004 07:36 AM
How do I setup a DHCP server on RedHat 9 xsabre Linux - Newbie 1 06-23-2004 05:48 PM
Mandrake DHCP sever setup woas... AudioMechanic Linux - Networking 1 06-15-2003 08:54 PM
setup a dhcp server with suse 8.2 or redhat 6.2/9.0 The_SUSE_NEWBE Linux - Networking 1 06-10-2003 09:53 AM


All times are GMT -5. The time now is 03:07 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration