- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Default Gateway Remove
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
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
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-26-2003 07:28 PM
тАО10-26-2003 07:28 PM
Default Gateway Remove
I already configured a defaltgateway for my HP UNIX Server rp8400 from SAM but i dont know how to remove it.Any body can help?
THANKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2003 07:31 PM
тАО10-26-2003 07:31 PM
Re: Default Gateway Remove
pl take a break and read ur replies. pl go thro docs.hp.com
pl ask all ur questions together.
HTH
aparna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2003 08:15 PM
тАО10-26-2003 08:15 PM
Re: Default Gateway Remove
Use
route delete default 1
but be sure if you are on a different network from you'r server you will loose connection from the server if you'r default route is active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2003 09:35 PM
тАО10-26-2003 09:35 PM
Re: Default Gateway Remove
If you only use a "route delete" command your default gateway will be set (as set in netconf) after a reboot.
So change the next part of the netconf file:
ROUTE_DESTINATION[n]="default"
ROUTE_MASK[n]=""
ROUTE_GATEWAY[n]="1.1.1.1"
ROUTE_COUNT[n]="1"
ROUTE_ARGS[n]=""
Activate the new netconf using /sbin/init.d/net start
Be aware of the warning in a previous reply, if you are using the gateway via a network session you wil loose the connection!.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2003 10:38 PM
тАО10-26-2003 10:38 PM
Re: Default Gateway Remove
i thing the best solution is to modify the file /etc/rc.config.d/netconf
change the following lines
ROUTE_DESTINATION[n]="default"
ROUTE_MASK[n]=""
ROUTE_GATEWAY[n]="1.1.1.1"
ROUTE_COUNT[n]="1"
ROUTE_ARGS[n]=""
by this way your modification is permanent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 12:43 AM
тАО10-27-2003 12:43 AM
Re: Default Gateway Remove
It should be noted that if a non-default subnet mask was applied at route creation, it must again be stipulated in the route delete. The default mask is 255.255.255.0
Run
netstat -rvn
To see if a non-default mask is in play.
Rgds,
Jeff