Operating System - HP-UX
1831657 Members
2328 Online
110029 Solutions
New Discussion

How to connect remote server for HPUX

 
Asics
Occasional Advisor

How to connect remote server for HPUX

Dear all:
My remote service is "dottest"(172.16.1.13)
If not use ping,under windows2000 enviroment telnet dottest is ok!
But under HPUX to telnet 172.16.1.13 is fail....
===================================
error message:
telnet: Unable to connect to remote host: Network is unreachable
====================================
What's happed ?
What I going to seup ?

P.S ping function is disable....

8 REPLIES 8
Sundar_7
Honored Contributor

Re: How to connect remote server for HPUX

You are probably missing a route here.
Learn What to do ,How to do and more importantly When to do ?
KapilRaj
Honored Contributor

Re: How to connect remote server for HPUX

Get us netstat -rn fropm both win2K and HPUX

Kaps
Nothing is impossible
Michael Tully
Honored Contributor

Re: How to connect remote server for HPUX

You can also try to use traceroute to your PC from your Unix system. This will hopefully pinpoint as to what 'route' is needed.

$ traceroute xx.xx.xx.xx
Anyone for a Mutiny ?
Asics
Occasional Advisor

Re: How to connect remote server for HPUX

Dear Michael:
From hpux to remote 172.16.1.13
#traceroute 172.16.1.13
traceroute to 172.16.1.13(172.16.1.13), 30 hops max, 20 byte packets
1 gce11 (172.20.1.21) 0 ms !N 0 ms !N 0 ms !N

From hpux to my pc 172.20.1.100
# traceroute 172.20.1.100
traceroute to 172.20.1.100(172.20.1.100), 30 hops max, 20 byte packets
1 172.20.1.100 (172.20.1.100) 1 ms 0 ms 0 ms

Dear kaps:
HPUX
# netstat -rn
Routing tables
Dest/Netmask Gateway Flags Use Interface Pmtu
172.20.1.21 172.20.1.21 UH 0 221941 lan0 4136
127.0.0.1 127.0.0.1 UH 0 5466 lo0 4136
172.20.1.0 172.20.1.21 U 2 0 lan0 1500
127.0.0.0 127.0.0.1 U 0 0 lo0 4136
default 172.20.1.254 UG 0 0 lan0 1500

windows2000
C:\>netstat -rn

Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 90 cc 39 80 de ...... Bluetooth PAN Driver
0x1000004 ...00 05 5d 6b 6c e4 ...... D-Link DFE-530TX PCI Fast Ethernet Adapter
(rev.C)
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.20.1.254 172.20.1.100 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
172.20.0.0 255.255.0.0 172.20.1.100 172.20.1.100 1
172.20.1.100 255.255.255.255 127.0.0.1 127.0.0.1 1
172.20.255.255 255.255.255.255 172.20.1.100 172.20.1.100 1
224.0.0.0 224.0.0.0 172.20.1.100 172.20.1.100 1
255.255.255.255 255.255.255.255 172.20.1.100 2 1
Default Gateway: 172.20.1.254
===========================================================================
Persistent Routes:
None
Naveej.K.A
Honored Contributor

Re: How to connect remote server for HPUX

In both the Win2k and HPUX your default gateway seems to be ok...
i.e. 172.16.1.254

check in /var/adm/inetd.sec of the remote server (172.16.1.13) whether there is any entry for the telnet from (172.20.1.21) to be blocked.

with best wishes
Naveej
practice makes a man perfect!!!
Naveej.K.A
Honored Contributor

Re: How to connect remote server for HPUX

To add up,

Please check up the subnet masks in all the servers (both HP boxes)
This could also create trouble

regds
Naveej
practice makes a man perfect!!!
Jim Keeble
Trusted Contributor

Re: How to connect remote server for HPUX

If your router does not respond to ping, you need to disable a feature in hp-ux called "dead gateway detection".

to do so, run "ndd -set /dev/ip ip_ire_gw_probe 0".

You have to remove and add back the route to wake it up again.

route delete default 172.20.1.254
route add default 172.20.1.254 1
I.Delic
Super Advisor

Re: How to connect remote server for HPUX

Hi,

I think your ping function is not disabled but you kan not use it as ordinay user,
You have to logon as root

sucess


Idriz