- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Default gate way
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
10-26-2003 06:27 PM
10-26-2003 06:27 PM
Default gate way
I already configured a default gateway on my HPUX SERVER rp8400 by using SAM from hosts file but now i can not remove it could any body has any idea how to remove defualt gate way?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2003 06:56 PM
10-26-2003 06:56 PM
Re: Default gate way
/etc/rc.config.d/netconf
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 03:07 AM
10-27-2003 03:07 AM
Re: Default gate way
Hi
Use netstat -nr to find the default gateway.
to delete,
#route delete default gateway_address.
where default_gateway is the ip address of the default gate wasy as shown in netstat -nr
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 08:07 AM
10-27-2003 08:07 AM
Re: Default gate way
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 04:18 PM
10-27-2003 04:18 PM
Re: Default gate way
Follow this step :
# route -f
-f Delete all route table entries that specify a remote host for a gateway. If this is used with one of the subcommands, the entries are deleted before the subcommand is processed.
Edit "netconf" file a part of default gateway setting portion.
# vi /etc/rc.config.d/netconf
Re-read the file by this commands.
# /sbin/init.d/net stop
# /sbin/init.d/net start
Best Regards
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 04:30 PM
10-27-2003 04:30 PM
Re: Default gate way
# netstat -nr ( I have cut and paste the last line only):
default 192.168.1.10 UG 0 0 lan1 1500
# route delete 192.168.1.10
# netstat -nr ( again to make sure the default gateway has gone away).
This is to remove it temporarly from the routing table.
# vi /etc/rc.config.d/netconf
and clear the default gateway the following field:
ROUTE_DESTINATION[0]="0.0.0.0"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="192.168.1.10"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
# /sbin/init.d/net stop
# /sbin/init.d/net start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 05:46 PM
10-27-2003 05:46 PM
Re: Default gate way
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=240142
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 09:14 PM
10-27-2003 09:14 PM
Re: Default gate way
NETWORKING
HOSTS
ACTIONS--->DEFAULT GATEWAY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2003 01:29 AM
10-28-2003 01:29 AM
Re: Default gate way
First edit your /etc/rc.config.d/netconf
stop your network.
#./sbin/init.d/net stop
# route -f
# netstat -rn ( just to make sure the old route is not there)
# ./sbin/init.d/net start
#netstat -rn
Please let me know if this works.
Thanks
Pratyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2003 03:17 AM
10-28-2003 03:17 AM
Re: Default gate way
After saving the file, you should run "/sbin/init.d/net stop" and then "/sbin/init.d/net start" to refresh network setting.