Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-07-2002, 04:48 AM   #1
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

Old 06-07-2002, 11:35 AM   #2
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 dev eth0"
Then use vi, the text editor, to add "/sbin/route add -host 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:
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.


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 01:53 PM
manual setup of dhcp client pelgrimforever Linux - Newbie 6 09-04-2004 06:36 AM
How do I setup a DHCP server on RedHat 9 xsabre Linux - Newbie 1 06-23-2004 04:48 PM
Mandrake DHCP sever setup woas... AudioMechanic Linux - Networking 1 06-15-2003 07: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 08:53 AM > Forums > Linux Forums > Linux - Networking

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

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