IBM developerWorks
           Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old August 5th, 2002, 12:20 PM
ultra ultra is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 32 ultra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
How do I setup a dedicated IP

Hello,
I am running red hat 7.3. I currently have my network interface configured to use DHCP to recieve a dynamic ip address. I have searched the internet and I can't seem to find any dedicated ip HOWTO's. Can someone please tell me how to set one up. Also, do I still need to have DHCP configured, or can I just take that off?

Thanks

Reply With Quote
  #2  
Old August 5th, 2002, 01:03 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
there is no how-to since it is too easy. you use either dhcp or a static ip (this is the correct name). a three-line howto:

for the command line freak:
/etc/rc.d/dhcpcd stop (if you use dhcp-client-daemon)
ifconfig eth0 192.168.1.1 netmask 255.255.255.0

for the gui freak:
go to your control panel (can´t remember the name of redhat´s - was it "druid"?)
disable dhcp
setup your NIC to have a static IP and netmask.

that´s it. and it´s nearly all that can be said about it

the only howto-like material book about it is "tcp/ip basics" by anyone... or your redhat manual.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #3  
Old August 5th, 2002, 02:57 PM
Phreakazoid's Avatar
Phreakazoid Phreakazoid is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 9 Phreakazoid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
another way

the above post is 100% correct, but another way if you want it set to the static ip permanently is to edit your /etc/rc.d/rc.inet1 file and change the line :

IPADDR="1.1.1.1" # REPLACE with YOUR IP address!
NETMASK="255.255.255.128" # REPLACE with YOUR netmask!
NETWORK="1.1.1.0" # REPLACE with YOUR network address!
BROADCAST="1.1.1.255" # REPLACE with YOUR broadcast address, if you
# have one. If not, leave blank and edit below.
GATEWAY="1.1.1.1" # REPLACE with YOUR gateway address!

# To use DHCP instead of a static IP, set this value to "yes":
DHCP="no" # Use DHCP ("yes" or "no")

that is the Slackware 8 cfg, the file names under redhat may vary a little but its the same commands. Then it will always boot up using that static IP.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > How do I setup a dedicated IP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway