- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- Networking
- >
- Re: Default gateway goes after a reboot in HP UX 1...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- Report Inappropriate Content
04-18-2012 12:01 AM
04-18-2012 12:01 AM
SolutionHewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP