- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- default gateway remains
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
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
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-05-2008 04:36 AM
10-05-2008 04:36 AM
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 32808
10.1.0.33 10.1.0.33 UH 0 lan1 32808
10.1.0.35 10.1.0.35 UH 0 lan1:1 32808
192.168.10.21 192.168.10.21 UH 0 lan6 32808
10.1.0.0 10.1.0.33 U 3 lan1 1500
10.1.0.0 10.1.0.35 U 3 lan1:1 1500
192.168.10.0 192.168.10.21 U 2 lan6 1500
127.0.0.0 127.0.0.1 U 0 lo0 32808
default 10.1.0.254 UG 0 lan1 1500
default 172.19.252.193 UG 0 lan1 1500
2、 remove default gateway "172.19.252.193",vi /etc/rc.config.d/netconf, comment out following:
#ROUTE_DESTINATION[0]="default"
#ROUTE_MASK[0]=""
#ROUTE_GATEWAY[0]="172.19.252.193"
#ROUTE_COUNT[0]="1"
#ROUTE_ARGS[0]=""
#ROUTE_SOURCE[0]=""
3、then /sbin/init.d/net stop & start ,but
4、 gateway “172.19.252.193” remains
5、 OS, 11.31
6、what's the problem?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 05:16 AM - last edited on 06-28-2021 11:46 PM by Ramya_Heera
10-05-2008 05:16 AM - last edited on 06-28-2021 11:46 PM by Ramya_Heera
SolutionThe script /sbin/init.d/net doesn't include any code to *delete* routes - it works at startup obviously cos there's nothing in the table at all then.
To remove this route just run:
route delete default 172.19.252.193
I hope you have some way to connect to the system from other subnets after you run this.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 07:16 AM
10-05-2008 07:16 AM
Re: default gateway remains
You need to reboot your system for instant response.
Lots of network services are using the default gateway. These network services are causing the gateway to remain in memory in spite of the steps you have taken.
You do know your system will not be able to talk to the Internet and also perhaps internal servers when you get this to work the way you want?
The results of this change could be rather catastrophic if you are not careful.
Why are you trying to remove the gateway? Perhaps it would be better to change it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com