Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-05-2004, 05:32 AM   #1
LQ Newbie
Registered: Mar 2004
Location: Amsterdam, The Netherlands
Distribution: RH9
Posts: 1

Rep: Reputation: 0
Changing dhcp ip -> fixed ip

I have two servers here which obtain their ip address through dhcp. The dhcp server was set to give out a fixed ip address on their mac addresses. Now that the router (dhcp server) has died I had to get a new router. The new router doesn't support this feature, so I have to change the settings on the server from dhcp to a fixed ip. Does anyone know how this can be done? I looked through alot of faqs and howtos but didn't read an anwser to my question.

On the servers I use RH9 and RH7.

I forgot to tell you that I don't have a gui available.

I have found the solution to my problem:

in the directory /etc/sysconfig/network-scripts/ you can find the scripts that define the settings for the nic, called ifcfg-eth# (ifcfg-eth0 in my case).

For static IPs




Last edited by Lakani; 05-05-2004 at 08:36 AM.


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: Problem in assigning fixed address to clients libregeek Linux - Networking 6 11-17-2005 11:59 PM
QUERY: CD changing bug fixed? kevingpo Fedora 0 06-10-2005 10:54 AM
DHCP with fixed IPs alithenake Slackware 4 03-18-2005 09:02 AM
Fixed IP Address with DHCP dgreenbean Linux - Networking 9 09-19-2004 01:12 PM
Reasons to change fixed IPs in our Lan to DHCP? mfeoli Linux - Networking 1 02-02-2004 11:34 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:58 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