HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I remove a 5.0.0.0 route in hp ux11.23 ia64 ?

 
epsunix
Occasional Contributor

How do I remove a 5.0.0.0 route in hp ux11.23 ia64 ?

The problem is that we have a 5.197 route defined, but for some reason all its traffic goes over lan3 -- which fails.

Im guessing that the (5.0.0.0) entry needs to be removed, as its taking precedence?

bash-3.2# uname -a
HP-UX sqprovp1 B.11.23 U ia64 2121393365 unlimited-user license

bash-3.2# netstat -nr
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
10.46.23.59 10.46.23.59 UH 0 lan1:3 4136
10.46.23.61 10.46.23.61 UH 0 lan1:1 4136
10.46.23.51 10.46.23.51 UH 0 lan1 4136
5.196.255.49 5.196.255.49 UH 0 lan3:1 4136
5.196.255.4 5.196.255.4 UH 0 lan3 4136
5.197.0.8 5.197.0.8 UH 0 lan4 4136
10.46.23.0 10.46.23.51 U 4 lan1 1500
10.46.23.0 10.46.23.59 U 4 lan1:3 1500
10.46.23.0 10.46.23.61 U 4 lan1:1 1500
5.196.255.0 5.196.255.4 U 3 lan3 1500
5.196.255.0 5.196.255.49 U 3 lan3:1 1500
5.197.0.0 5.197.0.8 U 2 lan4 1500
5.0.0.0 5.196.255.1 UG 0 lan3 0
127.0.0.0 127.0.0.1 U 0 lo0 0
default 10.46.23.1 UG 0 lan1 0
bash-3.2# ifconfig lan3
lan3: flags=1843
inet 5.196.255.4 netmask ffffff00 broadcast 5.196.255.255
bash-3.2# ifconfig lan4
lan4: flags=1843
inet 5.197.0.8 netmask fffffc00 broadcast 5.197.3.255
bash-3.2# ping 5.197.0.5
PING 5.197.0.5: 64 byte packets

----5.197.0.5 PING Statistics----
2 packets transmitted, 0 packets received, 100% packet loss
bash-3.2# ping 5.197.0.8
PING 5.197.0.8: 64 byte packets
64 bytes from 5.197.0.8: icmp_seq=0. time=0. ms
64 bytes from 5.197.0.8: icmp_seq=1. time=0. ms

----5.197.0.8 PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
3 REPLIES
Vishu
Trusted Contributor

Re: How do I remove a 5.0.0.0 route in hp ux11.23 ia64 ?

Hi,

you can remove the route ip as :-

route delete net 5.0.0.0 5.196.255.1

epsunix
Occasional Contributor

Re: How do I remove a 5.0.0.0 route in hp ux11.23 ia64 ?

Thanks, but that didn't do it either.

bash-3.2# route delete net 5.0.0.0 5.196.255.1
delete net 5.0.0.0: gateway 5.196.255.1: no such route
Laurent Menase
Honored Contributor

Re: How do I remove a 5.0.0.0 route in hp ux11.23 ia64 ?

get a netstat -nrv and a netstat -in
probably a netmask problem on the route
try a
route delete 5.0.0.0 netmask 255.255.0.0 5.196.255.1 1