- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hostname and IP
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
06-14-2008 10:48 AM
06-14-2008 10:48 AM
I am new to HP and know about how to set a new IP and hostname at a server?
Kindly help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2008 10:56 AM
06-14-2008 10:56 AM
Re: Hostname and IP
#set_parms ip_address
#set_parms hostname
set_parms â set system initial identity parameters: host name, date, time, root password, networking
http://docs.hp.com/en/B2355-60105/set_parms.1M.html
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2008 11:21 AM
06-14-2008 11:21 AM
Re: Hostname and IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2008 11:46 AM
06-14-2008 11:46 AM
Solution# ifconfig
http://docs.hp.com/en/B2355-90691/ifconfig.1M.html
To configure and initialize LAN manually, you must edit the /etc/rc/config.d.netconf file.
http://docs.hp.com/en/B2355-90796/ch03s04.html
#hostname [name_of_host]
http://docs.hp.com/en/B2355-90689/hostname.1.html
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2008 02:27 PM
06-14-2008 02:27 PM
Re: Hostname and IP
Please note that configuration with ifconfig is not permanent. To keep ip and hostname after reboot, you must edit netconf file.
Kenan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2008 05:38 PM
06-15-2008 05:38 PM
Re: Hostname and IP
just simply use :
#set_parms ip_address
#set_parms hostname
It will also automatic update entry in netconf file and /etc/hosts.
If you want to do it manual by using ifconfig you can use (example) :
# ifconfig lan0 10.128.1.200 255.255.255.0 up
And for hostname you can use command:
# hostname myhost
But better edit /etc/rc.config.d/netconf add line below for permanent hostname and ipaddress :
HOSTNAME="myhost"
ROUTE_DESTINATION[0]=default
ROUTE_GATEWAY[0]=10.128.1.1
ROUTE_COUNT[0]=1
IP_ADDRESS[0]=10.128.1.200
SUBNET_MASK[0]=255.255.255.0
INTERFACE_NAME[0]=lan0
BROADCAST_ADDRESS[0]=10.128.1.255
INTERFACE_STATE[0]=up
And after do this, restart network service using:
# inetd -c
It's better run this from console, because sometime missconfiguration make the network can not be startup and your session (ssh/telnet) already disconnected because restarting network.
EKO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2008 10:51 PM
06-15-2008 10:51 PM
Re: Hostname and IP
Bond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2008 11:54 PM
06-15-2008 11:54 PM
Re: Hostname and IP
Asif has given you the best option to set the IP and Hostname.
Other option is using SAM (In TUI or GUI)
> Select Networking and Communication
> Select Network Interface Card
> Select the Enabled Lan (Default is Lan0)
> Then Go to the Action Button and Select Modify System Name to Change the Hostname and again go to action and select Modify to Modify the IP address, and Subnet Mask.
Mohammad Sanaullah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 12:57 AM
06-16-2008 12:57 AM