Computing.Net > Forums > Linux > Configuring DHCP in RHEL4

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Configuring DHCP in RHEL4

Reply to Message Icon

Name: raji10k
Date: December 30, 2008 at 20:00:59 Pacific
OS: win 2003
CPU/Ram: 2gb
Product: Intel / DG33
Comment:

Hai Frndz

I would like to configure DHCP in my REDHAT EL 4,I have 40 computers in my network, can any one please help me to configure the server.

Thanks in Advance
Happy New Year



Sponsored Link
Ads by Google

Response Number 1
Name: unixmen
Date: January 6, 2009 at 09:29:14 Pacific
Reply:

cat /etc/sysconfig/network-scripts/ifcfg-eth0
OUTPUT for static IP (example)
#
# File: ifcfg-eth0
#
DEVICE=eth0
IPADDR=192.168.1.100
NETMASK=255.255.255.0
BOOTPROTO=static
ONBOOT=yes
#
# The following settings are optional
#
BROADCAST=192.168.1.255
NETWORK=192.168.1.0

edit the file with nano or vi
nano /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82557/8/9 [Ethernet Pro 100]
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:D0:B7:08:09:BB (your Mac adress)
ONBOOT=yes


reboot the machine

Regards
http://www.unixmen.net


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Configuring DHCP in RHEL4

DHCP In SuSE Linux 8.2 Pro www.computing.net/answers/linux/dhcp-in-suse-linux-82-pro/20520.html

DHCP www.computing.net/answers/linux/dhcp/10369.html

configuring fa311 in linux-mandrake 7.1 www.computing.net/answers/linux/configuring-fa311-in-linuxmandrake-71/5019.html