I thought it would be sooo easy to assign my server a static IP address, and now it can’t connect to anything except over my own network.
I’ve tried every combination of re-enabling and re-disabling DHCP that I can think of, assigning the nameservers that I see instructions to online, assigning a static IP from my router, and unplugging the server and plugging it back into the router, but nothing’s working. I tried what’s mentioned on this official doc, and I still can’t even curl ifconfig.me
.
I know I shouldn’t be asking questions like this, but I don’t know what else to ask. Can anyone walk me through fixing this? I’m using an ASUS RT-AX82U router.
What is your TrueNAS version and can you post your current network page from the GUI?
Sure, I’m on version 25.04.1. Here’s my network page right now.
Have you rebooted the router and TrueNAS?
Yeah, I’d rebooted TrueNAS a few times, and I just rebooted the router now. Still no changes. This is what I’m doing to test it, by the way:
root@truenas[~]# curl ifconfig.me
curl: (7) Failed to connect to ifconfig.me port 80 after 3073 ms: Couldn't connect to server
Just spotted it. Default Route is your own IP address. Are you on DHCP or static?
Default Gateway should be 192.168.50.1 in your Global Config settings
Mine is DHCP for the 192.168.86.xxx
1 Like
You’re a lifesaver, thank you! I remember setting something to 192.168.50.1
, but I must’ve set the nameserver to that instead of the default gateway.
Looks like this now, and outgoing traffic works. Thanks again, especially for helping me with this so quickly. 
1 Like