Different IPs for different functions

GameOverAus

Cadet
Joined
May 30, 2020
Messages
6
Probably answered before.

I'm a new user to TrueNas Scale coming from Unraid which is great but the disk performance is abysmal, after many aggrivations getting TrueNas Scale setup for shares to a Windows 10 machine which is my main, everything is working great for backup purposes.
The TrueNas pool is 4x10TB Ironwolfs in RAIDZ1

I have 2 Network cards for the 2 PC's one is a 1Gbe onboard NIC and the other is a 10Gbe PCIe card. I've worked out how to use the 10Gbe as default for transfers between the PC's which is obviously considerably quiker and that works but TrueNas cant access the internet which requires use of the 1Gbe connection. the 10Gbe is only for PC-PC. both PC's are then connected to the internet via a router

I've set the 10Gbe to use Nameserver 10.0.10.1 and a static IP address and the other is set as NameServer 2: 192.168.1.1 and is using DHCP but as i said TrueNas reports no outside access other then between the two PC's.

I'd like to setup Plex on the TrueNas server but cant search in the Apps section or check for updates as there is no internet connection

Any thoughts from the many wise men/women out there? :)
Thank you in advanced.
 

GameOverAus

Cadet
Joined
May 30, 2020
Messages
6
Oh on a side question which isn't a priority. if on the same system i tried to create a dRaid1 for testing purposes it only allows selecting a drive width of 1-3 not 4? whereas RaidZ1 allows 4.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
You can forget about DRAID until you have something like 12 disks on the low end, not worth the hassle.

How many clients are you talking about, one or two? That's going to make a big difference...
 

GameOverAus

Cadet
Joined
May 30, 2020
Messages
6
You can forget about DRAID until you have something like 12 disks on the low end, not worth the hassle.

How many clients are you talking about, one or two? That's going to make a big difference...
Just the 2 systems. 1 of which is running TrueNas, the other is running Windows 10.
atm the TrueNas has only 1 pool if that's what you are talking about.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
OK, so that's easy:
  1. Get rid of the 10.x nameserver
  2. Set your router as the default gateway on both machines
  3. Access everything on the NAS via its 10.x address
  4. Be sure that the stuff on the NAS is listening on both networks.
 

GameOverAus

Cadet
Joined
May 30, 2020
Messages
6
I might be missing something obvious, but still doesnt work, atleast for what i want to access.
Check for update errors ClientConnectError - Cannot connect to host update.ixsystems.com:443 ssl:default [Connect call failed ('136.0.77.2', 443)]: Automatic update check failed. Please check system network settings. I know there's no update, but regardless that should atleast look shouldn't it?

and the Apps section is blank, i tried changing the settings to point the V4 to 192.168.1.1 but that achieves nothing other then it sais Initializing app service and spins its wheels. I wont to install plex and using search does nothing. Heres the error

Failed to start kubernetes cluster for Applications: Cannot connect to host 127.0.0.1:6443 ssl:default [Connect call failed ('127.0.0.1', 6443)]

is that meant to be changed to 192.168.1.1? and the​

Kubernetes Settings Node Ip only allows 0.0.0.0 or 10.0.10.10​



However, the Network traffic shows movement and i can click on the links to the TrueNas Help documentation section and the IXsystems link and they work as intended.

Your help is much appreciated
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
If I read the earlier post correctly, you used DHCP for one of the NICs. This does not work. You have to use static IPs when using more than 1 IP / NIC on Unix. The reason is simple, routing. How does the server know which IP / NIC to use for external routing?
 

GameOverAus

Cadet
Joined
May 30, 2020
Messages
6
If I read the earlier post correctly, you used DHCP for one of the NICs. This does not work. You have to use static IPs when using more than 1 IP / NIC on Unix. The reason is simple, routing. How does the server know which IP / NIC to use for external routing?
Gave up, too much of a hassle. and as i said it could access the internet cause it was going to the site for documentations and IXsystems website. just couldn't get apps working that section couldn't connect to the internet. Tried Core and on the face that was so much better BUT it didn't support the Acquantia 10Gbe nic. Just a side note, the only reason i use 2 NICs is the router only supports 1Gbe at best
 
Top