1826320 Members
4114 Online
109692 Solutions
New Discussion

Re: New IP address

 
SOLVED
Go to solution
Tony500
Advisor

New IP address

Hi everyone,
I have an HP9000 D Class running 10.2 that is being moved to a new building within our wan and I have to change the IP address. Could anyone tell me what the Network interface configuration tool for doing this is?
Thanks,
Tony
You can usually find me at www.constantreader.net
10 REPLIES 10
harry d brown jr
Honored Contributor

Re: New IP address

vi
&
shutdown -r -y 0

live free or die
harry
Live Free or Die
Tony500
Advisor

Re: New IP address

vi which files?
You can usually find me at www.constantreader.net
Sridhar Bhaskarla
Honored Contributor
Solution

Re: New IP address

To change the IP address,

edit /etc/rc.config.d/netconf and /etc/hosts replace the old IP with new IP.

Shutdown the system. Move it and bring it backup. It should come up with new IP.

Make sure you update your DNS if you are using DNS.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
John Poff
Honored Contributor

Re: New IP address

Hi,

You can use 'sam' to change the IP address but it usually messes up your config files by putting in extra entries, which is why Harry refers to using vi. You'll just need to vi the /etc/rc.config.d/netconf file and also fix your /etc/hosts file.

JP
Pete Randall
Outstanding Contributor

Re: New IP address

Tony,

Harry (and others) will scream about this, but I've always had favorable results with /sbin/set_parms ip_address.

Try it, you'll like it.

Pete

Pete
Robert-Jan Goossens
Honored Contributor

Re: New IP address

Hi Tony,

Just run below command from command line.

# set_parms ip_address

Robert-Jan.
Ken Hubnik_2
Honored Contributor

Re: New IP address

User set_parms and pick which pieces you need to change.
harry d brown jr
Honored Contributor

Re: New IP address

Pete,

You got that right :-)

Maybe it's just the bad luck I've had with using it, especially when changing a machines, IP Address & Gateway & subnet-mask. Had I used vi I would have been done within 2 minutes!

live free or die
harry
Live Free or Die
Scott_14
Regular Advisor

Re: New IP address

Hey Tony:

If you vi the netconf file like someone had said, you can at least see where the ip comes from and just change it there, and you may want to see if you need to change your gw address as well.

scott

Jeff Schussele
Honored Contributor

Re: New IP address

IF you vi - don't forget your /etc/hosts file.

Also don't forget to consider any licenses that are IP-bound.

And if you use DNS, have that changed as well no matter how you change the system's IP.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!