TrueNAS Apps, TrueCharts Apps and metalLB

SlackerDude

Explorer
Joined
Feb 1, 2014
Messages
76
Hello everyone,

I have a question regarding my new NAS setup using TrueScale. I have already installed TrueNAS apps like Plex and Sonarr, but I noticed that they can only be accessed using the host NAS IP address and a unique port number, which works fine for LAN access.

However, I've been looking into the metalLB Truecharts app and it seems to provide the ability to assign unique network IP addresses to apps. So my question is: can I assign unique IP addresses to my TrueNAS apps without having to replace them with TrueCharts versions, or do I need to install the TrueCharts metalLB app and replace each of the TrueNAS apps I have installed? Any help would be appreciated.
 

DaSnipe

Explorer
Joined
Jun 26, 2021
Messages
86
The TrueNAS apps use NodePort and don't use the LoadBalancer, you'd have to use TrueCharts apps. It's not so bad
 

SlackerDude

Explorer
Joined
Feb 1, 2014
Messages
76
This is good to know. Thank you for your response. I need to research more to determine whether I should install the two MetalLB apps before replacing the other TrueNAS apps with TrueCharts versions.
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
have you got any further with this investigation? I just installed Truenas Scale today and I'm running into the same issue. can't find a good tutorial to assign lan ips to my apps.
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
thank you
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
I followed this step by step. still getting plex getting the same truenas host ip.
1708352497293.png


my lan gw is 192.16.10.1
outside dhcp i have 10.7-10.20 /24
1708352553846.png




1708352583684.png


there is definitely something wrong as my metallb is crasing every 5 minutes.
 

SlackerDude

Explorer
Joined
Feb 1, 2014
Messages
76
I followed this step by step. still getting plex getting the same truenas host ip.
View attachment 75846

my lan gw is 192.16.10.1
outside dhcp i have 10.7-10.20 /24
View attachment 75847



View attachment 75848

there is definitely something wrong as my metallb is crasing every 5 minutes.
I think your issue may be with the Address Pool Entry. In my case, my firewall/gateway's (pfSense) Primary Address Pool looks like this:
Subnet - 10.10.5.0/24
Subnet Range - 10.10.5.1 - 10.10.5.254
Address Pool Range - From 10.10.5.200 To 10.10.5.254

The metalLB address pool entry must be outside the range of what your normal DHCP server hands out:
metalLB config Address Pool Entry - 10.10.5.4-10.10.5.199

Any TrueCharts app you are installing will then get the lowest unassigned IP address in metalLB's pool, the next app will get the next available IP address, etc. You can, of course, assign the IP address yourself if you want to exercise a bit of control.

I hope this helps you.
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
My address pool is 172.16.10.50-172.16.10.55/24
all the rest are static mac mappings.
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
fixed. thank you
 

SlackerDude

Explorer
Joined
Feb 1, 2014
Messages
76
I am interested in learning what your fix was. I think I may have misread the description of your issue and went into the weeds with my response. Sorry for that.
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
If you need any further help with any of our charts, including MetalLB, be sure to file a support ticket :)
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
I'm not using metalLB anymore. the container I needed to link to one vlan that routes the traffic via vpn I directly connected to VPN via wireguard
 
Top