Second LAN cannot access 1 of 2 QNAPs

Discussion about using NAS on Linux and Unix OS.
Post Reply
markpritchett
New here
Posts: 8
Joined: Thu Jun 17, 2021 5:18 pm

Second LAN cannot access 1 of 2 QNAPs

Post by markpritchett »

I have two QNAP NAS drives, a TS-459 and a TS-453A
I have two LANs, 192.168.68.xx and 192.168.8.xx

I have connected each LAN to separate NICs on the QNAPs

On the 192.168.68.xx network I can access the admin pages on each QNAP and via QNAP Finder Pro 7.5.0
On the 192.168.8.xx network I cannot access the admin page on either QNAP

The 192.168.68.xx devices are Windows, Mobile Phones, Tablets, etc
The 192.168.8.xx devices are all linux, debian and unbuntu
I have been able to create a 'share' with the TS-459 on the linux servers
I can ssh to the TS-459 from the linux servers

However, on the 192.168.8.xx network QNAP Finder Pro 7.4.2 has only discovered the TS-459 NAS
NMAP from one of the linux servers shows that SSH and HTTPS are available on TS-453A
ssh and wget fail to connect to the TS-453A.

ssh -vvv admin@192.168.8.188

OpenSSH_7.9p1 Debian-10+deb10u2, OpenSSL 1.1.1d 10 Sep 2019
debug1: Reading configuration data /home/mark/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolve_canonicalize: hostname 192.168.8.188 is address
Pseudo-terminal will not be allocated because stdin is not a terminal.
debug2: ssh_connect_direct
debug1: Connecting to 192.168.8.188 [192.168.8.188] port 22.
debug1: connect to address 192.168.8.188 port 22: Connection timed out
ssh: connect to host 192.168.8.188 port 22: Connection timed out

Any ideas, please?
markpritchett
New here
Posts: 8
Joined: Thu Jun 17, 2021 5:18 pm

Re: Second LAN cannot access 1 of 2 QNAPs

Post by markpritchett »

If I ssh to the TS-435A via the 192.168.86.xx network I can ssh to all hosts on the 192.168.8.xx network, including the TS-459A
markpritchett
New here
Posts: 8
Joined: Thu Jun 17, 2021 5:18 pm

Re: Second LAN cannot access 1 of 2 QNAPs

Post by markpritchett »

From web searches it would seem that 'Connection timed out' means that there was no listener response.

By connecting via the alternate IP address I can see

[~] # lsof 2>/dev/null | grep LISTEN | grep ssh
sshd 19739 admin 3u IPv4 72181 0t0 TCP *:ssh (LISTEN)
sshd 19739 admin 4u IPv6 72183 0t0 TCP *:ssh (LISTEN)

[~] # ip a | grep 192.168
inet 192.168.8.188/24 brd 192.168.8.255 scope global eth1
inet 192.168.68.132/24 brd 192.168.68.255 scope global eth3

Does *:ssh (LISTEN) mean that the sshd process is listening on ALL IP addresses?

The sshd config file is quite sparse
[~] # cat /etc/config/ssh/sshd_config
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
PermitRootLogin yes
UseDNS no
Subsystem sftp /usr/libexec/sftp-server
AllowTcpForwarding no
AllowUsers admin mark
fozziebeer
New here
Posts: 2
Joined: Sat Mar 27, 2021 12:33 am

Re: Second LAN cannot access 1 of 2 QNAPs

Post by fozziebeer »

I think i have similar problems.
TVS-871 running 5.0.0.1891. Problem has been with me for a while.
I have 2 physical switches, the Qnap nic1 is 192.168.54.13 (works well, see below), nic2 is 192.168.2.13 (which is very slow to respond, see below)
I've used timed showmount, and nic1 is blazing fast, and nic2 consistently takes 2min10s

Code: Select all

root@prox1:~# time showmount -e 192.168.54.13
Export list for 192.168.54.13:
/TEST *
/ProxIsos (everyone)
/ProxImages (everyone)

real 0m0.043s
user 0m0.004s
sys 0m0.018s

root@prox1:~# time showmount -e 192.168.2.13
Export list for 192.168.2.13:
/TEST *
/ProxIsos (everyone)
/ProxImages (everyone)

[b]real 2m10.053s[/b]
user 0m0.017s
sys 0m0.022s
root@prox1:~#
Post Reply

Return to “Linux & Unix (NFS)”