- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing IP address
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
Forums
Discussions
Discussions
Discussions
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
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
03-18-2002 10:46 AM
03-18-2002 10:46 AM
Changing IP address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 10:51 AM
03-18-2002 10:51 AM
Re: Changing IP address
simple go to /etc put new IP address in hosts file instead of old.
go to /etc/rc.config.d and put new gateway IP in netconf
shutdown system , move to new location and reboot.
good luck
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 10:53 AM
03-18-2002 10:53 AM
Re: Changing IP address
also check you dont have the IP address instead of the hostname at the bottom of the /var/adm/inetd.sec file as this will stop it from booting properly.
cheers
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 10:56 AM
03-18-2002 10:56 AM
Re: Changing IP address
Just follow the steps below :
#cd /etc/rc.config.d
# vi netconf and edit following lines in this file.
INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="10.2.0.33"
SUBNET_MASK[0]="0xfffffe00"
BROADCAST_ADDRESS[0]="10.2.1.255"
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
Put repective values for IP and Subnets etc....and save the file.
1. edit /etc/hosts file and add your new IP address and hostname entry in that file.
Then reboot the machine or do following of you do not want to reboot it
#/sbin/init.d/net stop
#/sbin/init.d/net start
Thanks,
-Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 10:58 AM
03-18-2002 10:58 AM
Re: Changing IP address
netstat -in
this will tell you the curreny IP address assigned to the LAN card.
-Rusty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 11:02 AM
03-18-2002 11:02 AM
Re: Changing IP address
You can also use:
#set_parms ip_address
to change your IP.
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 11:03 AM
03-18-2002 11:03 AM
Re: Changing IP address
set_parms ip_address may be safer.
You still will need to make any changes to your host or dns entry. If you don't use dns and other servers talk to this machine, the remote host file will need changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 12:53 PM
03-18-2002 12:53 PM
Re: Changing IP address
It might be cleaner/easier ( if you are not familiar with the system ) to go into Sam, Networking and Communications.
Then select "Internet Addresses" to update the host file.
Then select "Network Interface Cards" to change the IP address on your NIC. This updates /etc/rc.config.d/netconf.
HTH,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 02:30 PM
03-18-2002 02:30 PM
Re: Changing IP address
Try this
set_parms ip_address
and you have to erboot the system and then you are good to go.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 03:34 PM
03-18-2002 03:34 PM
Re: Changing IP address
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 11:19 PM
03-18-2002 11:19 PM
Re: Changing IP address
#set_parms ip_address
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 12:19 AM
03-19-2002 12:19 AM
Re: Changing IP address
1.
#ifconfig lan# inet
The character "#" is a value of 0,1, ... up to the inteface number that you want to configure.
2.
Vi the file /etc/rc.config.d/netconf and modify the following entry :
IP_ADDRESS[#]=
SUBNET_MASK[#]=
BROADCAST_ADDRESS[#]=
ROUTE_GATEWAY[#]=
The character "#" is the instance number of the interface number that you are reconfiguring ( is a value 0,1,2, ...)
3. Reboot your system and midification will take effect after that.
Magdi