cancel
Showing results for 
Search instead for 
Did you mean: 

network issue

1221
Advisor

network issue

Hi,

 

we cannot connect to certain servers in our network, we have two Hp-UX 11.31servers, both the servers are in same IP segment, they can connect/ping to certain servers but cannot connect to most of the servers, the network admin is saying that there is no restrictions from there side, they have allowed the communication of these servers with the other servers.

Still we cannot ping/connect to other servers from these two, and when I connect the same network cable to a lartop to troubleshoot the issue, the laptop with the same IP can ping to all the servers, but these HP-UX servers cannot communicate.

 

Please help me check the network configuration on these servers,

 

Server1 Host file:

10.241.16.106 htst01.kmc.med htst01
10.241.16.102 htst02.kmc.med htst02

 

Server2 Host file:

10.241.16.106 htst01.kmc.med htst01
10.241.16.102 htst02.kmc.med htst02

 

HTST01 -> / # ifconfig lan0
lan0: flags=1843<UP,BROADCAST,RUNNING,MULTICAST,CKO>
inet 10.241.16.106 netmask fffffff0 broadcast 10.241.16.111
HTST01 -> / #
HTST01 -> / # ifconfig lan1
lan1: flags=1843<UP,BROADCAST,RUNNING,MULTICAST,CKO>
inet 192.168.1.10 netmask ffffff00 broadcast 192.168.1.255

 

Server 1 :netconf":

 

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

 

INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="10.241.16.106"
SUBNET_MASK[0]="255.255.255.240"
BROADCAST_ADDRESS[0]="10.241.16.111"
INTERFACE_STATE[0]="up"
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""


INTERFACE_NAME[1]="lan1"
IP_ADDRESS[1]="192.168.1.10"
SUBNET_MASK[1]="0xffffff00"
BROADCAST_ADDRESS[1]="192.168.1.255"
INTERFACE_STATE[1]="up"
DHCP_ENABLE[1]=0
INTERFACE_MODULES[1]=""

 

ROUTE_GATEWAY[1]="10.241.16.110"
ROUTE_DESTINATION[1]="default"
ROUTE_COUNT[1]="1"

 


 

HTST02:/# ifconfig lan0
lan0: flags=1843<UP,BROADCAST,RUNNING,MULTICAST,CKO>
inet 10.241.16.102 netmask fffffff0 broadcast 10.241.16.111
HTST02:/#
HTST02:/#
HTST02:/# ifconfig lan1
lan1: flags=1843<UP,BROADCAST,RUNNING,MULTICAST,CKO>
inet 192.168.1.11 netmask ffffff00 broadcast 192.168.1.255

 

Server 2 "netconf"

 

 

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

 

ROUTE_MASK[0]=255.255.255.240
ROUTE_COUNT[0]="1"
ROUTE_DESTINATION[0]="default"
ROUTE_GATEWAY[0]="10.241.16.110"


INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="10.241.16.102"
SUBNET_MASK[0]="255.255.255.240"
BROADCAST_ADDRESS[0]="10.241.16.111"
INTERFACE_STATE[0]="up"
DHCP_ENABLE[0]="0"
INTERFACE_MODULES[0]=""


INTERFACE_NAME[1]="lan1"
IP_ADDRESS[1]="192.168.1.11"
SUBNET_MASK[1]="255.255.255.0"
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]="up"
DHCP_ENABLE[1]="0"
INTERFACE_MODULES[1]=""

 

# ping 10.241.16.10
PING 10.241.16.10: 64 byte packets

----10.241.16.10 PING Statistics----
3 packets transmitted, 0 packets received, 100% packet loss


# ping 10.241.16.33
PING 10.241.16.33: 64 byte packets

----10.241.16.33 PING Statistics----
3 packets transmitted, 0 packets received, 100% packet loss

 

 

 

Is there any network configuration on these servers which will block any IP?

 

Thanks in advance.


6 REPLIES
Patrick Wallek
Honored Contributor

Re: network issue

It is possible you have something like IPFilter running on the HP-UX servers.  I believe it is installed by default with 11.31.

 

The first I would try is to turn it off.  To do that run:

 

# /sbin/init.d/ipfboot stop

 

See this thread for how to disable it permanently:

http://h30499.www3.hp.com/t5/System-Administration/How-disable-ipfilter-on-hp-ux-11-31/td-p/4757124

Duncan Edmonstone
Honored Contributor

Re: network issue

So the 2 addresses you are attempting to ping are not in the same IP subnet as your servers (your servers are in subnet 10.241.16.96 with a host range of 10.241.16.97 - 10.241.16.110.

 

So when you ping these addresses, your servers should be routing this traffic via your default gateway, which seems to be 10.241.16.110

 

So the question is, can you ping your default gateway?


HTH

Duncan
BowlesCR
Advisor

Re: network issue

In addition to pinging your gateway, can you show us the output of `netstat -rn`?

Re: network issue

ROUTE_MASK[0]=255.255.255.240

is the difference from host01. ( I assume host01 does not have any problem and host02 has)

Just wonder if this has to be:

 

ROUTE_MASK[0]="255.255.255.240"

Maybe, you can try to remove the default gateway and the add it again manually ?

Re: network issue

# route delete default 10.241.16.110

 

will delete the route. And

 

# route add default 10.241.16.110 1

 

would add the defaut route. If this works fine for all the hosts, you can remove the line

 

ROUTE_MASK[0]=255.255.255.240

 

from netconf file.

1221
Advisor

Re: network issue

The issue is resolved after correcting the Subnet mask for the IPs.