Operating System - HP-UX
1834594 Members
3623 Online
110069 Solutions
New Discussion

Re: Strange routing issue on HPUXi v2

 
SOLVED
Go to solution
William E Howard
Regular Advisor

Strange routing issue on HPUXi v2

I tried posting this earlier, but I think whatever it was ate it, since it is no longer there.

Running an rx2620 in my lab environment. Trying to get it up on the network. For some reason, it is unable to see the gateway or anything beyond it, but the local segment comes back fine.

Able to ping and telnet within subnet, but unable to ping gateway nor can anything beyond gateway ping it. Other machines (windows only) have no problem.

Have run set_parms numerous times, verified netconf and netstat, both look ok.

System Info Below:

# netstat -r
Routing tables
Destination Gateway Flags Refs Interface Pmtu
localhost localhost UH 0 lo0 4136
HouLab1 HouLab1 UH 0 lan0 4136
192.168.97.0 HouLab1 U 2 lan0 1500
loopback localhost U 0 lo0 0
default 192.168.97.1 UG 0 lan0 0

# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
192.168.97.238 192.168.97.238 UH 0 lan0 4136
192.168.97.0 192.168.97.238 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 192.168.97.1 UG 0 lan0 0



HOSTNAME="HouLab1"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1

INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.97.238
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0

GATED=0
GATED_ARGS=""

RDPD=0

ROUTE_GATEWAY[0]=192.168.97.1
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=255.255.255.0
2 REPLIES 2
IT_2007
Honored Contributor
Solution

Re: Strange routing issue on HPUXi v2

don't put information in ROUTE_MASK field.

ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="192.168.97.1"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""

Still if you do have problem then move /etc/rc.config.d/netconf file and then use set_parms to recreate it.
William E Howard
Regular Advisor

Re: Strange routing issue on HPUXi v2

IT_2007, I had tried that. I added the ROUTE_MASK since it didn't work without it and it was just a test.

I did finally manage to track it down. Issue was with my switch, set to ignore IP's above a certain number for security purposes. Network guy never told me about that little 'feature' he had setup.