1825720 Members
2934 Online
109686 Solutions
New Discussion

IP address change

 
SOLVED
Go to solution
Christos_7
Occasional Contributor

IP address change

I will change the ip address (modify /etc/hosts and /etc/rc.config.d/netconfig files) of a b2600 workstation with 10.20. Can I make the new IP active without rebooting the workstation?
little_helper
9 REPLIES 9
Michael Steele_2
Honored Contributor

Re: IP address change

No - its stored in the kernel
Support Fatherhood - Stop Family Law
Jean-Louis Phelix
Honored Contributor

Re: IP address change

Hi,

I think that you should rather use "set_parms ip_address" to do this. And also, I would strongly advise a reboot after that ...

Regards.
It works for me (© Bill McNAMARA ...)
Hai Nguyen_1
Honored Contributor

Re: IP address change

Christos,

I think you may change it without having to reboot the workstation.

Hai
T. M. Louah
Esteemed Contributor

Re: IP address change

It is recommended to reboot but stopping/starting the net script should do it :
# /sbin/init.d/net stop then start

Cheers,
Little learning is dangerous!
Pete Randall
Outstanding Contributor

Re: IP address change

I'm with Jean-Louis on this. Use /sbin/set_parms ip_address and it will prompt you to re-boot: do so.


Pete



Pete
T G Manikandan
Honored Contributor

Re: IP address change

The best way is to use

#set_parms ip_address

which should change the ip,update the files and then reboot the workstation


Thanks
James R. Ferguson
Acclaimed Contributor
Solution

Re: IP address change

Hi:

Manually editting '/etc/hosts' and '/etc/rc.config.d/netconf' is one way of chaning the IPAddress, although you will need to reboot or do:

# /sbin/init.d/net start

Another way is to run:

# /sbin/set_parms ip_address

...which will reboot.

Make sure that you make any requisite changes to your GATEWAY and/or network MASK when changing your IPAddress.

Regards!

...JRF...
Elena Leontieva
Esteemed Contributor

Re: IP address change

Run set_parms and see the options; make sure that IP is is the only option you want to change, then run set_parms with the option(s).
Make appropriate change on the switch if needed. Reboot. Do it from console.
Caesar_3
Esteemed Contributor

Re: IP address change

Hello!

Ofcource you can, edit the /etc/hosts
/etc/rc.config.d/netconf
or you can use the set_params utility with
parameters you want to change ip, hostname etc.
without accepting the option of reboot.

Choose one of the ways and in the end made

/sbin/init.d/net start

And the new parameters will start to work.

Caesar