1834139 Members
2760 Online
110064 Solutions
New Discussion

Error with route delete

 
SOLVED
Go to solution

Error with route delete

Hi again!

I work with HP-UX 10.20

I run netstat -r command to show the routing table (see attach).

I need delete 192.1.29 and 192.1.29.1 addresses.

when I run this command

# route delete 192.1.29 192.1.29.1

This error appear:

"delete host 192.1.29: gateway 192.1.29.1: not in table"

Why this happens?

Thanks!

2 REPLIES 2
Richard Darling
Trusted Contributor
Solution

Re: Error with route delete

you need to use:

# route delete net 192.1.29 192.1.29.1

not:

# route delete 192.1.29 192.1.29.1

you just missed the word "net"

Richard Darling
Stefan Schulz
Honored Contributor

Re: Error with route delete

You need to use : route delete net ... because you are adressing a whole subnet and not only one single adress.
No Mouse found. System halted. Press Mousebutton to continue.