- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Default gateway goes after a reboot in HP UX 11.31
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
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
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
04-16-2012 09:05 PM
04-16-2012 09:05 PM
Hi,
My Default gateway goes after a reboot of server.
Each time after i reboot i need to forcibly add the gateway.
Please suggest how to overcome this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2012 11:17 PM
04-16-2012 11:17 PM
Re: Default gateway goes after a reboot in HP UX 11.31
My netconf file entry
INTERFACE_NAME[1]="lan2"
IP_ADDRESS[1]="Y.Y.Y.Y"
SUBNET_MASK[1]="255.255.255.0"
DHCP_ENABLE[1]="0"
ROUTE_GATEWAY[1]="X.X.X.X"
ROUTE_DESTINATION[1]="default"
ROUTE_COUNT[1]="1"
Gated and rdpd daemon is also not running
# GATED: Set to 1 to start gated daemon.
# GATED_ARGS: Arguments to the gated daemon.
#GATED=0
#GATED_ARGS=""
#
# Router Discover Protocol daemon configuration. See rdpd(1m)
#
# RDPD: Set to 1 to start rdpd daemon
#
#RDPD=0
Dead gateway Detection is also turned off
cdcdrncpapp01:root-/]ndd -get /dev/ip ip_ire_gw_probe
0
this value is also returming 0.
What i have to check next...
Please help folks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2012 11:58 PM
04-16-2012 11:58 PM
Re: Default gateway goes after a reboot in HP UX 11.31
My first instinct is to wonder why the indexes in your netconf file are starting at [1] rather than [0], but then you are only showing us an extract rather than the whole contents... it would be interesting to see the whole file minus the comments - can you post the output of:
sed -e 's/#.*//g' -e '/^$/d' /etc/rc.config.d/netconf
I am an HPE Employee
- Tags:
- sed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2012 09:19 PM
04-17-2012 09:19 PM
Re: Default gateway goes after a reboot in HP UX 11.31
Dear Duncun,
Please find the requsted output
HOSTNAME="cdcdrncpapp01"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
ROUTE_SOURCE[0]=""
ROUTE_SKIP[0]=""
RARPD=0
INTERFACE_NAME[1]="lan2"
IP_ADDRESS[1]="X.X.X.X"
SUBNET_MASK[1]="255.255.255.0"
DHCP_ENABLE[1]="0"
ROUTE_GATEWAY[1]="Y.Y.Y.Y"
ROUTE_DESTINATION[1]="default"
ROUTE_COUNT[1]="1"
Since gated and rdpd daemon creates problem, i have commented that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2012 09:39 PM
04-17-2012 09:39 PM
Re: Default gateway goes after a reboot in HP UX 11.31
I just wonder if route command during the boot sequence is failing ?
Then, there must be some error from route command logged in /etc/rc.log file after the lines:
Configure LAN interfaces
Output from "/sbin/rc2.d/S340net start":
----------------------------
Just a thought.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2012 11:25 PM
04-17-2012 11:25 PM
Re: Default gateway goes after a reboot in HP UX 11.31
OK, so that doesn't look right - first off, as I said, really the index on those arrays should really start at 0, not 1, also there are some stray ROUTE_ entries in there that do start at zero... change the file so when you run the sed command you see the following:
HOSTNAME="cdcdrncpapp01"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
RARPD=0
INTERFACE_NAME[0]="lan2"
IP_ADDRESS[0]="X.X.X.X"
SUBNET_MASK[0]="255.255.255.0"
DHCP_ENABLE[0]="0"
ROUTE_GATEWAY[0]="Y.Y.Y.Y"
ROUTE_DESTINATION[0]="default"
ROUTE_COUNT[0]="1"
ROUTE_SOURCE[0]=""
ROUTE_SKIP[0]=""
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2012 12:01 AM
04-18-2012 12:01 AM
Solution