1825662 Members
3531 Online
109686 Solutions
New Discussion

updating ip address

 
sandra ramos
Occasional Advisor

updating ip address

I'm igniting a server and the ip address needs to be updated upon its completion. What's the best way to update? thru SAM?

Thanks
8 REPLIES 8
Sundar_7
Honored Contributor

Re: updating ip address

/sbin/set_parms is the best way to initialize some of the parameters including ip address if you are not comfortable with editing files directly.

# /sbin/set_parms ip_address

to set just the ip_address

# /sbin/set_parms initial

for entire boot-time sequence.
Learn What to do ,How to do and more importantly When to do ?
YoungHwan, Ko
Valued Contributor

Re: updating ip address

sam => Networking and Communications => Network Interface Card =>
Select Lan Card using space key(ex. Fast Ethernet lan0 0/0/0/0 Disabled )
=> Action => Modify or Configure

Another method is using setparm.
Refer Sundar's reply.

And another method is modify the file
/etc/hosts and /etc/rc.config.d/netconf
Rick Garland
Honored Contributor

Re: updating ip address

Use the set_parms command. It also has other features associated with it that could be useful. (timezone, domain info, etc)
sandra ramos
Occasional Advisor

Re: updating ip address

Thanks. Another question. When prompted with "really cancle non-interactive install and start interface I mistakenly put N instead of Y. What impact will this have?
Bill Hassell
Honored Contributor

Re: updating ip address

That's actually what you wnat to do. The non-interactive install just restores everything with no chance to make any changes. I always run the make_tape_recovery command with the interactive option so it is always interactive. It saves a lot of time in case I see some changes that need to be made (such as IP address, hostname, router, DNS server, size of filesystems, etc).


Bill Hassell, sysadmin
john kingsley
Honored Contributor

Re: updating ip address

Be aware that if you have multiple LAN interfaces, and use set_parms to configure your IP Address, set_parms will only configure the first lan interface (lan0). You will have to configrure the other interfaces another way.
Joe Short
Super Advisor

Re: updating ip address

I would have gone with the interactive install fromthe ignite image. That way, the IP address and other parameters could be adjusted as a part of the installation, and be there at boot time.
Francisco J. Soler
Honored Contributor

Re: updating ip address

Hi sandra,

please, collaborate with the forums, you must assign points, in your profile we can read:

I have assigned points to 0 of 43 responses to my questions.

Thanks
Frank
Linux?. Yes, of course.