The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Changing IP address Lutchumaya Windows & DOS: Issues & Discussions 1 01-30-2007 12:36 PM
changing MAC address caltiger IP Networking 8 09-07-2006 06:22 AM
Changing the ip address ubed IP Networking 1 11-21-2005 05:42 PM
Changing the IP Address jyoung AIX 2 05-31-2005 07:52 AM
Changing MAC address of a NIC wretch UNIX for Advanced & Expert Users 3 09-09-2002 09:22 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-28-2002
champion champion is offline
Registered User
  
 

Join Date: Jul 2002
Posts: 64
Changing IP address

Hi,

I am going to shift my Unix workstation to another lab. So I need to change the IP address.

Please tell me how to change the Network IP address, what is the commands, what to take care?

Thank you very much and have a very nice day.
  #2 (permalink)  
Old 11-28-2002
norsk hedensk norsk hedensk is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
man ifconfig


also some systems have tools to do it for you. what os are you using?
  #3 (permalink)  
Old 11-29-2002
Ralf's Avatar
Ralf Ralf is offline
Registered User
  
 

Join Date: Oct 2002
Posts: 34
Quote:
I am going to shift my Unix workstation
Well i Guess Unix so ipconfig won't work :Hugerolleyes:

If you have to change the IP then you should check with you system administrator to obtain the new IP. They should help you re-set the machine depending on how they like to set-up the network.
  #4 (permalink)  
Old 11-29-2002
norsk hedensk norsk hedensk is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
the command 'ifconfig' is used to configure network devices, aswell as to set the ip address of the specified NIC. i asked what OS because different distros and varients use different methods. as far as i know ifconfig can be used, but come OS's have tools that will do it for you.
  #5 (permalink)  
Old 11-30-2002
merlin
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
ifconfig?

I've never used ifconfig to change a IP when I always want it to have that as a IP. I run Solaris 7 & 8 + Sun OS. Ifconfig is used to change a IP yes. BUT after you restart the system it'll go back to the IP that is in the host table.

ifconfig is a temp thing. It wont keep the IP you added with ifconfig after a reboot.

As the above post says we need to know what your O/S is.

In Solaris though I'd change the /etc/hosts file, and whatever else I would like to change.



Just remember ifocnfig is only for temp IP's. It's good to know and handy to use if you work on more then one network.
Closed Thread

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:19 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0