[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
linuxpakistan.net • How to configure DHCP Server in Red Hat Linux ?
Page 1 of 1

How to configure DHCP Server in Red Hat Linux ?

Posted: Sat Apr 17, 2010 8:38 am
by gardenair
AOA,

I want to create a dedicated DHCP server in Red Hat Linux for a small office with a private range from 192.168.1.10 to 192.168.1.20

Kindly can u tell me the steps by which I may implement DHCP server.

thanks
garden

Posted: Sun Apr 18, 2010 4:19 am
by lambda

Posted: Mon Apr 19, 2010 11:14 am
by mudasir

Posted: Mon Apr 19, 2010 11:22 am
by gardenair
thanks fo the reply. well when I type on the following it show the result as

[root@pc1~]#rpm -qa dhcp
[root@pc1~]#

It just show me the prompt.I think the dhcp is not installed .Please let me guide that how may I install DHCP in the machine ?

Posted: Mon Apr 19, 2010 11:31 am
by mudasir
Which distro are you using

Posted: Mon Apr 19, 2010 12:29 pm
by gardenair
Red Hat Linux 4 AS

Posted: Mon Apr 19, 2010 1:52 pm
by mudasir
Use the Installation medium to install DHCP Server RPM then copy the config above.

Posted: Mon Apr 19, 2010 2:13 pm
by gardenair
thanks for the help. Well I want to know a basic question that for making a DHCP server in Linux does it require DNS server to resolve computer names.

Just for example. I have 10 computers (Windows xp and Fedora 7 ) in a my lab and all are connected through a workgroup envioroment with a IP Scheme 192.168.1. There is no gateway as well.

For assigning automatic IP addresses from Red Hat Linux Server does it need DNS and default gateway to work ?

2--- what changes should I apply in the DHCP configuration file which u have sent .Kindly if u make a little bit change for my own seanario should be too much gratefull.

Posted: Mon Apr 19, 2010 6:26 pm
by mudasir
Dear,

Its not necessary to give Default Gateway, but i am not sure about DNS as i have not tried this, but you can always test it out.

Posted: Wed Apr 21, 2010 11:34 am
by gardenair
well I have installed dhcp for test purpose. I have copy and past the dhcp configuration file in /etc/dhcpd.cong file

There is no router,no DNS and no default gate way. I want want that my clinet machine which is windows xp should automatically assign IP address. For that purpose how to make remarks like


IP of main default gateway
option routers 192.168.1.1;


should I use ; or rem to disable that line .

Posted: Wed Apr 21, 2010 1:14 pm
by mudasir
Dear i am not clear what do you want. Please clearly state what you need.

Posted: Mon Apr 26, 2010 10:22 am
by gardenair