- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to modify routing table
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
09-23-2002 07:59 AM
09-23-2002 07:59 AM
how to modify routing table
gemini# netstat -rnv
Routing tables
Dest/Netmask Gateway Flags Refs Interface Pmtu
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0 4136
194.63.1.31/255.255.255.255 194.63.1.31 UH 0 lan0 4136
194.63.0.0/255.255.0.0 194.63.1.31 U 2 lan0 1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0 0
default/0.0.0.0 194.63.131.20 UG 0 lan0 0
I'd like to remove 2nd rule
but "route delete 194.63.1.31 netmask 255.255.255.255 194.63.1.31" returns:
usage: delete destination [netmask mask] gateway
how could i remove it?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2002 08:02 AM
09-23-2002 08:02 AM
Re: how to modify routing table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2002 08:06 AM
09-23-2002 08:06 AM
Re: how to modify routing table
Try
route delete 194.63.1.31 194.63.1.31
If you get error , route not in table, try
route delete net 194.63.1.31 194.63.1.31
HTH
Steve
ps
It does look as though the entry is incorrect though as I would expect to see a route to a network via a gateway. In your example you have a route to a network via the same address as the gateway
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2002 08:06 AM
09-23-2002 08:06 AM
Re: how to modify routing table
???...
Why do you want to delete this route?.
You can try not using netmask and mask parameters. It is a host entry.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2002 08:22 AM
09-23-2002 08:22 AM
Re: how to modify routing table
You may like to look at this :
http://www2.itrc.hp.com/service/cki/docDisplay.do?docId=200000049791567
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2002 08:23 AM
09-23-2002 08:23 AM
Re: how to modify routing table
delete host 194.63.1.31: gateway 194.63.1.31: no such route
route delete net 194.63.1.31 194.63.1.31 delete rule 3!
gemini# route delete host 194.63.1.31 netmask 255.255.255.255 194.63.1.31
usage: delete destination [netmask mask] gateway
I'd like to have a final situation like:
Routing tables
Dest/Netmask Gateway Flags Refs Interface Pmtu
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0 4136
194.63.0.0/255.255.0.0 194.63.1.71 U 2 lan0 1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0 0
default/0.0.0.0 194.63.131.20 UG 0 lan0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2002 08:35 AM
09-23-2002 08:35 AM
Re: how to modify routing table
As I mentioned before, it is a host route internal to the system and I am not positive if we can delete it.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2002 08:58 AM
09-23-2002 08:58 AM
Re: how to modify routing table
I am sure you can delete that route. But what i would like to question alongwith with Sri, is that why are u deleting your system route.
That route pertains to your network interface.
Also, why are you keeping the other routes without your primary network route.
Regards,
Anil