SIRIS, ALTO, and NAS: Configuring a NIC-to-NIC connection from the appliance command-line interface

Follow

Topic

This article explains how to connect a Datto device to another device through NIC to NIC connection from the Command-Line Interface (CLI) of the Datto appliance.

Environment

  • Datto SIRIS
  • Datto ALTO
  • Datto NAS

Description

The NIC to NIC connection refers to connecting the device through an auto-negotiated secondary network interface card. You can use this procedure during the NAS RoundTrip process and when doing Device Migrations, to achieve faster speeds than a standard LAN connection. 

For more information on the two scenarios, check out these articles:

Prerequisites

Before starting this procedure, confirm the following:

  • You must have the source and destination devices plugged into the LAN through their primary NICs to get outbound connectivity to Datto's monitoring servers.
    • Source Device: the device that you're transferring data from
    • Destination Device: the device that you're transferring data to
  • You have both the source and destination devices powered up.
  • The source device has an ethernet cable plugged directly into the destination device through a secondary NIC.
  • Both the source and destination devices have no corruption on the hard drives or Zpools. To verify this, run zpool status on the command line, and check the SMART status of the hard drives.
  • You must have a valid SSH connection between the source and the destination devices.

Terms to Understand

  • [sourceMainIP]: The IP address of the primary NIC on the source device. In the example below, the value is 192.168.100.102
  • [source2ndIP]: The IP address of the secondary NIC used for the NIC to NIC connection that's on a different scheme other than the [sourceMainIP]
  • [destinationMainIP]: The IP address of the primary NIC on the destination device
  • [destination2ndIP]: The IP address of the secondary NIC used for NIC connection that's on a DIFFERENT scheme than [destinationMainIP]
  • [sourceEthN]: The NIC that you are using for the NIC to NIC connection on the source device. In the example below, the value is eth1
  • [destinationEthN]: The NIC that you are using for the NIC to NIC connection on the destination device.  In the example below, the value is eth1

Procedure

This procedure requires editing network settings on your Datto device., If you are not comfortable making these changes yourself, contact Datto Technical Support for assistance.

First, you will configure the source device network settings, followed by the destination device settings.  Lastly, you will run a ping test to verify the connection.

On the Source Device:

1. Find all the NICs that are available on the device:

ifconfig -a

2. Check all NICs for connectivity (except for the primary NIC):

ethtool eth[1-N] | tail -n1

Note: [sourceEthN] represents the NIC other than the primary NIC that responds as "yes" to Link Detected

The interface may not indicate a link is detected even if you have an Ethernet cable plugged in. This happens when there is no IP assigned. In these cases, you'll need to confirm your destinationEthN has an assigned IP and test assigning IPs on the source interfaces until you find one that indicates a link is detected.

3. Find the main source IP address, shown as eth0 in the example below. Record the IP scheme for future steps:

ifconfig eth0 | grep inet

Note: The IP scheme refers to the first three octets of the IP address in a Class C subnet. For example, if the above command returns 192.168.100.102 then 192.168.100.x is the IP scheme

4. Before assigning any IPs, ensure that sourceEthN is clear of any IP assignments.

ip addr flush dev [sourceEthN]

5. Set sourceEthN to an IP scheme other than that of the primary NIC:

ip addr add [source2ndIP]/24 dev [sourceEthN]

Example: ip addr add 172.0.100.2/24 dev eth1

On the Destination Device:

1. Find all the NICs that are available on the device:

ifconfig -a

2. Check all NICs for connectivity (except for the primary NIC):

ethtool eth[1-N] | tail -n1

Note: [destinationEthN] represents the NIC other than the primary NIC that responds as "yes" to Link Detected

3. Clear destinationEthN of any IP assignments before proceeding.

ip addr flush dev [destinationEthN]

4. Set destinationEthN to an IP scheme other than that of the primary NIC.  Add an increment of 1 in the last octet from the sourceEthN:

ip addr add [destination2ndIP]/24 dev [destinationEthN]

For example: If the sourceEthN is 172.0.100.2, use the command below:

ip addr add 172.0.100.3/24 dev eth1

5. Test a ping from the destination2ndIP to the source2ndIP:

ping 172.0.100.2

On the Source Device

1. Test ping from the source2ndIP to the destination2ndIP:

ping 172.0.100.3

Next Steps

After you've completed the process and the pings work correctly, you can move forward with either the Device Migration or the NAS Roundtrip.


Was this article helpful?

2 out of 2 found this helpful

You must sign in before voting on this article.

Want to talk about it? Have a feature request?

Head on over to our Datto Community Forum or the Datto Community Online.

For more Business Management resources, see the Datto RMM Online Help and the Autotask PSA Online Help .

Still have questions? Get live help.

Datto Homepage