Operating System - HP-UX
1753773 Members
5288 Online
108799 Solutions
New Discussion

Re: HP-UX 11.11 - Incoming connection problem

 
SOLVED
Go to solution
fire_lizard
Frequent Visitor

HP-UX 11.11 - Incoming connection problem

I have machine with fresh installed HP-UX 11.11. All seem to work well, but there is one problem - while I have no problem to ping my Ubuntu 20.04 machine, access internet etc from HP-UX machine, I cannot ping HP-UX machine itself, therefore I cannot ssh, ftp and other things. Could anyone suggest me what could I do in order to make my HP-UX machine available in the network? (I have googled and found some info about ipfilter but I cannot find any signs of ipfilter in /etc/rc.config.d)

7 REPLIES 7
Steven Schweda
Honored Contributor

Re: HP-UX 11.11 - Incoming connection problem

> I have machine with fresh installed HP-UX 11.11. [...]

   Did you configure a network interface on it?  Connected to what?
(LAN?) IP address?

> [...] I have no problem to ping my Ubuntu 20.04 machine, [...]

   Actual "ping" command and its output?  "ping my Ubuntu 20.04
machine" from _where"?  From a system on your LAN?  From the outside
world?

> [...] I cannot ping HP-UX machine itself, therefore I cannot ssh, ftp
and other things.

   "cannot" is not a useful problem description.  It does not say what
you did.  It does not say what happened when you did it.  As usual,
showing actual actions (commands) with their actual results (error
messages, LED indicators, ...) can be more helpful than vague
descriptions or interpretations.

   A clear description of what _does_ happen would be more useful
than a vague description of what does _not_ happen.  Even less valuable
would be your explanation of _why_ it does not happen.

   You "cannot ping HP-UX machine itself" from _where_?   From a system
on your LAN?  From the outside world?

> [...] therefore I cannot ssh, ftp and other things. [...]

   What happens when you try?  See "not a useful problem description
[...]", above.  Note that "ping" uses ICMP; I'd expect "ssh, ftp and
other things" to use other protocols (TCP, UDP), so an (unspecified)
"ping" failure does not justify your "therefore".

fire_lizard
Frequent Visitor

Re: HP-UX 11.11 - Incoming connection problem

First of all, sorry for not informatively describe the problem

Did you configure a network interface on it? Connected to what?
(LAN?) IP address?

Yes I did during installation. It is LAN, lanscan gives lan0 interface only, IP address is 10.0.2.15

Actual "ping" command and its output? "ping my Ubuntu 20.04
machine" from _where"? From a system on your LAN? From the outside
world?

I am pinging my Linux machine from the HP-UX machine

ping 192.168.0.102 gives the following

64 bytes from 192.168.0.102, icmp_sq=0, time=8, ms

ping community.hpe.com gives the following

64 bytes from 99.86.161.54, icmp_sq=0, time=45, ms

You "cannot ping HP-UX machine itself" from _where_? From a system
on your LAN? From the outside world?

Cannot ping from my Linux (192.168.0.102) machine

ping 10.0.2.15 gives the following:

From 10.244.232.2 icmp_seq=1 Time to live exceeded
From 10.244.232.2 icmp_seq=2 Time to live exceeded
From 10.244.232.2 icmp_seq=3 Time to live exceeded
From 10.244.232.2 icmp_seq=4 Time to live exceeded

What happens when you try? See "not a useful problem description
[...]", above. Note that "ping" uses ICMP; I'd expect "ssh, ftp and
other things" to use other protocols (TCP, UDP), so an (unspecified)
"ping" failure does not justify your "therefore".

ssh dragon@10.0.2.15 gives the following
ssh: connect to host 10.0.2.15 port 22: No route to host

(sshd is up and running on the HP-UX machine, ps -ef | grep sshd shows that)

Steven Schweda
Honored Contributor
Solution

Re: HP-UX 11.11 - Incoming connection problem

> [...] IP address is 10.0.2.15

> ping 192.168.0.102 gives the following [...]

   "10.0.2.15" and "192.168.0.102" are not in the same subnet.  What are
the subnet masks on these systems (interfaces)?  What, exactly, is
connected to what, exactly?  Are there routers between these systems?

> ping 10.0.2.15 gives the following:
> From 10.244.232.2 icmp_seq=1 Time to live exceeded

   Same questions.

> ssh: connect to host 10.0.2.15 port 22: No route to host

   Same questions.  "No route" makes sense to me with these IP
addresses.

> (sshd is up and running on the HP-UX machine, ps -ef | grep sshd shows
> that)

   Does a command like "ssh 10.0.2.15" work when run on the HP-UX
system?

> ping community.hpe.com gives the following [...]

   So, you have some kind of Internet connection?  Router?  Details?

   You seem to have a very confused/confusing network configuration,
with IP addresses all over the place.  Why?  Is this a disorganized
home-hobby network, or a disorganized commercial network, or what?

   Is there any reason that all these devices do not all have IP
addresses on a common subnet, like, say, "192.168.0.0/24"?  My guess is
that you have a basic network-configuration problem, not an HP-UX
problem.

fire_lizard
Frequent Visitor

Re: HP-UX 11.11 - Incoming connection problem

ssh is worked on HP-UX machine right after installation, it was network configuration issue as you said. Thank you very much for your help and time.

Alen1
Occasional Visitor

Re: HP-UX 11.11 - Incoming connection problem

 
Alen1
Occasional Visitor

Re: HP-UX 11.11 - Incoming connection problem

1

Alen1
Occasional Visitor

Re: HP-UX 11.11 - Incoming connection problem

write great!