- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cannot set fefault gateway
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
01-04-2004 02:57 PM
01-04-2004 02:57 PM
Cannot set fefault gateway
I am uing HP-UX11i. I am not finding the option to add default gateway through sam.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 03:05 PM
01-04-2004 03:05 PM
Re: Cannot set fefault gateway
From the command line
# route add default xx.xx.xx.xx 1 (number of hops, usually 1)
You will then need to add this to the start-up file (/etc/rc.config.d/netconf)
Here is a snippet from mine:
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="10.10.10.1"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 03:09 PM
01-04-2004 03:09 PM
Re: Cannot set fefault gateway
#route add aa.aa.aa.aa default 1
or update the /etc/rc.config.d/netconf file
and restart the network services or reboot the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 03:27 PM
01-04-2004 03:27 PM
Re: Cannot set fefault gateway
It should be. sam->network & communication->hosts->action->add default gateway
I have another five server. They give me the menu. but with this particular server i donot get the menu. pls find the attachment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 06:10 PM
01-04-2004 06:10 PM
Re: Cannot set fefault gateway
sam -> Networking and communcications -> hosts -> Local Hosts File
Then I have in the action menu a Modify Default Gateway.
I have tested and this option is available on HP-UX 10.20 too, for instance. Perhaps your problem is that you don't have a default gateway yet.
Have you tried setparms to change the default gateway yet ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 08:11 AM
01-06-2004 08:11 AM
Re: Cannot set fefault gateway
ipconfig lanx 192.5.5.7 255.255.255.0
route add default 192.5.5.3 255.255.255.0 1
The subnet mask can also be important.
I have found that the file named /etc/rc.config.d/netconf is important for the next reboot. Use lanscan to get current info for your lan card, or "netstat -in".
Hopefully that helps. (I don't need to know what I also want to know why.)
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 08:29 AM
01-06-2004 08:29 AM
Re: Cannot set fefault gateway
#set_parms addl_netwrk
Dave