Sponsored Content
Full Discussion: Changing IP address
Top Forums UNIX for Dummies Questions & Answers Changing IP address Post 32584 by merlin on Saturday 30th of November 2002 10:02:33 AM
Old 11-30-2002
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.

Smilie

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.
merlin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Changing IP address with set_params

I want to change the IP address of my computer (743i card using HP-UX 10.2) using "set_params ip_address". The problem is the following: 1. I'm using a touch panel to enter in the IP address. 2. The set_params routine asks two questions; do I want to use the IP address entered and do I want... (3 Replies)
Discussion started by: maddog0606
3 Replies

2. UNIX for Advanced & Expert Users

Changing Machine IP address

Hopefully someone can help with this. I need the command to change the IP address on a machine (7 Replies)
Discussion started by: kkinnon
7 Replies

3. AIX

Changing the IP Address

I need to change the IP address on one of your Unix machines - P630, AIX5.2. I plan on using SMIT to perform this function. These are the steps that I have put together so far: 1. Select Communications Applications & Services - Select TCP/IP - Select Minimun Configuration & Startup... (2 Replies)
Discussion started by: jyoung
2 Replies

4. IP Networking

Changing the ip address

Help me save my Unix box. I've had this Unix box (Enterprise 450) for about 7 years now. It was being used as a file server for a Macintosh Prepress department. All of our networking was done through Helios Etharshare. I am still currently up and online (however the location has changed). Our ip... (1 Reply)
Discussion started by: ubed
1 Replies

5. IP Networking

changing MAC address

hi, i wanted to know how to change the MAC id of the machine i`m using.. I know the MAC is permanent n on the ROM, but i wanted to know if there was any way to change it during tht particular session.. also.. if it was possible.. could it be kept changed for sometime...? (8 Replies)
Discussion started by: caltiger
8 Replies

6. Windows & DOS: Issues & Discussions

Changing IP address

Hi ,,, i just come across this forum and i make it a must to be pay a visit here everyday and through it am learning a lots of things which am sure i will be able to share later... So i have a prob with my pc when i try to change my Ip address in the dos command using ipconfig command i got a... (1 Reply)
Discussion started by: Lutchumaya
1 Replies

7. Post Here to Contact Site Administrators and Moderators

changing my email address

Hello, Is there a link somewhere to my profile where I can change my email address to my new work email address? I have a new job and would like to receive a notification of responses to my new work address - how can I get that address to you without posting it online for everyone to see? ... (1 Reply)
Discussion started by: tekster757
1 Replies

8. UNIX for Dummies Questions & Answers

HOW TO Changing ip address advice

Hi, I am new to solars admin. My company want to change the ip adress presently it is 10 series they want to 20 serices i have done like this 1) #ifconfig -a (to check the interface) 2) #ifconfig <interface> new ipaddress up 3) #vi /etc/hosts 20.*.*.* wq! presently my version is 9 please... (3 Replies)
Discussion started by: phatan
3 Replies

9. AIX

changing ip address

Hi, I am using aix 5300-07, I am facing strange issue in aix. I have changed the ip address and gateway of aix server , it is showing the right ip address but it is taking old gateway ip address. I have used netstat -r command and found it is showing 2 Default gateway. I want to... (2 Replies)
Discussion started by: manoj.solaris
2 Replies

10. IP Networking

Changing IP address

My work has a Unix based system that currently has the IP address 192.9.2.25 We recently changed internet providers from DSL to Cable. By doing so, we had to get a new router (Belkin) since the DSL provider had a wireless router/modem in one. With the DSL setup, I was able to change the router's... (2 Replies)
Discussion started by: Len351
2 Replies
RARPD(8)						      System Manager's Manual							  RARPD(8)

NAME
rarpd - reverse address resolution protocol daemon SYNOPSIS
rarpd [-d] DESCRIPTION
Rarpd listens on the ethernet for broadcast packets asking for reverse address resolution. These packets are sent by hosts at boot time to find out their IP address. Rarpd looks up the six octet ethernet number in the /etc/ethers file finding a host name. This name is trans- lated to the IP address of the host by a DNS lookup. The IP address is then sent to the host. Before rarpd can start its service it first finds out what the IP addresses of the ethernets are. It will look through /etc/ethers to map the ethernet addresses to host names. It then uses /etc/hosts to map the host names to IP addresses. If this lookup fails then several RARP requests are broadcasted in the hope that some RARP server knows the addresses. The IP addresses are eventually set in the same way as ifconfig(8). (The address is not changed if already set with ifconfig.) Note that the host names in the ethers and hosts files must match exactly. The DNS can not be used yet, so a simple name can't be translated to a fully qualified name. Rarpd exits after startup if there are no active ethernets, or if there is no ethers file. Warning! Sun diskless workstations assume that the first RARP server that answers is the host they are to boot from. For this to work all other Sun RARP servers delay their answer if they are not also the requestors boot server. The Minix rarpd does not have this kludge so it will happily engage the Sun boot server to see who can answer the client first. Unless your Minix host can actually serve a Sun diskless client, it is better not to list any more hosts in the ethers file than necessary. OPTIONS
-d Turns on debugging messages. Debugging can also be turned on at runtime by sending signal SIGUSR1 or turned off with SIGUSR2. SEE ALSO
ifconfig(8), ethers(5), hosts(5), set_net_default(8), boot(8), inetd(8), irdpd(8), nonamed(8). AUTHOR
Kees J. Bot (kjb@cs.vu.nl) RARPD(8)
All times are GMT -4. The time now is 07:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy