- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can't assign 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
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-08-2006 02:53 AM
тАО12-08-2006 02:53 AM
Can't assign IP address
I'm trying to congigure the IP address to my server, but when i restart the server the IP adrress is set to 0.0.0.0.
Inside the system i restart the net service like this
/sbin/init.d/net stop
/sbin/init.d/net start
and set the IP address like
ifconfig lan0 192.25.10.2
The system don't issue any errors and works well. However i restart the server and again the IP address is 0.0.0.0.
I modified the file /etc/rc.config.d/netconf with the IP before mentioned, restart the server and again the IP is set to 0.0.0.0.
What can i do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2006 02:57 AM
тАО12-08-2006 02:57 AM
Re: Can't assign IP address
ifconfig: check plumbing error: Bad file Number
I do the troubleshooting for that error but the fail persists!!
Tks all for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2006 03:01 AM
тАО12-08-2006 03:01 AM
Re: Can't assign IP address
127.0.0.1 localhost loopback
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2006 03:03 AM
тАО12-08-2006 03:03 AM
Re: Can't assign IP address
# ioscan -funC lan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2006 03:03 AM
тАО12-08-2006 03:03 AM
Re: Can't assign IP address
# ioscan -funC lan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2006 03:38 AM
тАО12-08-2006 03:38 AM
Re: Can't assign IP address
After restarting the server have u checked the /etc/rc.log , is there any errors logged for /sbin/init.d/net start
In the /etc/rc.config.d directory are the corresponding files for network card types are configured
something like hpbase100conf , hpetherconf files are there to be checked under /etc/rc.config.d
In my system the following configured in the file hpbase100conf
HP_BASE100_INTERFACE_NAME[0]=lan0
# HP_BASE100_STATION_ADDRESS[0]=0XXXXXXX
HP_BASE100_STATION_ADDRESS[0]=
HP_BASE100_SPEED[0]=100FD
thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2006 07:32 AM
тАО12-08-2006 07:32 AM
Re: Can't assign IP address
The easy way to set the IP address would be to go into SAM and set it:
SAM -> Networking and Communications -> Network Interface Cards
-Select the interface which you would like to change and select 'Configure'
Once you set the Address and exit from SAM, you can view /etc/rc.config.d/netconf to see the changes that have been made.
Here's an example block from a netconf file that sets the IP address:
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.25.10.2
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=192.25.10.255
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
You may wish to set the default gateway as well:
ROUTE_DESTINATION[0]=default
ROUTE_GATEWAY[0]=192.25.10.1
ROUTE_COUNT[0]=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2006 10:05 PM
тАО12-10-2006 10:05 PM
Re: Can't assign IP address
to set ip address you should use
'set_parms ip_address'
This is also used when you install UX for the first time.
See also 'man set_parms'
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2006 04:49 AM
тАО12-11-2006 04:49 AM
Re: Can't assign IP address
Ok.
The /etc/hosts its ok.
I put the ip in the /etc/rc.config.d/netconf but when i restart the server again doesn't keeps the configuration and the ip address is 0.0.0.0
What can i do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2006 11:21 AM
тАО12-11-2006 11:21 AM
Re: Can't assign IP address
OK, so you editted '/etc/rc.config.d/netconf'. You may be over-writing the correct hostname if you have an improperly named file in the '/etc/rc.config.d/' directory.
It *is* allowed to have backup files in '/etc/rc.config.d/' as long as their basename contains any one of the characters:
.,~#
...as an extension of the file's basename.
Files with these extensions are *skipped*. Thus, you could have a current 'netconf' and a backup one named:
netconf
netconf.old
...BUT you should *NOT* have something like:
netconf
oldnetconf
...because, in that case, 'netconf' would be sourced first, followed by 'oldnetconf' causing the variables in 'oldnetconf' to overwrite those already set in the environment when 'netconf' was sourced.
Regards!
...JRF...