Configure Second Network Adapter

Don't miss a thing. Post your questions and discussion about other uncategorized NAS features here.
Post Reply
pollardd
Starting out
Posts: 28
Joined: Wed Jan 03, 2018 8:43 am

Configure Second Network Adapter

Post by pollardd » Wed Sep 11, 2019 10:09 am

Hi Guys,
I'm trying to connect a Windows Test server to the second port on my TS-431P QNAP device.
I basically want to restore large backups from the QNAP NAS to my Server without using up all the available bandwidth on my primary network.

My primary LAN is 10.2.2.x
My secondary LAN is 10.5.5.x

My Test Server has 4 ports of which only two are connected / configured. One with 10.2.2.10 and the other with 10.5.5.10
My QNAP device has 2 ports. Once is configured to use 10.2.2.23 and the other with 10.5.5.2
These two devices can see each other on the primary LAN but I want them to be able to communicate on the second LAN.

The primary LAN is still working no problem but...
I can't ping 10.5.5.2 from my test server and
I can't ping 10.5.5.10 from a telnet session on my Qnap device.
I can ping 10.2.2.23 from my test server and
I can ping 10.2.2.10 from the Qnap device

My first thought is I need to add a static route on both devices so the system knows which interface to use and not try and use the default gateway.
Here is the route table from my Windows Server
This is the static route entry I added.

Code: Select all

10.5.5.0    255.255.255.0        10.5.5.10        10.2.2.10     11

Code: Select all

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0         10.2.2.5        10.2.2.10    266
         10.2.2.0    255.255.255.0         On-link         10.2.2.10    266
        10.2.2.10  255.255.255.255         On-link         10.2.2.10    266
       10.2.2.255  255.255.255.255         On-link         10.2.2.10    266
         10.5.5.0    255.255.255.0        10.5.5.10        10.2.2.10     11
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link         10.2.2.10    266
        224.0.0.0        240.0.0.0         On-link         10.5.5.10    266
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link         10.2.2.10    266
  255.255.255.255  255.255.255.255         On-link         10.5.5.10    266
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0         10.2.2.5  Default
===========================================================================
When I do a Tracert to 10.5.5.10 on my windows server it looks out on the internet and of course fails.

When I do a traceroute on the qnap device it succeeds with a suprisingly long round trip time.
[~] # traceroute 10.5.5.10
traceroute to 10.5.5.10 (10.5.5.10), 30 hops max, 38 byte packets
1 QNAP2.campsie.local (10.5.5.2) 3000.654 ms !H 2999.518 ms !H 2999.869 ms

I have not modified the routing table on my QNAP device and this is how it looks now.
https://drive.google.com/file/d/11XwMVO ... sp=sharing
https://drive.google.com/file/d/1eKCYxz ... sp=sharing
I tried doing the pictures in line but it didn't work so here they are as links.

I have allowed ping through the windows firewall. I also tried with the firewall disabled.

Any suggestions or ideas on where I'm going wrong or what I'm missing here?

User avatar
spikemixture
Been there, done that
Posts: 683
Joined: Wed Mar 07, 2018 11:04 pm
Location: 3rd World

Re: Configure Second Network Adapter

Post by spikemixture » Thu Sep 12, 2019 12:18 pm

What r u using to copy from NAS to PC?
Qnap TS-1277 1700 - 6x8TB WD White, 2x8TB WD Red - Raid 5
Qnap TVS-1282 - 8x10TB WD White - Raid 6
Synology -1817+ - 2x10,2x8,2x6 (Ironwolf) 2x6 WD Red - SHR
Drobo 5n - 3x2TB WD Green, 2x3TB WD Red - Drobo Raid
Buffalo LinkStation - 2x2TB WD
ProBox 8 Bay USB3 - 8x4TB Seagate - JBOD
All software is updated as soon as it's available.
I give my opinion from my experience i.e. I have (or had) that piece of equipment/software and used it! :roll:

pollardd
Starting out
Posts: 28
Joined: Wed Jan 03, 2018 8:43 am

Re: Configure Second Network Adapter

Post by pollardd » Thu Sep 12, 2019 1:47 pm

I have noticed if I try and do a tracert from my Windows machine it is using the default gateway not the specified route.
So the problem seems to be on my windows machine.

C:\Users\Administrator>tracert 10.5.5.2

Code: Select all

Tracing route to 10.5.5.2 over a maximum of 30 hops
  1     7 ms     5 ms     1 ms  10.2.2.5
  2    18 ms    18 ms    18 ms  gw1.nsw.asp.telstra.net [203.45.254.1
  3     *     ^C
Has anyone come across this behaviour before?

User avatar
Toxic17
Ask me anything
Posts: 5111
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: Configure Second Network Adapter

Post by Toxic17 » Thu Sep 12, 2019 3:51 pm

you say you added this route.

Code: Select all

10.5.5.0    255.255.255.0        10.5.5.10        10.2.2.10     11

Code: Select all

Network Destination	Netmask		Gateway		Interface	Metric
10.5.5.0		255.255.255.0	10.5.5.10	10.2.2.10	11
so you have forced any 10.5.5.0 access via the 10.2.2.10 interface. are you not connecting the 10.5.5.x interfaces directly? or have you another switch?
Regards Simon

QTS 4.x User Guidex

QNAP Club Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-473-32GB QM2-2P QXG-10G1T 4.3.6.0993 • TVS-463-16GB 4.3.6.0993 QM2-2S10G1TB • TS-459 Pro 2GB 4.2.6 • TS-121 4.3.3.0998 • APC Back-UPS ES 700G •
QPKG's: TwonkyServer 8.51 • Apache73 • QSonarr 3.0.1.503 • QNBZGet 21.0 • phpMyAdmin 4.9.0.1 • Qmono 5.20.1.19 • McAfee 2.2.1 • Lychee 3.2.15 • HBS 3.0.190802 • LEgo v3.0.0
Network: VM Hub 3.0 <500/35> • UniFi USG Pro 4 • UniFi USW-16-150W • UniFi USW-8-60W • UniFi CloudKey Gen2+• UniFi G3-Flex • UAP AC Pro • UAP AC Lite • SLM2008 • Dell 7050 MFF •

Post Reply

Return to “Miscellaneous”