- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- System looses default gateway on system reboot
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-12-2005 05:29 AM
тАО12-12-2005 05:29 AM
System looses default gateway on system reboot
every time we reboot the server we lose the default gateway, this can be fixed by using the "route add default xxx.xxx.xxx" command after reboot, I have checked the /etc/rc.config.d/netconf file and it appears to be ok, any suggestions on why this is happening and how we can fix this. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 05:53 AM
тАО12-12-2005 05:53 AM
Re: System looses default gateway on system reboot
You can use SAM to set this.
or the set_parms ip_address
or edit /etc/rc.config.d/netconf
GATEWAY=ipaddress of gateway
ex
GATEWAY=192.168.0.254
Do not save an extra copy of netconf in /etc/rc.config.d/ back it up elsewhere. If there are two copies they both get processed.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 06:29 AM
тАО12-12-2005 06:29 AM
Re: System looses default gateway on system reboot
# netconf: configuration values for core networking subsystems
HOSTNAME="ugunhl16"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=xxx.xxx.xxx.xxx
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=xxx.xxx.xxx.xxx
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
GATED=0
GATED_ARGS=""
RDPD=0
RARP=0
ROUTE_GATEWAY[0]="xxx.xxx.xxx.xxx"
ROUTE_COUNT[0]="1"
ROUTE_DESTINATION[0]="default"
DHCP_ENABLE[1]=0
IP_ADDRESS[2]=xxx.xxx.xxx.xxx
SUBNET_MASK[2]=255.255.0.0
INTERFACE_NAME[2]=lan2
BROADCAST_ADDRESS[2]=xxx.xxx.xxx.xxx
INTERFACE_STATE[2]=up
ROUTE_DESTINATION=[4]="net 2.1.0.0"
ROUTE_MASK[4]="255.255.0.0"
ROUTE_GATEWAY[4]="xxx.xxx.xxx.xxx"
ROUTE_COUNT[4]="0"
IP_ADDRESS[3]=xxx.xxx.xxx.xxx
SUBNET_MASK[3]=255.255.0.0
INTERFACE_NAME[3]=lan3
BROADCAST_ADDRESS[3]=xxx.xxx.xxx.xxx
INTERFACE_STATE[3]=down
DHCP_ENABLE[2]=0
DHCP_ENABLE[3]=0
Note: The value for "ROUTE_GATEWAY[0]="xxx.xxx.xxx.xxx" " is the value for my default gateway. Do I still need to add this line to the netconf file
GATEWAY=xxx.xxx.xxx.xxx
Thanks for your help
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 06:33 AM
тАО12-12-2005 06:33 AM
Re: System looses default gateway on system reboot
There is a file there called netconf where you can set this information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 06:36 AM
тАО12-12-2005 06:36 AM
Re: System looses default gateway on system reboot
double check that there is no other file with similar name: netconf or netconf_blabla.. in the /etc/rc.config.d directory. at times it can pick up a file named "netconfold" before the "netconf" file name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 06:44 AM
тАО12-12-2005 06:44 AM
Re: System looses default gateway on system reboot
Check the permission/owner of /etc/hosts file and add the gateway.
Use netstat -nr to see wheteher it is set on boot.
Sometime people use hexadecimal in it. But use decimal instead.Or you have a typo in it.
Cheers ....007
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2005 02:19 AM
тАО12-23-2005 02:19 AM