- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to change IP Address on HPUX 10.20
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 11:35 PM
тАО12-01-2005 11:35 PM
how to change IP Address on HPUX 10.20
I changed the IPAddress but its showing eroor
Error lan0 interface ifconfig
which daemons i want to run for network
and also tell me
how to change iP address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 11:40 PM
тАО12-01-2005 11:40 PM
Re: how to change IP Address on HPUX 10.20
You can use the set_parms command
# set_parms ip_address
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 11:42 PM
тАО12-01-2005 11:42 PM
Re: how to change IP Address on HPUX 10.20
What did you do to change it the first time.
Permanent change:
vi /etc/rc.config.d/netconf
Restart the system or at least networking after this:
/sbin/init.d/net stop
/sbin/init.d/net start
ifconfig command to make a temporary change, see the man page for details
set_parms may let you do these changes interactively.
SAM can also do it for you but often makes mistakes.
See /var/adm/syslog/syslog.log for details on the actual problem.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 11:42 PM
тАО12-01-2005 11:42 PM
Re: how to change IP Address on HPUX 10.20
The simplest way to change the IPAddress is to run:
# /sbin/Set_parms ip_address
A reboot is required.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 11:50 PM
тАО12-01-2005 11:50 PM
Re: how to change IP Address on HPUX 10.20
I believe it's
/sbin/set_parms ip_address
without the capital "s".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 11:55 PM
тАО12-01-2005 11:55 PM
Re: how to change IP Address on HPUX 10.20
Yup, thanks, Pete. My brain meant :
# /sbin/set_parms ip_address
...while my finger tweaked the second "s" erroneously :-))
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 11:58 PM
тАО12-01-2005 11:58 PM
Re: how to change IP Address on HPUX 10.20
it is also advisable to do it from the server console also.
also, backup the config files just in case...
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2005 11:58 PM
тАО12-01-2005 11:58 PM
Re: how to change IP Address on HPUX 10.20
but i want to change to lan0 how to do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 12:03 AM
тАО12-02-2005 12:03 AM
Re: how to change IP Address on HPUX 10.20
What's up with that?
I reccommend rebooting after anything other than a SAM network change or set_parms ip_address
Both of those commands are smart enough to straigten out neworking.
If you get funky rpc or NFS errors, boot it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 12:13 AM
тАО12-02-2005 12:13 AM
Re: how to change IP Address on HPUX 10.20
i did what u said
set_parms ipaddress after reboot
#netstat -rn output
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
10.20.11.145 127.0.0.1 UH 0 lo0 4136
The New Ipadderss is assigning to lo0 Interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 12:26 AM
тАО12-02-2005 12:26 AM
Re: how to change IP Address on HPUX 10.20
Did the change in IP address you made change your default gateway? I suspect so. I don't see a default gateway. You should run:
# /sbin/set_parms addl_netwrk
...and verify and/or change settings appropriately.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 01:08 AM
тАО12-02-2005 01:08 AM
Re: how to change IP Address on HPUX 10.20
ifconfig lan0 inet 172.21.134.26
route add 172.21.134.26 172.21.134.1
its working temporarly but how should i go for permanently
but /etc/rc.config.d/netconf i entered IP address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 02:12 AM
тАО12-02-2005 02:12 AM
Re: how to change IP Address on HPUX 10.20
If you made your updates dynamically, then yes, absolutely, you need to make the appropriate changes in '/etc/rc.config.d/netconf'. Make sure that you have defined ROUTE_DESTINATION, ROUTE_GATEWAY and ROUTE_COUNT for instance.
Regards!
...JRF...