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

Notices



Reply
 
Search this Thread
Old 03-05-2002, 11:18 PM   #1
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
assigning ip address after install


where can i change the ip address of my rh7.2 box after installation? also, if i selected dhcp at the install stage, do i need to change this for the change in ip address to take effect?
 
Old 03-05-2002, 11:43 PM   #2
bbenz3
Member
 
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284

Rep: Reputation: 30
you can edit the file /etc/sysconfig/network-scripts/ifcfg-eth0
or you can type in setup at the command line and select network configuration.
 
Old 03-06-2002, 04:36 PM   #3
kervin
Member
 
Registered: Jan 2002
Location: Melbourne, FL.
Distribution: redhat
Posts: 168

Rep: Reputation: 30
run the '/usr/sbin/netconfig' program. This a simple ncurses program. There you can change from DHCP to STATIC and also modify your IP info.

'/usr/sbin/redhat-config-network' is a flashy gui that I think does the same thing and more. If you're curious, check out the other redhat-config-* programs in /usr/sbin.

For network changes to take place, all you need to do is to 'take down ' the interface and bring it up again. If you have only one interface and its a ethernet card, then it's usually called 'eth0'. So you can do 'ifdown eth0' or the more standard 'ifconfig eth0 down', then 'ifup eth0' or 'ifconfig eth0 up'.
 
  


Reply


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-18-2005 12:59 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 05:33 AM
dhcp networking not assigning address quwiltw Linux - Networking 9 12-22-2004 09:25 AM
assigning memory address to pointer irfanhab Programming 4 04-24-2004 04:35 AM
Assigning site-local ipv6 address to an interface goto Linux - Networking 0 03-24-2003 05:06 AM


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

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