- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- setup default 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
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
10-21-2005 10:41 PM
10-21-2005 10:41 PM
thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2005 10:48 PM
10-21-2005 10:48 PM
Re: setup default gateway
You can use "set_parms addl_netwrk"
One of the steps will be the default gateway, confirm the ones you already have and skip those you don't want.
Regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2005 10:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2005 10:55 PM
10-21-2005 10:55 PM
Re: setup default gateway
You can use "set_parms addl_netwrk" and follow the instructions or at command line you can fire:
# route add default
but in this case you will also have to modify /etc/rc.config.d/netconf to make the changes permanent.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2005 11:05 PM
10-21-2005 11:05 PM
Re: setup default gateway
/sbin/init.d/net start
after changing the netconf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2005 11:17 PM
10-21-2005 11:17 PM
Re: setup default gateway
Prior to adding the new address for gateway to file I would suggest check the routing by adding the same network as default gateway temporarily.
#route add default xx.xx.xx.xx
Man route for details.
When the destination can be reached through the same ass the same to the file to be permanent.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2005 12:17 AM
10-22-2005 12:17 AM
Re: setup default gateway
There is the command for adding default route.For example I am using 192.168.0.1 as a gate way IP. You can replace this with your gate way IP.
#route add default 192.168.0.1 1
The above default route will be invalid after rebootig the server. To make it permanent do the following steps.
#vi /etc/rc.config.d/netconf
add the following lines
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="172.17.112.11"
ROUTE_COUNT[0]=""
ROUTE_ARGS[0]=""
now restart network service.
#/sbin/init.d/net stop
#/sbin/init.d/net start
refer the following doc from HP.
http://docs.hp.com/en/B2355-90685/ch02s03.html#bcfdebbg
Hope this helps.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2005 01:12 AM
10-22-2005 01:12 AM
Re: setup default gateway
thank you