- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to Save route delete ...?
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
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
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-06-2006 07:24 PM
тАО10-06-2006 07:24 PM
I used route delete to delete route of 10.0.0.0 from the system route table.
Now, I need to save this change to the system. This route delete must be performed whenever that we have reboot. How must I do that? ( I saved my route changes in the "/rc.config.d/netconf" file, but I don't know how to save route delete?!)
Thank you.
Mozhdeh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2006 07:33 PM
тАО10-06-2006 07:33 PM
Re: How to Save route delete ...?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2006 05:46 PM
тАО10-07-2006 05:46 PM
Re: How to Save route delete ...?
Thanks for your answer, but one of my server interfaces is in the LAN with this IP: 10.1.11.x , so when I reboot this server, it add this route in its route table:
10.0.0.0 10.1.11.100 ...
I have to delete this route because don't want to route all of 10.0.0.0 to this interface. So I need this route to be deleted automatically. How can I do that?
Sincerely,
Mozhdeh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2006 01:06 AM
тАО10-08-2006 01:06 AM
SolutionYour problem then must be ultimately caused by the netmask setting on your 10.1.11.100 interface. Each interface automatically gets an autogenerated "direct" route according to the IP address and netmask settings.
(When you remove this direct route, no traffic should go out through that interface - so you might actually be able to disable that interface completely!)
The 10.x.x.x is part of the so-called Class-A addresses, so HP-UX gives it the default netmask of 255.0.0.0 (0xff000000 in hex, or /8 if expressed as a number of 1 bits) unless you specify a different netmask. These address classes are a remnant of early history of the IP protocol - in modern networks, the HP-UX's choice of a default netmask amounts to just a wild guess.
The combination of netmask and IP address should normally describe the set of hosts that are directly reacheble through that interface, without using a router. The default netmask of 255.0.0.0 is apparently too wide for your network. You should find out the correct netmask: for example, netmask 255.255.0.0 (or 0xffff0000) will cause your interface to have a "direct" route to 10.1.*.*, and netmask 255.255.255.0 (0xffffff00) will make the direct route as narrow as 10.1.11.*.
If you cannot change the netmask, your network is either badly configured or contains some very old devices. In this case, if you're unable to fix the root cause (the netmask) you may have to treat the symptom by writing a custom startup script that does the necessary "route delete"... but I'd strongly prefer fixing the netmask problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2006 04:52 PM
тАО10-08-2006 04:52 PM
Re: How to Save route delete ...?
Thank you very much for your answer.
All of your descriptions are true. This network has been configured very very bad. We have another net with this IPs: 10.2.x.x, so I must route each net traffics to its own net. When I use this statement:
"Route add 10.1.11.x 255.255.255.0 10.1.11.100 ... ",
It set netmask with 255.0.0.0 not 255.255.255.0 so all of the 10.x.x.x packets go to the, for example 10.1.11.100 interface!
I have to add all of my 7 static routes for the 10.1.11.x network manually, and then delete 10.0.0.0 route of route table. Then route 0.0.0.0 to the next interface!
Ok, that was my problem, as you told, I have to write a script to delete that route.
Thank you for your guides.
Sincerely,