- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to set IP Address in B10.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
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
09-09-2004 03:38 PM
09-09-2004 03:38 PM
My B10.20 just crashed, I was able to cloned from another similar server.. how do I configure the IPaddress, hostname (which is currently "gx21_hp" and will like to change it to "gx24_hp"..) I have tried using sam..but when booting.. the checklist prompted network interface (FAILED)... rc.log reveal connection failure..
In addition...what is the command to reveal my current ipaddress and use for pinging other server? thanks!
THank SO MUCH YOU FOR YOUR ADVISE!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 03:44 PM
09-09-2004 03:44 PM
SolutionFirst of all you would need to make sure that you are configuring the IP address for the correct interface. Since you cloned it from another system, you may have to simply change the IP addresses in /etc/rc.config.d/netconf file. Edit that file and change the hostname, IP address, subnetmask, default router and details of the other network interfaces if any.
Also edit /etc/hosts and correct the IP addresses and the hostnames.
Not but not the least, one of the dangers from cloning systems is that the MAC addresses may get carried from the old systems. Go to /etc/rc.config.d and grep for the lan interface from hp*conf files. For ex., if the interface is 'lan0' then do
#cd /etc/rc.config.d/
#grep lan0 hp*conf
Find out the file that has this entry in it and make sure you delete the MAC addresses portion in that file. If you found an entry, then I suggest you reboot the box. If there is no entry, enable the network configuration using the command
/sbin/init.d/net start
/sbin/init.d/net.init start
See if you can be able to ping the IP. If it doesnt' work, then post the outputs of
1. lanscan
2. netstat -in
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 07:18 PM
09-09-2004 07:18 PM
Re: How to set IP Address in B10.20
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=80.0.0.2
SUBNET_MASK[0]=255.0.0.0
BROADCAST_ADDRESS[0]=80.255.255.255
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
Your IP Should be assigned to the proper Interface.There shouldn't be any other issues.
regards
SK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 09:41 PM
09-09-2004 09:41 PM
Re: How to set IP Address in B10.20
when i clone a 10.20 server, and want to change his address, i just modify 2 files :
1) /etc/rc.config.d/netconf - lines :
HOSTNAME=toto
IP_ADDRESS[0]=x.y.z.t
SUBNET_MASK[0]=255.255.0.0
BROADCAST_ADDRESS[0]=x.y.255.255
also, i you change your network, modify :
ROUTE_GATEWAY[0]=u.v.w.a
2) /etc/hosts It is important to not forget this file : you have to modify the hostname/ip address :
x.y.z.t toto. toto
Olivier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 02:14 AM
09-10-2004 02:14 AM