- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to delete route
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
тАО04-27-2004 02:24 AM
тАО04-27-2004 02:24 AM
> netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
172.16.10.22 172.16.10.22 UH 0 lan1 4136
172.16.10.54 172.16.10.54 UH 0 lan1:2 4136
172.16.10.55 172.16.10.55 UH 0 lan1:1 4136
default 172.16.0.2 UG 0 lan1 0
When I try to remove them via the "route" command, I get the following errors:
> route delete 172.16.10.54 172.16.10.54
delete host 172.16.10.54: gateway 172.16.10.54: no such route
> route delete host 172.16.10.54 172.16.10.54
delete host 172.16.10.54: gateway 172.16.10.54: no such route
> route delete net 172.16.10.54 172.16.10.54
delete net 172.16.10.54: gateway 172.16.10.54: no such route
> route delete 172.16.10.54 255.255.255.255 172.16.10.54
delete host 172.16.10.54: gateway 255.255.255.255: no such route
> route delete 172.16.10.54 255.255.0.0 172.16.10.54
delete host 172.16.10.54: gateway 255.255.0.0: no such route
I've tried a few others as well. Anyone know how to remove these routes?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 02:28 AM
тАО04-27-2004 02:28 AM
Re: Unable to delete route
Then restart the network services.
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 02:31 AM
тАО04-27-2004 02:31 AM
Re: Unable to delete route
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 02:36 AM
тАО04-27-2004 02:36 AM
Re: Unable to delete route
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 03:12 AM
тАО04-27-2004 03:12 AM
Re: Unable to delete route
route delete 172,16.10.54 172.16.10.22
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 03:17 AM
тАО04-27-2004 03:17 AM
Re: Unable to delete route
delete host 172.16.10.54: gateway 172.16.10.22: no such route
Alas, no.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 03:24 AM
тАО04-27-2004 03:24 AM
Re: Unable to delete route
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 03:45 AM
тАО04-27-2004 03:45 AM
Re: Unable to delete route
ifconfig lan1:1 down
ifconfig lan1:2 down
and then try to delete the route .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 03:47 AM
тАО04-27-2004 03:47 AM
Re: Unable to delete route
you can flush the routing table by using
route -f
Make sure you have a connection to the server through console if you loose connection doing this.
Do a "netstat -rn" to check and see the current routing table. If you don't see the default gateway over there,
use
route add default ip_add_of_def_gw 1
now telnet out of that system to another and see if it works. Do a netstat to check the new routing table.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 04:05 AM
тАО04-27-2004 04:05 AM
Re: Unable to delete route
Try to add to the command parameter subnet:
route delete host 172.16.10.54 subnet 255.255.255.0
or may be you have to use ffffff00 format
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 04:07 AM
тАО04-27-2004 04:07 AM
Re: Unable to delete route
BTW, route -f was tried by the previous person working on this issue and it essentially removed the default route and nothing else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 04:11 AM
тАО04-27-2004 04:11 AM
Re: Unable to delete route
subnet: bad value
> route delete host 172.16.10.54 subnet 0xffff0000
subnet: bad value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 04:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 04:17 AM
тАО04-27-2004 04:17 AM
Re: Unable to delete route
nydhora1@/etc/rc.config.d> ifconfig lan1:2
ifconfig: no such interface
nydhora1@/etc/rc.config.d> netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
172.16.10.22 172.16.10.22 UH 0 lan1 4136
172.16.10.55 172.16.10.55 UH 0 lan1:1 4136
172.30.18.100 172.16.0.198 UGH 0 lan1 0
172.16.0.0 172.16.10.22 U 2 lan1 1500
default 172.16.0.2 UG 0 lan1 0
Success! That is one messed up way to control your network. Or is it just me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 04:20 AM
тАО04-27-2004 04:20 AM
Re: Unable to delete route
First thing to do is run the netstat command in verbose more
netstat -rvn
Then enter rhe route delete command to match the output - probably something like
route delete host 172.16.10.54 netmask 255.255.255.0 172.16.10.54
You must match the route exactly. So if the netmask is not 255.255.255.0 then enter it as the netstat -rvn command displays it.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 04:21 AM
тАО04-27-2004 04:21 AM
Re: Unable to delete route
Thanks for your reply, but I had tried that. I had tried every combo imaginable. Only setting the interface address to 0.0.0.0 did it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 04:25 AM
тАО04-27-2004 04:25 AM
Re: Unable to delete route
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2004 07:56 AM
тАО06-29-2004 07:56 AM
Re: Unable to delete route
netstat -nvr returns:
10.10.32.0/255.255.255.0 172.16.254.253 UG
route delete net 10.10.32.0 netmask 255.255.255.0 172.16.254.253
returns a syntax error
route delete net 10.10.32.0 netmask 0xffffff00 172.16.254.253
is succesful!
Hope this helps some other poor soul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2007 01:39 AM
тАО03-30-2007 01:39 AM