- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: change 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
02-17-2005 04:00 AM
02-17-2005 04:00 AM
change IP address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 04:05 AM
02-17-2005 04:05 AM
Re: change IP address
Change
/etc/hosts
/etc/rc.config.d/netconf
or use the script
# set_parms ip_address
and reboot.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 04:06 AM
02-17-2005 04:06 AM
Re: change IP address
Temporary
ifconfig lan0 192.168.0.15 netmask 255.255.255.0 up
This will crash certain networking programs, but it will instantly change the ip address.
You can use sam, but sam makes mistakes and sometimes makes double entries disabling all networking.
Way 2:
vi /etc/rc.config.d/netconf
Change the appropriate line. reboot the box or at least restart networking.
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
02-17-2005 04:13 AM
02-17-2005 04:13 AM
Re: change IP address
if you don't want reboot
first
vi /etc/rc.config.d/netconf
INTERFACE_NAME[5]="lan1"
IP_ADDRESS[5]="10.100.0.61"
SUBNET_MASK[5]="255.255.255.0"
BROADCAST_ADDRESS[5]=""
INTERFACE_STATE[5]=""
DHCP_ENABLE[5]=0
----------------------------------------
From shell
#ifconfig lan1 10.100.0.61
Change 10.100.0.61 with your ip address
change lan1 with your LAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 05:48 AM
02-17-2005 05:48 AM
Re: change IP address
/sbin/init.d/net stop; /sbin/init.d/net start
Make sure that your netmask, gateway, etc, don't also change, or you will have to edit those also.
In addition, you wnat to change one line in /etc/hosts:
NEW_IP hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 11:25 PM
02-17-2005 11:25 PM
Re: change IP address
net start
do not work for me !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 12:20 AM
02-18-2005 12:20 AM
Re: change IP address
vi /etc/rc.config.d/netconf
Search IP_ADDRES and applay modify.
/sbin/init.d/net stop
/sbin/init.d/net start
O
set_parms (this is a wizard)
By
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 01:25 AM
02-18-2005 01:25 AM
Re: change IP address
u can aslo set IP in command line.
#ifconfig lan0 x.x.x.x netmask x.x.x.x
or u can configure file /etc/rc.config.d/netconf
i love hp-ux.
thanks,
-piyut-